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
parent
61b80c516f
commit
f5567fc8c5
10
style.css
10
style.css
|
@ -396,10 +396,18 @@ article section.footnotes {
|
||||||
}
|
}
|
||||||
|
|
||||||
article figure {
|
article figure {
|
||||||
|
margin: 0 2em;
|
||||||
|
}
|
||||||
|
article figure.inline {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
article figure > figcaption {
|
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue