Move to mobile view earlier at 640px

This commit is contained in:
Barry Clark 2014-06-20 17:28:02 -04:00
parent bdddc6b4b9
commit ebeecf0bb1
2 changed files with 8 additions and 8 deletions

View File

@ -21,7 +21,7 @@ $georgia: Georgia, serif;
// Mobile breakpoints // Mobile breakpoints
@mixin mobile { @mixin mobile {
@media screen and (max-width: 520px) { @media screen and (max-width: 640px) {
@content; @content;
} }
} }

View File

@ -58,7 +58,7 @@ h1, h2, h3, h4, h5, h6 {
line-height: 1.7; line-height: 1.7;
margin: 1em 0 15px; margin: 1em 0 15px;
padding: 0; } padding: 0; }
@media screen and (max-width: 520px) { @media screen and (max-width: 640px) {
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
line-height: 1.4; } } line-height: 1.4; } }
@ -142,7 +142,7 @@ img {
.masthead { .masthead {
padding: 20px 0; padding: 20px 0;
border-bottom: 1px solid #eeeeee; } border-bottom: 1px solid #eeeeee; }
@media screen and (max-width: 520px) { @media screen and (max-width: 640px) {
.masthead { .masthead {
text-align: center; } } text-align: center; } }
@ -151,7 +151,7 @@ img {
width: 70px; width: 70px;
height: 70px; height: 70px;
margin-right: 15px; } margin-right: 15px; }
@media screen and (max-width: 520px) { @media screen and (max-width: 640px) {
.site-avatar { .site-avatar {
float: none; float: none;
display: block; display: block;
@ -161,7 +161,7 @@ img {
.site-info { .site-info {
float: left; } float: left; }
@media screen and (max-width: 520px) { @media screen and (max-width: 640px) {
.site-info { .site-info {
float: none; float: none;
display: block; display: block;
@ -180,7 +180,7 @@ img {
margin: -5px 0 0 0; margin: -5px 0 0 0;
color: #666666; color: #666666;
font-size: 16px; } font-size: 16px; }
@media screen and (max-width: 520px) { @media screen and (max-width: 640px) {
.site-description { .site-description {
margin: 3px 0; } } margin: 3px 0; } }
@ -189,7 +189,7 @@ nav {
margin-top: 23px; margin-top: 23px;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 18px; } font-size: 18px; }
@media screen and (max-width: 520px) { @media screen and (max-width: 640px) {
nav { nav {
float: none; float: none;
margin-top: 9px; margin-top: 9px;
@ -201,7 +201,7 @@ nav {
text-align: right; text-align: right;
font-weight: 300; font-weight: 300;
letter-spacing: 1px; } letter-spacing: 1px; }
@media screen and (max-width: 520px) { @media screen and (max-width: 640px) {
nav a { nav a {
margin: 0 10px; margin: 0 10px;
color: #4183c4; } } color: #4183c4; } }