Make navbar sticky

This commit is contained in:
Sonny Bakker 2021-03-03 22:13:11 +01:00
parent d54c4d6873
commit 3528ffcc8c
2 changed files with 4 additions and 1 deletions

View file

@ -6,6 +6,9 @@
padding: 10px 0; padding: 10px 0;
width: 100%; width: 100%;
position: sticky;
top: 0;
background-color: var(--lightest-accent-color); background-color: var(--lightest-accent-color);
ol { ol {

View file

@ -5,7 +5,7 @@
align-self: start; align-self: start;
position: sticky; position: sticky;
top: 5%; top: 50px;
width: 20%; width: 20%;