mobile menu fixes

This commit is contained in:
Alex 2026-06-05 11:10:00 -07:00
parent 7f1d17ee09
commit eee51de682
3 changed files with 62 additions and 15 deletions

View file

@ -66,7 +66,7 @@
}
&.open {
right: calc(1/3 * 100% + 1rem);
right: 200px;
}
}
}
@ -84,9 +84,11 @@
padding: 0;
transition: right 200ms ease;
background-color: colors.$primaryYellow;
&.open {
right: 1rem;
right: 0;
}
@media screen and (min-width: 600px) {
@ -94,19 +96,28 @@
position: relative;
top: unset;
right: unset;
background-color: unset;
}
list-style: none;
li {
display: block;
padding: 5px 10px;
a {
display: block;
font-family: AtomicAge-Regular;
color: colors.$primaryYellow;
color: colors.$primaryWhite;
font-size: 1.5rem;
text-decoration: none;
padding-bottom: 2px;
@media (min-width: 600px) {
color: colors.$primaryYellow;
}
&:hover {
border-bottom: 2px solid colors.$primaryYellow;
padding-bottom: 0;
@ -140,9 +151,13 @@
display: flex;
min-height: 100vh;
justify-content: center;
align-items: center;
align-items: flex-start;
width: 100%;
@media (min-width: 600px) {
align-items: center;
}
.computer {
display: block;
max-width: 800px;
@ -152,12 +167,17 @@
background-color: colors.$primaryBlack;
border: 2rem solid colors.$computerBorder;
padding: 1rem 1rem;
box-shadow: 0 0 5px 10px rgba(29, 31, 32, 0.45);
margin-top: 5rem;
@media (min-width: 600px) {
margin-top: -2rem;
}
.heading {
margin: 0;
font-size: 1rem;
font-size: 0.85rem;
font-family: Montserrat-Light;
color: colors.$primaryYellow;
position: relative;
@ -206,7 +226,7 @@
opacity: 0;
animation: showText 0.1s forwards;
animation-delay: 1s;
font-size: 1rem;
font-size: 0.95rem;
color: colors.$primaryYellow;
@media screen and (min-width: 600px) {
@ -252,7 +272,7 @@
}
a {
font-size: 1rem;
font-size: 0.95rem;
color: colors.$primaryYellow;
cursor: pointer;