Created
May 18, 2021 10:59
-
-
Save cezarignat/5abaf100fe887ccdb451c8c37e981eb0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.container { | |
max-width: 1200px; | |
margin: auto; | |
} | |
.czr { | |
display: flex; | |
flex-wrap: wrap; | |
align-items: center; | |
width: 100%; | |
} | |
.czr+.czr.reverse { | |
flex-direction: row-reverse; | |
} | |
.czr>div { | |
position: relative; | |
display: flex; | |
width: 50%; | |
padding: 5vw; | |
background-position: center center; | |
background-size: contain; | |
background-repeat: no-repeat; | |
box-sizing: border-box; | |
} | |
.czr>div img { | |
max-width: 100%; | |
} | |
.czr>div.primary { | |
background-color: #ebb091; | |
} | |
a, a:visited { | |
color: #ebb091; | |
font-weight: bold; | |
} | |
.czr.nopadding>div { | |
padding: 0; | |
} | |
.lead { | |
font-family: 'Playfair Display', serif; | |
font-size: 6em; | |
font-weight: bold; | |
} | |
#contact { | |
font-size: 20px; | |
margin-bottom: 10vh; | |
} | |
.text-center { | |
text-align: center; | |
} | |
@media screen and (max-width: 992px) { | |
.czr { | |
display: block; | |
} | |
.czr>div { | |
width: 100%; | |
display: block; | |
padding: 3rem 5rem; | |
padding: 5vh 10vw; | |
} | |
.czr>.extrapadding { | |
padding: 2rem 7rem; | |
padding: 5vh 15vw; | |
} | |
.lead { | |
font-size: 2em; | |
margin-bottom: -1em; | |
} | |
#contact .lead { | |
margin-bottom: 0; | |
} | |
h1 { | |
font-size: 1.2em; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment