Skip to content

Instantly share code, notes, and snippets.

@Marfa
Created October 18, 2015 11:12
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 Marfa/f8317db6cd8e79bc69b7 to your computer and use it in GitHub Desktop.
Save Marfa/f8317db6cd8e79bc69b7 to your computer and use it in GitHub Desktop.
Final css
/* Mobile first queries */
@media (min-width: 240px) {.container {
max-width: 240px}
.container .column, .container .columns {
float: none;
}
.post-title {
font-size: 40px;
font-size: 2rem;}
.site-header .site-bio {
width: 15rem;}
}
@media (min-width: 320px) {.container {
max-width: 320px}
.container .column, .container .columns {
float: none;
}}
@media only screen
and (min-width: 360px)
and (orientation: portrait)
and (-webkit-min-device-pixel-ratio: 3.0) {.container {
max-width: 360px}
.container .column, .container .columns {
float: none;
}}
/* Larger than phablet */
@media (min-width: 550px) {.container {
max-width: 550px}
.container .column, .container .columns {
float: none;
}}
@media (min-width: 400px) {.container {
max-width: 400px}
.container .column, .container .columns {
float: none;
}}
@media (min-width: 480px) {.container {
max-width: 480px}
.container .column, .container .columns {
float: none;
}}
/* Larger than tablet */
@media (min-width: 750px) {.container {
max-width: 750px}
.container .column, .container .columns {
float: none;
}}
/* Larger than desktop */
@media (min-width: 1000px) {.container {
max-width: 1000px}
.container .column, .container .columns {
float: none;
}}
/* Larger than Desktop HD */
@media (min-width: 1200px) {.container {
max-width: 1200px}
.container .column, .container .columns {
float: none;
}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment