Merge pull request 'refactor: ajusta alinhamento galeria' (#12) from refactor/galeria_alinhamento into development

Reviewed-on: #12
This commit is contained in:
Rafael Sampaio de Oliveira 2022-10-11 22:19:31 +00:00
commit e2bb1ed793

View File

@ -207,6 +207,52 @@ header {
display: none; display: none;
} }
@media (min-width: 1920px) {
.top-cards-container {
display: flex;
}
.bottom-cards-container {
display: flex;
}
}
@media (min-width: 1623px) and (max-width: 1912px) {
.top-cards-container {
width: 75%;
}
}
@media (min-width: 1264px) and (max-width: 1622px) {
.top-cards-container {
width: 90%;
}
}
@media (min-width: 600px) and (max-width: 1123px) {
.bottom-ifocard-desktop-container div {
width: 75%;
}
}
@media (min-width: 415px) and (max-width: 599px) {
.gallery-container {
grid-template-columns: repeat(auto-fill, minmax(94%, 1fr));
}
.gallery-container img {
width: 94%;
}
.bottom-cards-container {
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.bottom-ifocard-desktop-container div {
width: 85%;
}
}
@media (max-width: 414px) { @media (max-width: 414px) {
.banner-desktop { .banner-desktop {
display: none; display: none;
@ -300,59 +346,6 @@ header {
} }
} }
@media (min-width: 1920px) {
.top-cards-container {
display: flex;
}
.bottom-cards-container {
display: flex;
}
}
@media (min-width: 1623px) and (max-width: 1912px) {
.top-cards-container {
width: 75%;
}
}
@media (min-width: 1264px) and (max-width: 1622px) {
.top-cards-container {
width: 90%;
}
}
@media (min-width: 600px) and (max-width: 1241px) {
.image03 {
position: relative;
left: 54%;
}
}
@media (min-width: 600px) and (max-width: 1123px) {
.bottom-ifocard-desktop-container div {
width: 75%;
}
}
@media (min-width: 415px) and (max-width: 599px) {
.gallery-container {
grid-template-columns: repeat(auto-fill, minmax(94%, 1fr));
}
.gallery-container img {
width: 94%;
}
.bottom-cards-container {
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.bottom-ifocard-desktop-container div {
width: 85%;
}
}
@media (min-width: 350px) and (max-width: 380px) { @media (min-width: 350px) and (max-width: 380px) {
.top-cards-container { .top-cards-container {
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));