Add some styling for in-page links

This commit is contained in:
arne 2022-10-04 09:23:59 +02:00
commit 68f94b4ab0

View file

@ -259,6 +259,25 @@ footer {
} }
} }
} }
// in-page-links
article {
a[href^="#"] {
color: $alternative-links;
&:hover {
background: $alternative-links-1;
}
&:not(.footnote-ref a):not(.footnote-backref) {
&:before {
content: '#';
padding-right: .3em;
opacity: .3
}
}
}
}
} }
footer { footer {