From: Paul Hänsch Date: Tue, 11 Nov 2025 04:49:43 +0000 (+0100) Subject: css rules for showing section links X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=20f615aa5a3fb3e35e8324f8c5c94ed6e493986f;p=shellwiki css rules for showing section links --- 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; }