From 301ffe94e8326b49d7091626027b045d41eb2dfc Mon Sep 17 00:00:00 2001 From: Michal Vanko Date: Wed, 21 Apr 2021 18:41:00 +0200 Subject: [PATCH] Make figure look good --- static/global.css | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/static/global.css b/static/global.css index 6d133a1..b3b91ec 100644 --- a/static/global.css +++ b/static/global.css @@ -68,7 +68,7 @@ pre { color: #464646; text-shadow: 0 1px white; text-align: left; - white-space: pre; + white-space: pre-line; word-spacing: normal; word-break: normal; word-wrap: normal; @@ -83,6 +83,16 @@ pre { hyphens: none; } +figure { + margin: 1em 0.5em; +} + +figcaption { + font-size: 0.7em; + padding: 0 1em; + font-style: italic; +} + blockquote { margin: 0.2em; border-left: 2px solid #2d3935;