From 6ddb78e6685f4a5b344c4e6be3119ca749aaeb7f Mon Sep 17 00:00:00 2001 From: lew Date: Wed, 29 Apr 2026 02:23:53 +0100 Subject: [PATCH] styling on anchor links for headings --- static/style.css | 10 ++++++++++ templates/anchor-link.html | 1 + 2 files changed, 11 insertions(+) create mode 100644 templates/anchor-link.html diff --git a/static/style.css b/static/style.css index fb01974..ddf7c44 100644 --- a/static/style.css +++ b/static/style.css @@ -43,3 +43,13 @@ code { padding: 0.1em 0.3em; border-radius: 3px; } + +.anchor { + text-decoration: none; + margin-right: 0.3em; + opacity: 0.3; +} + +.anchor:hover { + opacity: 1; +} diff --git a/templates/anchor-link.html b/templates/anchor-link.html new file mode 100644 index 0000000..86d577c --- /dev/null +++ b/templates/anchor-link.html @@ -0,0 +1 @@ +