Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Gerwitz <mtg@gnu.org>2019-08-10 19:57:10 -0400
committerMike Gerwitz <mtg@gnu.org>2020-03-31 23:48:19 -0400
commitf5567fc8c595c9fd8e2401e9cd66f0db3cca16ee (patch)
tree33161836470e03543ca6369a339b8680423f3ff5
parent61b80c516ffac881d99d486c989d0deeb80c822b (diff)
downloadthoughts-f5567fc8c595c9fd8e2401e9cd66f0db3cca16ee.tar.gz
thoughts-f5567fc8c595c9fd8e2401e9cd66f0db3cca16ee.tar.bz2
thoughts-f5567fc8c595c9fd8e2401e9cd66f0db3cca16ee.zip
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.
-rw-r--r--style.css10
1 files changed, 9 insertions, 1 deletions
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;
}