Skip to content

Commit

Permalink
fixed media queries for mobile size to make sure button looked okay
Browse files Browse the repository at this point in the history
  • Loading branch information
bbland1 committed Oct 10, 2024
1 parent c2dddbc commit 84b4401
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions src/components/NavBar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@

text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);

@media (max-width: 391px) {
@media (max-width: 430px) {
font-size: 3rem !important;
}
@media (max-width: 345px) {
@media (max-width: 375px) {
font-size: 2.5rem !important;
}
}
Expand Down Expand Up @@ -40,15 +40,21 @@
color: $primary-beige;
font-weight: bold;
border: none;
font-size: 1.5rem;
text-align: center;
border: none;
padding: 0.5rem;
width: 11rem;

&:hover {
background-color: $primary-beige;
color: $secondary-blue;
font-weight: bolder;
}

@media (min-width: 431px) {
font-size: 1.5rem;
text-align: center;
border: none;
padding: 0.5rem;
width: 11rem;
}

@media (max-width: 430px) {
background-color: $primary-beige;
}
}

0 comments on commit 84b4401

Please sign in to comment.