challenge-vtex-io-thiago-br.../styles/css/vtex.product-summary.css

68 lines
1.6 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 */
/*
PRATELEIRA DE PRODUTO
*/
.containerNormal {
max-width: unset !important;
}
.containerNormal .element {
padding: 0;
}
.containerNormal .element .imageContainer--image-prateleira {
display: flex;
height: 314.4px;
}
@media only screen and (min-width: 1921px) {
.containerNormal .element .imageContainer--image-prateleira {
height: 434.4px;
}
}
@media only screen and (max-width: 1024px) {
.containerNormal .element .imageContainer--image-prateleira {
height: 291.21px;
}
}
@media only screen and (max-width: 768px) {
.containerNormal .element .imageContainer--image-prateleira {
height: 124.82px;
}
}
.containerNormal .element .imageContainer--image-prateleira .imageNormal {
height: 100%;
width: 100%;
object-fit: contain;
max-height: unset !important;
}
.nameContainer--name-prateleira {
padding: 16px 16px 8px 16px;
display: flex;
justify-content: center;
align-items: center;
}
@media only screen and (max-width: 1024px) {
.nameContainer--name-prateleira {
padding: 16px 8px 8px 8px;
}
}
.nameContainer--name-prateleira .productNameContainer--name-prateleira {
font-weight: 400;
font-size: 18px;
line-height: 25px;
text-align: center;
color: #000000;
}
@media only screen and (max-width: 1024px) {
.nameContainer--name-prateleira .productNameContainer--name-prateleira {
font-size: 14px;
line-height: 19px;
}
}