challenge-vtex-io-andrea-ma.../styles/css/vtex.product-summary.css

56 lines
1.1 KiB
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 */
/* Grid breakpoints */
.container {
margin: 0;
border-radius: 0;
max-width: 1000px !important;
}
.container .element {
padding: 0 8px;
}
@media only screen and (max-width: 1024px) {
.container .element {
padding: 0 6px;
}
}
@media only screen and (max-width: 639px) {
.container .element {
padding: 0 4px;
}
}
.container .element .imageContainer {
width: 100%;
}
.container .element .imageContainer .image {
object-fit: cover !important;
}
.container .element .nameContainer {
padding: 16px 16px 8px;
}
@media only screen and (max-width: 1024px) {
.container .element .nameContainer {
padding: 16px 8px 8px;
}
}
.container .element .nameContainer .productBrand {
font-family: "Open Sans";
font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 25px;
text-align: center;
color: #000000;
}
@media only screen and (max-width: 1024px) {
.container .element .nameContainer .productBrand {
font-size: 14px;
line-height: 19px;
}
}