diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2025-12-27 17:59:07 +0200 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2025-12-27 18:05:35 +0200 |
| commit | 73b45c58b974a3e709a0188b92cf62ed76345875 (patch) | |
| tree | c3c9875ee49b9150b3cb75b18f0066953a5b5a52 | |
| parent | c5ed33887985d880e88a44b3be3f3516656c63de (diff) | |
Improve styles further
| -rw-r--r-- | static/style.css | 18 | ||||
| -rw-r--r-- | 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 @@ <div id="dark-mode-btn"></div> </div> <nav> - <a href="/archive">archive</a> + <a href="/archive/">archive</a> <span aria-hidden="true"> • </span> <a href="/linklog">linklog</a> <span aria-hidden="true"> • </span> |
