[S] Style markdown figure

This commit is contained in:
Azalea Gui
2023-03-09 17:14:17 -05:00
parent 6ebd786b7c
commit d613ac62aa
+26 -4
View File
@@ -178,22 +178,44 @@ html
font-size: 1.5em
margin-top: 1em
h1, h2
line-height: 1.3
margin-bottom: 0.25em
padding: 0
h2
font-size: 1.3em
h3
font-size: 1.2em
p
font-size: 0.9em
margin: 0.5em 0
font-size: 1em
margin: 0.7em 0
line-height: 1.6
p:last-child
margin-bottom: 0
li
font-size: 0.9em
font-size: 1em
margin-bottom: 0.25em
figure
margin: 0
img
width: calc(100% + 20px)
margin-left: -10px
margin-right: -10px
border-radius: 10px
object-fit: cover
max-height: 500px
caption
display: flex
width: 100%
justify-content: center
align-items: center
font-size: 0.8em
color: $color-text-light