styling on anchor links for headings

This commit is contained in:
Lewis Wynne 2026-04-29 02:23:53 +01:00
parent 949ad2fa29
commit 6ddb78e668
2 changed files with 11 additions and 0 deletions

View file

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

View file

@ -0,0 +1 @@
<a class="anchor" href="#{{ id }}" aria-hidden="true">#</a>