|
|
|
@ -58,4 +58,65 @@
|
|
|
|
|
|
|
|
|
|
.boards-heading {grid-area: boards-heading;} |
|
|
|
|
.boards-description {grid-area: boards-description;} |
|
|
|
|
.boards-button {grid-area: boards-button;} |
|
|
|
|
.boards-button {grid-area: boards-button;} |
|
|
|
|
|
|
|
|
|
/* The "Join here!" button wraps at 857px, so this is the breakpoint. */ |
|
|
|
|
@media only screen and (max-width: 858px) { |
|
|
|
|
.services__offers { |
|
|
|
|
grid-template-areas: |
|
|
|
|
"matrix-heading" |
|
|
|
|
"matrix-description" |
|
|
|
|
"matrix-button" |
|
|
|
|
"git-heading" |
|
|
|
|
"git-description" |
|
|
|
|
"git-button" |
|
|
|
|
"boards-heading" |
|
|
|
|
"boards-description" |
|
|
|
|
"boards-button"; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.services__offers_card__button { |
|
|
|
|
margin: 2rem auto; |
|
|
|
|
width: 11em; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.services__offers__card__description { |
|
|
|
|
margin: 0 auto; |
|
|
|
|
width: 9rem; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/* At smaller than 520px the fonts get too large to fit in one line */ |
|
|
|
|
@media only screen and (max-width: 520px) { |
|
|
|
|
.services__heading { |
|
|
|
|
font-size: 3.8rem; |
|
|
|
|
} |
|
|
|
|
.services__offers__card__heading { |
|
|
|
|
font-size: 2.5rem; |
|
|
|
|
} |
|
|
|
|
.services__offers__card__description { |
|
|
|
|
font-size: 1.1rem; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
/* At smaller than 380px the fonts get too large again to fit in one line */ |
|
|
|
|
@media only screen and (max-width: 380px) { |
|
|
|
|
.welcome__text-area__description { |
|
|
|
|
font-size: 1.7rem; |
|
|
|
|
} |
|
|
|
|
.services__heading { |
|
|
|
|
font-size: 4rem; |
|
|
|
|
} |
|
|
|
|
.services__offers__card__heading { |
|
|
|
|
font-size: 2.8rem; |
|
|
|
|
} |
|
|
|
|
.services__offers__card__description { |
|
|
|
|
font-size: 1.3rem; |
|
|
|
|
} |
|
|
|
|
.services__offers_card__button { |
|
|
|
|
width: 14rem; |
|
|
|
|
font-size: 1.3rem; |
|
|
|
|
} |
|
|
|
|
.services__offers__card__description { |
|
|
|
|
width: 13rem; |
|
|
|
|
} |
|
|
|
|
} |