Skip to content

Commit

Permalink
fixed homepage for mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
cmwharff committed Sep 17, 2024
1 parent 6a36e02 commit 02a61a0
Show file tree
Hide file tree
Showing 2 changed files with 595 additions and 122 deletions.
17 changes: 11 additions & 6 deletions src/lib/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,22 @@

@media (max-width: 320px) {
body {
background-size: 20%;
background-image: url("/img/shell overlay repeating.svg");
background-repeat: repeat-y;
}
}

@media (min-width: 321px) and (max-width: 768px) {

@media (min-width: 321px) and (max-width: 860px) {
body {
background-image: url("/img/shell overlay repeating.svg");
background-repeat: repeat-y;
}
}

@media (min-width: 769px) and (max-width: 1000px) {

@media (min-width: 861px) and (max-width: 1000px) {
body {
background-image: url("/img/home_3.jpg");
}
}

@media (min-width: 1001px) {
Expand All @@ -37,7 +43,6 @@ body {
margin: 0;
min-height: 100vh;
background-size: 100%;
background-repeat: no-repeat;
background-color: #121B21;
color: white;
font-family: 'Interstate', monospace;
Expand Down
Loading

0 comments on commit 02a61a0

Please sign in to comment.