Sticky all nav

This commit is contained in:
Edgar P. Burkhart 2023-04-18 14:06:56 +02:00
parent c912343442
commit 9fd41851bc
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

View file

@ -74,7 +74,11 @@ main {
nav {
grid-column: 1;
grid-row: 1;
min-height: 100vh;
height: 100vh;
position: sticky;
top: 0;
padding: 2rem;
background: var(--bg-01);
line-height: 2rem;
@ -90,8 +94,7 @@ nav h1 img {
nav ul {
list-style: none;
padding: 0;
position: sticky;
top: 2rem;
position: relative;
}
nav .skip-link {
opacity: .1;