From f5567fc8c595c9fd8e2401e9cd66f0db3cca16ee Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Sat, 10 Aug 2019 19:57:10 -0400 Subject: [PATCH] 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. --- style.css | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/style.css b/style.css index d0fcae3..7be8a3d 100644 --- a/style.css +++ b/style.css @@ -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; }