merge threshold change
This commit is contained in:
+6
-4
@@ -7,6 +7,8 @@ $grid-row-cells: 4;
|
||||
$tile-size: ($field-width - $grid-spacing * ($grid-row-cells + 1)) / $grid-row-cells;
|
||||
$tile-border-radius: 3px;
|
||||
|
||||
$mobile-threshold: $field-width + 20px;
|
||||
|
||||
$text-color: #776E65;
|
||||
$bright-text-color: #f9f6f2;
|
||||
|
||||
@@ -385,13 +387,13 @@ hr {
|
||||
font-size: 45px;
|
||||
|
||||
// Media queries placed here to avoid carrying over the rest of the logic
|
||||
@include smaller(480px) {
|
||||
@include smaller($mobile-threshold) {
|
||||
font-size: 25px;
|
||||
}
|
||||
} @else if $power >= 1000 {
|
||||
font-size: 35px;
|
||||
|
||||
@include smaller(480px) {
|
||||
@include smaller($mobile-threshold) {
|
||||
font-size: 15px;
|
||||
}
|
||||
}
|
||||
@@ -407,7 +409,7 @@ hr {
|
||||
|
||||
font-size: 30px;
|
||||
|
||||
@include smaller(480px) {
|
||||
@include smaller($mobile-threshold) {
|
||||
font-size: 10px;
|
||||
}
|
||||
}
|
||||
@@ -468,7 +470,7 @@ hr {
|
||||
}
|
||||
}
|
||||
|
||||
@include smaller(480px) {
|
||||
@include smaller($mobile-threshold) {
|
||||
// Redefine variables for smaller screens
|
||||
$field-width: 280px;
|
||||
$grid-spacing: 10px;
|
||||
|
||||
Reference in New Issue
Block a user