[site] fix: anchor offset

when navigating through an anchor
This commit is contained in:
Eugene Orlov
2023-06-06 15:22:02 -05:00
committed by Umputun
parent 8cbcff98ec
commit d1c1664a38
2 changed files with 15 additions and 1 deletions
+14
View File
@@ -193,3 +193,17 @@
.token.space:before {
color: #3c526d;
}
.header-anchor {
pointer-events: none;
}
.header-anchor::before {
content: '';
display: block;
height: 75px;
margin-top: -75px;
visibility: hidden;
}
.header-anchor:focus-visible {
outline: none;
}