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); }