Better figure styling

Figures will have margins on the left and right sides by default, unless
explicitly denoted "inline".  The caption will also be a lighter typeface
rather than bold.  When the figure caption appears at the bottom, it will
have a top border.
master
Mike Gerwitz 2019-08-10 19:57:10 -04:00
parent 61b80c516f
commit f5567fc8c5
Signed by: mikegerwitz
GPG Key ID: 8C917B7F5DC51BA2
1 changed files with 9 additions and 1 deletions

View File

@ -396,10 +396,18 @@ article section.footnotes {
}
article figure {
margin: 0 2em;
}
article figure.inline {
margin: 0;
}
article figure > figcaption {
font-weight: bold;
font-weight: lighter;
font-size: 0.9em;
}
article figure > figcaption:last-child {
border-top: 1px solid black;
margin-top: 1em;
}