Skip to content

Commit 7ff4ad2

Browse files
committed
mobile tweaks
1 parent cd38c63 commit 7ff4ad2

File tree

2 files changed

+10
-17
lines changed

2 files changed

+10
-17
lines changed

_styles/default.sass

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,11 @@ $other: min-width 476px
5959
padding: 0
6060
li
6161
position: relative
62+
@include background-size(100%,auto)
6263
@include breakpoint($mobile)
63-
@include background-size(100%)
6464
h2
65-
margin-bottom: 360px
65+
margin-bottom: 260px
6666
@include breakpoint($other)
67-
@include background-size(100%,auto)
6867
height: 560px
6968
h2
7069
float: left

styles/default.css

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -469,23 +469,17 @@ footer {
469469
margin: 0;
470470
padding: 0; }
471471
#page1 #work li, #page2 #work li {
472-
position: relative; }
472+
position: relative;
473+
-webkit-background-size: 100%, auto;
474+
-moz-background-size: 100%, auto;
475+
-ms-background-size: 100%, auto;
476+
-o-background-size: 100%, auto;
477+
background-size: 100%, auto; }
473478
@media screen and (max-width: 476px) {
474-
#page1 #work li, #page2 #work li {
475-
-webkit-background-size: 100%;
476-
-moz-background-size: 100%;
477-
-ms-background-size: 100%;
478-
-o-background-size: 100%;
479-
background-size: 100%; }
480-
#page1 #work li h2, #page2 #work li h2 {
481-
margin-bottom: 360px; } }
479+
#page1 #work li h2, #page2 #work li h2 {
480+
margin-bottom: 260px; } }
482481
@media screen and (min-width: 476px) {
483482
#page1 #work li, #page2 #work li {
484-
-webkit-background-size: 100%, auto;
485-
-moz-background-size: 100%, auto;
486-
-ms-background-size: 100%, auto;
487-
-o-background-size: 100%, auto;
488-
background-size: 100%, auto;
489483
height: 560px; }
490484
#page1 #work li h2, #page2 #work li h2 {
491485
float: left;

0 commit comments

Comments
 (0)