Skip to content

Instantly share code, notes, and snippets.

@hellofromtonya
Created July 15, 2016 21:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hellofromtonya/1cade42654f0dc0dd91aefa4e529fa16 to your computer and use it in GitHub Desktop.
Save hellofromtonya/1cade42654f0dc0dd91aefa4e529fa16 to your computer and use it in GitHub Desktop.
Site containers with media queries embedded
/* ## 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