fix figcaption styling

This commit is contained in:
rhiannon morris 2024-09-26 15:57:30 +02:00
parent 947d4ed983
commit 628a8b3548

View file

@ -373,14 +373,13 @@ figure li {
figcaption { figcaption {
font-size: 80%; font-size: 80%;
line-height: 125%;
font-style: italic; font-style: italic;
margin: 0 auto; margin: 0 auto;
} }
:not(.floating) > figcaption { :not(.floating) > figcaption {
width: 75%; width: 75%;
} }
figcaption:first-child { margin-bottom: 0.5em; }
figcaption:last-child { margin-top: 0.5em; }
dt { dt {
font-weight: 500; font-weight: 500;