Skip to content

Commit

Permalink
add additional menu styling
Browse files Browse the repository at this point in the history
  • Loading branch information
floshin committed Oct 10, 2024
1 parent e96ac9f commit 9cee871
Showing 1 changed file with 25 additions and 2 deletions.
27 changes: 25 additions & 2 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -338,9 +338,25 @@ label[for="menu-toggle"] {
justify-content: center;
padding: 0 2em;
}

.menu {
margin-bottom: 2em;
margin-bottom: 2em;
background: #000000e0;
z-index: 2;
}

.menu header {
overflow: hidden;
height: 338px;
width: unset;
padding-bottom: 0;
}

header img {
margin: 0;
/*margin-left: calc(50vw - 160px);*/
position: relative;
top: 43px;
}

label[for="menu-toggle"] {
Expand Down Expand Up @@ -386,5 +402,12 @@ label[for="menu-toggle"] {
top: 430px;
margin-top: 0;
}
}

@supports (backdrop-filter: blur(10px)) {
.menu,
label[for="menu-toggle"] {
backdrop-filter: blur(10px);
background: #000000dd;
}
}

0 comments on commit 9cee871

Please sign in to comment.