From 73b45c58b974a3e709a0188b92cf62ed76345875 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Sat, 27 Dec 2025 17:59:07 +0200 Subject: Improve styles further --- static/style.css | 18 +++++++++++++----- template.html | 2 +- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/static/style.css b/static/style.css index 2a828a5..2e016e7 100644 --- a/static/style.css +++ b/static/style.css @@ -219,18 +219,22 @@ img { figure { max-width: 100%; padding: 0; - margin: 10px 0; + margin: 20px 0; display: block; + border: 1px solid var(--p-color); } figure img { - margin: 10px 0; + margin: 0; + border-bottom: 1px solid var(--p-color); } figure figcaption { - /* Hide from non-screen-reader users */ - opacity: 0; - height: 0; + font-style: italic; + text-align: center; + margin: 7px auto 15px; + width: 70%; + color: var(--blockquote-color); } hr { @@ -339,6 +343,10 @@ table { margin: 20px 0 30px; } +table tr { + border-bottom: 1px dotted var(--p-color); +} + p { margin: 20px 0; line-height: 1.5; diff --git a/template.html b/template.html index 0edd822..b78bd14 100644 --- a/template.html +++ b/template.html @@ -76,7 +76,7 @@