Skip to content

Commit ebeecf0

Browse files
committed
Move to mobile view earlier at 640px
1 parent bdddc6b commit ebeecf0

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

scss/_variables.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ $georgia: Georgia, serif;
2121

2222
// Mobile breakpoints
2323
@mixin mobile {
24-
@media screen and (max-width: 520px) {
24+
@media screen and (max-width: 640px) {
2525
@content;
2626
}
2727
}

style.css

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ h1, h2, h3, h4, h5, h6 {
5858
line-height: 1.7;
5959
margin: 1em 0 15px;
6060
padding: 0; }
61-
@media screen and (max-width: 520px) {
61+
@media screen and (max-width: 640px) {
6262
h1, h2, h3, h4, h5, h6 {
6363
line-height: 1.4; } }
6464

@@ -142,7 +142,7 @@ img {
142142
.masthead {
143143
padding: 20px 0;
144144
border-bottom: 1px solid #eeeeee; }
145-
@media screen and (max-width: 520px) {
145+
@media screen and (max-width: 640px) {
146146
.masthead {
147147
text-align: center; } }
148148

@@ -151,7 +151,7 @@ img {
151151
width: 70px;
152152
height: 70px;
153153
margin-right: 15px; }
154-
@media screen and (max-width: 520px) {
154+
@media screen and (max-width: 640px) {
155155
.site-avatar {
156156
float: none;
157157
display: block;
@@ -161,7 +161,7 @@ img {
161161

162162
.site-info {
163163
float: left; }
164-
@media screen and (max-width: 520px) {
164+
@media screen and (max-width: 640px) {
165165
.site-info {
166166
float: none;
167167
display: block;
@@ -180,7 +180,7 @@ img {
180180
margin: -5px 0 0 0;
181181
color: #666666;
182182
font-size: 16px; }
183-
@media screen and (max-width: 520px) {
183+
@media screen and (max-width: 640px) {
184184
.site-description {
185185
margin: 3px 0; } }
186186

@@ -189,7 +189,7 @@ nav {
189189
margin-top: 23px;
190190
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
191191
font-size: 18px; }
192-
@media screen and (max-width: 520px) {
192+
@media screen and (max-width: 640px) {
193193
nav {
194194
float: none;
195195
margin-top: 9px;
@@ -201,7 +201,7 @@ nav {
201201
text-align: right;
202202
font-weight: 300;
203203
letter-spacing: 1px; }
204-
@media screen and (max-width: 520px) {
204+
@media screen and (max-width: 640px) {
205205
nav a {
206206
margin: 0 10px;
207207
color: #4183c4; } }

0 commit comments

Comments
 (0)