challenge-vtex-io-emersonfully/styles/css/vtex.flex-layout.css
2023-02-10 15:39:19 -03:00

53 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 */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;700&display=swap");
/* Grid breakpoints */
.flexRowContent--product-main-stack {
padding: 0 30px;
}
@media screen and (max-width: 1024px) {
.flexRowContent--product-main-stack {
display: flex;
flex-direction: column;
}
.flexRowContent--product-main-stack .stretchChildrenWidth {
width: 100% !important;
}
}
@media screen and (max-width: 1024px) {
.flexRowContent--main-header-mobile {
display: flex;
flex-direction: row;
}
}
.flexCol {
position: relative;
}
@media screen and (min-width: 769px) {
.flexRow--btn-product {
width: 100%;
max-width: 526px;
position: absolute;
top: 374px;
left: 158px;
}
}
.flexRow--btn-product :global(.vtex-button) {
background-color: black;
border: 1px solid black;
border-radius: 0;
font-family: "Open Sans";
padding: 12px;
}
.flexRow--btn-product :global(.vtex-button):hover {
background-color: rgb(36, 36, 36);
}