From b575d41e0a9de911842d3e88d764754e2f7610ca Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Thu, 28 Mar 2024 16:21:56 +0200 Subject: Only show link underlines on hover, improve figcaption positioning" --- static/style.css | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/static/style.css b/static/style.css index 2e5d84d..95ea26c 100644 --- a/static/style.css +++ b/static/style.css @@ -76,6 +76,11 @@ html { a, a:visited { color: var(--link-color); + text-decoration: none; +} + +a:hover { + text-decoration: underline !important; } blockquote { @@ -109,10 +114,6 @@ blockquote { font-weight: 700; } -.page-title:hover { - text-decoration: underline; -} - code { padding: 8px 10px; background-color: var(--code-bg-color); @@ -147,11 +148,11 @@ figure { } figure img { - margin-bottom: 10px; + margin: 10px 0; } figure figcaption { - margin-bottom: 10px; + margin: -10px 0 10px; color: var(--blockquote-color); } -- cgit v1.3