Skip to content

Commit

Permalink
basic mobile layout
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanBonsignori committed Jun 15, 2024
1 parent bf5ff05 commit 9e8f190
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions client/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,28 @@ body {
margin-top: 15px;
margin-bottom: 20px;
}

@media (max-width: 848px) {
.hero-section {
margin-top: 10px;
flex-direction: column;
}

.hero-text {
width: 100%;
text-align: center;
}

.hero-section img {
width: 100%;
height: 300px;
}

.hero-text h2 {
font-size: 2rem;
}

.hero-text p {
font-size: 1rem;
}
}

0 comments on commit 9e8f190

Please sign in to comment.