From 20f615aa5a3fb3e35e8324f8c5c94ed6e493986f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Tue, 11 Nov 2025 05:49:43 +0100 Subject: [PATCH] css rules for showing section links --- themes/default.css | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/themes/default.css b/themes/default.css index 4d70089..7212f29 100644 --- a/themes/default.css +++ b/themes/default.css @@ -50,6 +50,23 @@ footer .menu { display: inline-block; } +article h1 > a.anchor, article h2 > a.anchor, +article h3 > a.anchor, article h4 > a.anchor, +article h5 > a.anchor, article h6 > a.anchor { + margin-left: .375em; + color: #DDF; +} +article h1:hover > a.anchor, article h2:hover > a.anchor, +article h3:hover > a.anchor, article h4:hover > a.anchor, +article h5:hover > a.anchor, article h6:hover > a.anchor { + color: #4AF; +} +article h1 > a.anchor:after, article h2 > a.anchor:after, +article h3 > a.anchor:after, article h4 > a.anchor:after, +article h5 > a.anchor:after, article h6 > a.anchor:after { + content: "#"; +} + header .menu, footer .menu { list-style: none; } -- 2.39.5