feat: Skip to content link

This commit is contained in:
daudix
2024-02-04 00:32:33 +03:00
parent 2d5a0f0c7b
commit e4246c69b8
6 changed files with 74 additions and 65 deletions

View File

@ -44,7 +44,7 @@ body {
// Make focused anchor not get covered by nav,
// and flash it with primary color when jumping to it
:target {
:target:not(#main) {
scroll-margin-top: 15vh;
animation: var(--transition-long) 1s highlight-in-out;
color: var(--primary-color);