Adjust anchor icon style

This commit is contained in:
2026-04-28 17:49:00 +02:00
parent adbe10fa41
commit 2d0ab6ae0e
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
a.href = '#' + h.id; a.href = '#' + h.id;
a.className = 'heading-anchor'; a.className = 'heading-anchor';
a.setAttribute('aria-label', 'Link to this section'); a.setAttribute('aria-label', 'Link to this section');
a.textContent = '§'; a.textContent = '#';
h.insertBefore(a, h.firstChild); h.insertBefore(a, h.firstChild);
}); });
}()); }());
+2 -2
View File
@@ -234,12 +234,12 @@ main {
max-width: 100%; max-width: 100%;
} }
.heading-anchor { .content a.heading-anchor {
color: var(--text-muted); color: var(--text-muted);
margin-right: 0.4em; margin-right: 0.4em;
font-weight: normal; font-weight: normal;
} }
.heading-anchor:hover { .content a.heading-anchor:hover {
color: var(--primary-hover); color: var(--primary-hover);
} }