Skip to content

Commit

Permalink
even better menu bar
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMarstonConnell committed Jul 17, 2024
1 parent cbc40bc commit c21e68f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions gen/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ html, body {
justify-content: space-between;
align-items: flex-end;

padding-left: calc(24px + 1rem);
padding-left: 16px;
padding-right: 100px;
}

Expand Down Expand Up @@ -96,8 +96,8 @@ html, body {
padding-bottom: 64px;
}

#page > p {
margin-bottom: 36px;
#page > h2 {
margin-top: 36px;
}

#navbar > li, #navbar > ul {
Expand Down
14 changes: 7 additions & 7 deletions gen/styles/layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
#menu {
display: none;
position: absolute;
right: calc(24px + 1rem);
top: 1.75rem;
right: 16px;
top: 1rem;

background-color: #00000000;
border: none;
padding-top: 4px;
padding-bottom: 4px;
font-size: 32px;
font-size: 24px;
color: var(--background);
width: min-content;
}
Expand Down Expand Up @@ -40,7 +40,7 @@
#navbar {
box-sizing: border-box;
position: absolute;
top: 5rem;
top: 3.95rem;
left: 0;
width: 100vw;
height: 0vh;
Expand All @@ -61,7 +61,7 @@
color: var(--text);
}
#navbar.open {
height: calc(100vh - 5rem);
height: calc(100vh - 3.95rem);
overflow-y: scroll;
}
#navbar.open > *:last-child {
Expand All @@ -76,7 +76,7 @@
padding-left: 0px;
padding-right: 0px;

padding-top: 96px;
padding-top: 68px;

margin-left: auto;
margin-right: auto;
Expand All @@ -90,7 +90,7 @@
top: 0px;
left: 0px;
width: 100vw;
height: 80px;
height: 4rem;
}

}
Expand Down

0 comments on commit c21e68f

Please sign in to comment.