Fixed navbar

This commit is contained in:
spikecodes 2021-01-07 10:46:00 -08:00
parent 6e8cf69227
commit 59a34a0e85

View File

@ -36,6 +36,10 @@ nav {
padding: 5px 15px; padding: 5px 15px;
font-size: 20px; font-size: 20px;
min-height: 40px; min-height: 40px;
position: fixed;
width: calc(100% - 30px);
top: 0;
z-index: 1;
} }
nav * { color: var(--text); } nav * { color: var(--text); }
@ -53,7 +57,7 @@ main {
justify-content: center; justify-content: center;
max-width: 1000px; max-width: 1000px;
padding: 10px 20px; padding: 10px 20px;
margin: 20px auto; margin: 60px auto 20px auto
} }
#column_one { #column_one {
@ -751,12 +755,13 @@ td, th {
main { main {
flex-direction: column-reverse; flex-direction: column-reverse;
padding: 10px; padding: 10px;
margin: 10px 0; margin: 100px 0 10px 0;
} }
nav { nav {
flex-direction: column; flex-direction: column;
padding: 10px; padding: 10px;
width: calc(100% - 20px);
} }
aside, #subreddit, #user { aside, #subreddit, #user {