From 6c268aa8297809fd89a795f463f6dd3e6179ca1a Mon Sep 17 00:00:00 2001 From: luxick Date: Tue, 28 Apr 2026 17:49:00 +0200 Subject: [PATCH] Adjust anchor icon style --- assets/anchors.js | 2 +- assets/style.css | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/anchors.js b/assets/anchors.js index 762e7af..437c808 100644 --- a/assets/anchors.js +++ b/assets/anchors.js @@ -5,7 +5,7 @@ a.href = '#' + h.id; a.className = 'heading-anchor'; a.setAttribute('aria-label', 'Link to this section'); - a.textContent = 'ยง'; + a.textContent = '#'; h.insertBefore(a, h.firstChild); }); }()); diff --git a/assets/style.css b/assets/style.css index fcfa167..fd78257 100644 --- a/assets/style.css +++ b/assets/style.css @@ -234,12 +234,12 @@ main { max-width: 100%; } -.heading-anchor { +.content a.heading-anchor { color: var(--text-muted); margin-right: 0.4em; font-weight: normal; } -.heading-anchor:hover { +.content a.heading-anchor:hover { color: var(--primary-hover); }