Skip to content

Commit

Permalink
Added more mobile styling for banner (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
Devon-White authored Mar 14, 2024
1 parent 779aabb commit 267a0db
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions static/styles/bannerica.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,14 @@
background-repeat: no-repeat; /* Ensure the background image is not repeated */
}

@media screen and (max-width: 600px) {
@media screen and (max-width: 900px) {
#bannerica {
height: 20vh;
height:0;
padding-top: calc(1312 / 4687 * 100%);
}
#bannerica::before {
content: "";
display: block;
padding-top: calc(1312 / 4687 * 100%);
}
}

0 comments on commit 267a0db

Please sign in to comment.