Skip to content

Commit

Permalink
add support for phone
Browse files Browse the repository at this point in the history
  • Loading branch information
Weile-Zheng committed Sep 15, 2024
1 parent 6913802 commit 02e30d2
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,15 @@
margin-bottom: 6%;
height: 90vh;
}

/* Media query for phones */
@media (max-width: 500px) {
.hero {
padding-top: 25%;
padding-bottom: 40%;
margin-bottom: 20%;
height: 90vh;
}
}
.gradient-text {
background: linear-gradient(
90deg,
Expand Down

0 comments on commit 02e30d2

Please sign in to comment.