Skip to content

Commit 3e748ba

Browse files
committed
style: define figucaption and img in figure
1 parent 35fcb74 commit 3e748ba

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

src/styles/globals.scss

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,5 +252,15 @@ figure {
252252
width: auto;
253253
margin: 0;
254254
}
255+
figcaption {
256+
margin-top: 0.9em;
257+
text-align: center;
258+
font-size: map.get(variables.$font-size, normal);
259+
opacity: 0.7;
260+
line-height: 1rem;
261+
}
262+
img {
263+
border-radius: 0.3em;
264+
}
255265
}
256266

0 commit comments

Comments
 (0)