fixing jump to main content

This commit is contained in:
Hamid Reza Mohammadi 2026-09-02 08:28:08 +03:30
parent 537ac26cb3
commit 629cddecbc

View File

@ -3027,3 +3027,11 @@ mark {
-webkit-text-fill-color: var(--lapis); -webkit-text-fill-color: var(--lapis);
text-decoration: underline; text-decoration: underline;
} }
/* leaves room above #after-bio so the sticky/pinned #main-navbar (~60-70px,
38px circled icon buttons + padding/border) doesn't cover the target when
jumping there via the menu-icon button - harmless when the navbar isn't
pinned too, just a bit of extra breathing room above the content */
#after-bio {
scroll-margin-top: 50px;
}