Initial progress towards responsive for mobile

This commit is contained in:
Andrew Miner
2016-04-29 22:30:37 -07:00
parent 636a8d061c
commit 83156c30c7
18 changed files with 239 additions and 57 deletions
+3 -1
View File
@@ -7,7 +7,7 @@
$tablet : 960px;
$mobile : 320px;
$mobile : 568px;
@mixin screen-size($screenType) {
@if $screenType == desktop {
@@ -16,5 +16,7 @@ $mobile : 320px;
@media (max-width: $tablet) { @content; }
} @else if $screenType == mobile {
@media (max-width: $mobile) { @content; }
} @else if $screenType == not-mobile {
@media (min-width: $mobile + 1) { @content }
}
}
+3
View File
@@ -44,6 +44,9 @@
@include screen-size(tablet) {
margin: 0 $size-margin-xlarge;
}
@include screen-size(mobile) {
margin: 0;
}
section {
margin-bottom: $size-margin-large;