[S] Style markdown figure
This commit is contained in:
+26
-4
@@ -178,22 +178,44 @@ html
|
|||||||
font-size: 1.5em
|
font-size: 1.5em
|
||||||
margin-top: 1em
|
margin-top: 1em
|
||||||
|
|
||||||
h1, h2
|
|
||||||
line-height: 1.3
|
line-height: 1.3
|
||||||
margin-bottom: 0.25em
|
margin-bottom: 0.25em
|
||||||
padding: 0
|
padding: 0
|
||||||
|
|
||||||
|
h2
|
||||||
|
font-size: 1.3em
|
||||||
|
|
||||||
h3
|
h3
|
||||||
font-size: 1.2em
|
font-size: 1.2em
|
||||||
|
|
||||||
p
|
p
|
||||||
font-size: 0.9em
|
font-size: 1em
|
||||||
margin: 0.5em 0
|
margin: 0.7em 0
|
||||||
line-height: 1.6
|
line-height: 1.6
|
||||||
|
|
||||||
p:last-child
|
p:last-child
|
||||||
margin-bottom: 0
|
margin-bottom: 0
|
||||||
|
|
||||||
li
|
li
|
||||||
font-size: 0.9em
|
font-size: 1em
|
||||||
margin-bottom: 0.25em
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user