Skip to content

Commit

Permalink
Mobile adjustments (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
mimiflynn authored Sep 25, 2023
1 parent 97b700c commit baed5ee
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
5 changes: 1 addition & 4 deletions site/src/styles/card.css
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,6 @@

@media (max-width: 767px) {
.card-collection {
flex: none;
}
.card-collection .card {
flex-basis: 100%;
display: block;
}
}
12 changes: 12 additions & 0 deletions site/src/styles/hero.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,15 @@
.news-main .hero {
background-image: url('../../static/images/02393_2022Q2ArtRev_GettyImages-184873183_2285px.jpg');
}

@media (max-width: 767px) {
.hero {
height: 400px;
}
.hero article {
width: auto;
}
.home-main .hero {
background-position: 30% 75%;
}
}

0 comments on commit baed5ee

Please sign in to comment.