fix anchor links (#754)

This commit is contained in:
Philip Molares 2020-11-15 21:23:24 +01:00 committed by GitHub
parent 325b9b40b1
commit 62d95a5704
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,13 +19,18 @@
width: unset; width: unset;
} }
a.heading-anchor { h1, h2, h3, h4, h5, h6 {
margin-left: -1.25em; a.heading-anchor {
font-size: 0.75em; margin-left: -1.25em;
margin-top: 0.25em; font-size: 0.75em;
opacity: 0; margin-top: 0.25em;
opacity: 0;
&:hover { &:hover {
opacity: 1;
}
}
&:hover a.heading-anchor {
opacity: 1; opacity: 1;
} }
} }