Skip to content

Commit

Permalink
fix: resolution fixes on prize
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanlo411 committed Feb 27, 2024
1 parent 93ae4f7 commit c7cb02d
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,9 @@ section h2 {
margin: 2rem auto;
}
#about img {
width: 15%;
max-width: 15%;
height: auto;
object-fit: contain;
}
#about h3 {
font-size: 2.5rem;
Expand Down Expand Up @@ -256,6 +257,7 @@ section h2 {
background-position: center;
background-size: contain;
position: relative;
background-color: white;
}
.img .triangle {
position: absolute;
Expand Down Expand Up @@ -348,6 +350,18 @@ footer #icon-row {
}


/* --- Varying Adjustments for Prize Heights --- */
@media only screen and (min-width: 1000px) and (max-width: 1500px) {
#prize-row {
margin-top: 8rem;
}

.round-place {
top: -60px;
font-size: 1rem;
}
}

/* --- Mobile View --- */
@media only screen and (max-width: 1000px) {
/* Adjusted Nav */
Expand Down Expand Up @@ -492,7 +506,6 @@ footer #icon-row {
background-position: center;
background-size: contain;
position: relative;
background-color: white;
}
.img .triangle {
position: absolute;
Expand Down

0 comments on commit c7cb02d

Please sign in to comment.