forked from M3-Academy/challenge-vtex-io
60 lines
1010 B
CSS
60 lines
1010 B
CSS
/*
|
|
0 - 600PX: Phone
|
|
600 - 900px: Table portrait
|
|
900 - 1200px: Tablet landscape
|
|
[1200 - 1800] is where our nortal styles apply
|
|
1800px + : Big desktop
|
|
*/
|
|
/* Media Query M3 */
|
|
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap%27");
|
|
/* Grid breakpoints */
|
|
.imageWrapper {
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.image {
|
|
width: 314.4px;
|
|
height: 314.4px;
|
|
}
|
|
|
|
.brandName {
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-size: 18px;
|
|
line-height: 25px;
|
|
text-align: center;
|
|
color: #000000;
|
|
}
|
|
|
|
.nameContainer {
|
|
padding: 16px 0 0 0;
|
|
}
|
|
|
|
.containerNormal {
|
|
max-width: 314px !important;
|
|
}
|
|
|
|
@media (min-width: 1921px) {
|
|
.image {
|
|
width: 434.4px;
|
|
height: 434.4px;
|
|
}
|
|
}
|
|
@media (max-width: 1024px) {
|
|
.brandName {
|
|
font-size: 14px;
|
|
}
|
|
.image {
|
|
width: 291.2px;
|
|
height: 291.2px;
|
|
}
|
|
}
|
|
@media (min-width: 375px) and (max-width: 768px) {
|
|
.image {
|
|
width: 124.8px;
|
|
height: 124.8px;
|
|
}
|
|
} |