Skip to content

Commit

Permalink
Merge pull request #1864 from bbambozzi/improve-responsiveness-mobile
Browse files Browse the repository at this point in the history
Improve landing page mobile responsiveness
  • Loading branch information
gsmet authored Jan 15, 2024
2 parents ee697db + e20c831 commit 17d9d9a
Showing 1 changed file with 36 additions and 8 deletions.
44 changes: 36 additions & 8 deletions _sass/includes/homepage-hero-band.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,23 +48,51 @@

.light-blue { color:$quarkus-blue; }

@media screen and (max-width: 1000px) {
@media screen and (max-width: 1024px) {
grid-column: span 12;

h2 {
font-size: 5rem;
line-height: 4.5rem;
line-height: 5rem;
}
}

@media screen and (max-width: 600px) {
@media screen and (max-width: 550px) {
grid-column: span 12;

h2 {
font-size: 3.8rem;
line-height: 3.8rem;
}
}

@media screen and (max-width: 425px) {
grid-column: span 12;

h2 {
font-size: 3rem;
line-height: 3rem;
}
}

@media screen and (max-width: 375px) {
grid-column: span 12;

h2 {
font-size: 4rem;
line-height: 3.9rem;
}
h2 {
font-size: 2.8rem;
line-height: 2.8rem;
}
}

@media screen and (max-width: 320px) {
grid-column: span 12;

h2 {
font-size: 2.5rem;
line-height: 2.5rem;
}
}

}


Expand Down

0 comments on commit 17d9d9a

Please sign in to comment.