challenge-vtex-io-andrea-ma.../styles/css/vtex.flex-layout.css

49 lines
1.2 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 */
/* ----- PRODUCT-MAIN ----- */
.flexRowContent--productMain {
padding: 0 40px;
gap: 32px;
justify-content: center;
}
@media only screen and (min-width: 1920px) {
.flexRowContent--productMain {
padding: 0 360px;
}
}
@media only screen and (max-width: 1024px) {
.flexRowContent--productMain {
flex-direction: column;
}
.flexRowContent--productMain .stretchChildrenWidth {
width: 100% !important;
}
.flexRowContent--productMain .stretchChildrenWidth :first-child {
padding-right: 0;
}
}
@media only screen and (max-width: 1024px) and (max-width: 639px) {
.flexRowContent--productMain .stretchChildrenWidth:first-child {
margin-bottom: 32px;
}
}
/* ----- RIGHT-COL ----- */
.flexCol--right-col .flexRowContent--product-name {
text-align: right;
}
@media only screen and (max-width: 1024px) {
.flexCol--right-col .flexRowContent--product-name {
text-align: left;
}
.flexCol--right-col .flexRowContent--product-name .stretchChildrenWidth {
margin: 0;
}
}