1
0

Sticky sidebar

This commit is contained in:
Emil Miler 2022-12-08 10:41:49 +01:00
parent de2c2497b3
commit 0482cbe6b6

View File

@ -77,6 +77,9 @@ header {
} }
nav { nav {
position: sticky;
align-self: start;
top: 2em;
margin-bottom: 4rem; margin-bottom: 4rem;
span.title { span.title {
@ -207,6 +210,7 @@ a {
.grid { grid-template-columns: auto } .grid { grid-template-columns: auto }
nav { nav {
position: initial;
ul { display: none } ul { display: none }
ul.main { ul.main {
display: flex; display: flex;