This commit is contained in:
Greg Korba
2024-03-18 21:03:17 +01:00
committed by GitHub
3 changed files with 15 additions and 2 deletions

View File

@ -1,3 +1,16 @@
/* See: https://github.com/adityatelange/hugo-PaperMod/pull/979#issuecomment-1654974106 */
html.header-sticky {
scroll-padding-top: calc(var(--header-height) * 2);
}
header.header-sticky {
position: sticky;
top: 0;
width: 100%;
background: var(--theme);
z-index: 1000;
}
.nav {
display: flex;
flex-wrap: wrap;