styling on anchor links for headings
This commit is contained in:
parent
949ad2fa29
commit
6ddb78e668
2 changed files with 11 additions and 0 deletions
|
|
@ -43,3 +43,13 @@ code {
|
||||||
padding: 0.1em 0.3em;
|
padding: 0.1em 0.3em;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.anchor {
|
||||||
|
text-decoration: none;
|
||||||
|
margin-right: 0.3em;
|
||||||
|
opacity: 0.3;
|
||||||
|
}
|
||||||
|
|
||||||
|
.anchor:hover {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
|
||||||
1
templates/anchor-link.html
Normal file
1
templates/anchor-link.html
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
<a class="anchor" href="#{{ id }}" aria-hidden="true">#</a>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue