fix link to heading not hide the heading behind the header

This commit is contained in:
Philip Ahlqvist 2024-01-25 23:25:41 +01:00 committed by pigges
parent ab055d9f49
commit 9ef0749f98

View file

@ -41,7 +41,9 @@
box-sizing: border-box;
}
*:target{ padding-top: 100px;margin-top: -100px}
*:target{
scroll-margin-top: calc(var(--nav-height) + 1em);
}
html {
font-family: 'Roboto', sans-serif;