feat: media querys

This commit is contained in:
Robson Tito de Paula Ferreira 2022-10-13 21:59:45 -03:00
parent 92f7916c4b
commit 61dd379d51
2 changed files with 19 additions and 0 deletions

View File

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 1.4 MiB

View File

@ -11,6 +11,7 @@ body {
.page-header {
display: flex;
flex-wrap: wrap;
justify-content: center;
padding: 28px 0;
background: #000000
@ -22,12 +23,14 @@ body {
.main-banner {
width: 100%;
flex-wrap: wrap;
margin-bottom: 73px;
}
.top-infocard {
display: flex;
width: 100%;
flex-wrap: wrap;
align-items: center;
flex-direction: column;
text-align: center;
@ -35,11 +38,13 @@ body {
.top-infocard-text {
max-width: 766px;
flex-wrap: wrap;
}
.top-infocard-subtitle {
text-transform: uppercase;
line-height: 39px;
flex-wrap: wrap;
font-weight: 400;
font-size: 32px;
margin-top: 28px;
@ -129,4 +134,18 @@ body {
display: none;
padding: 84px 30px 158px;
}
}
@media screen and (max-width:1024px) {
.main-banner-desktop {
display: none;
}
}
@media screen and (min-width:1025px) {
.main-banner-mobile {
display: none;
padding: 84px 30px 158px;
}
}