Created
July 15, 2016 21:33
-
-
Save hellofromtonya/1cade42654f0dc0dd91aefa4e529fa16 to your computer and use it in GitHub Desktop.
Site containers with media queries embedded
This file contains 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
/* ## Site Containers | |
--------------------------------------------- */ | |
.site-inner, | |
.wrap { | |
margin: 0 auto; | |
max-width: 1280px; | |
@media only screen and (max-width: 1340px) { | |
max-width: 1140px; | |
} | |
@media only screen and (max-width: 1200px) { | |
max-width: 960px; | |
} | |
@media only screen and (max-width: 1023px) { | |
max-width: 800px; | |
} | |
} | |
.site-inner { | |
clear: both; | |
padding-top: 40px; | |
word-wrap: break-word; | |
@media only screen and (max-width: 860px) { | |
padding: 5% 5% 0; | |
} | |
} | |
.landing-page .site-inner { | |
max-width: 800px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment