/// @type Color
$pre-color: #ff6908 !default;
-/// Global width of the container.
+/// Width of the container.
/// @type Number
-$container-width: 580px !default;
+$global-width: 580px !default;
+
+/// Width of the container on small screens.
+/// @type Length
+$global-width-small: 95% !default;
/// Color for the container background
/// @type Color
/// @group media-query
////
-/// Container width for small screens.
-/// @type Length
-$container-width-small: 95% !default;
-
@media only screen and #{$global-breakpoint} {
-
table.body img {
width: auto !important;
height: auto !important;
}
table.body .container {
- width: $container-width-small !important;
+ width: $global-width-small !important;
}
//If it supports border-box, why not? Am I right?
&.container {
background: $container-background-color;
- width: $container-width;
+ width: $global-width;
margin: 0 auto;
text-align: inherit;
}
@for $i from 1 through $grid-column-count {
td.large-#{$i},
th.large-#{$i} {
- width: -zf-grid-calc-px($i, $grid-column-count, $container-width);
+ width: -zf-grid-calc-px($i, $grid-column-count, $global-width);
padding-left: $grid-column-gutter / 2;
padding-right: $grid-column-gutter / 2;
}
th.large-#{$i} {
padding-right: 0;
padding-left: 0;
- width: -zf-grid-calc-px($i, $grid-column-count, $container-width) + $grid-column-gutter;
+ width: -zf-grid-calc-px($i, $grid-column-count, $global-width) + $grid-column-gutter;
}
//Gotta give it that extra love for the first and last columns.
th.large-#{$i}.first,
td.large-#{$i}.last,
th.large-#{$i}.last {
- width: -zf-grid-calc-px($i, $grid-column-count, $container-width) + ($grid-column-gutter * 1.5);
+ width: -zf-grid-calc-px($i, $grid-column-count, $global-width) + ($grid-column-gutter * 1.5);
}
}
}
@for $i from 1 through $grid-column-count {
td.large-#{$i} center {
- min-width: -zf-grid-calc-px($i, $grid-column-count, $container-width);
+ min-width: -zf-grid-calc-px($i, $grid-column-count, $global-width);
}
}
th.large-offset-#{$i}.first,
th.large-offset-#{$i}.last {
//1.5 takes in effect a whole empty cell.
- padding-left: -zf-grid-calc-px($i, $grid-column-count, $container-width) + $grid-column-gutter * 2;
+ padding-left: -zf-grid-calc-px($i, $grid-column-count, $global-width) + $grid-column-gutter * 2;
}
}
// 1. Global
// 2. Grid
// 3. Block Grid
-// 4. Media Query
+// 4. Thumbnial
// 5. Typography
// 6. Button
// 7. Callout
// 8. Inline List
// 9. Normalize
-// 10. Thumbnial
// 1. Global
$black: #0a0a0a;
$white: #fefefe;
$pre-color: #ff6908;
-$container-width: 580px;
+$global-width: 580px;
+$global-width-small: 95%;
$container-background-color: $white;
$global-radius: 3px;
$global-rounded: 500px;
+$global-breakpoint: '(max-width: 580px)';
// 2. Grid
// -------
$block-grid-max: 8;
$block-grid-gutter: $grid-column-gutter;
-// 4. Media Query
-// --------------
+// 4. Thumbnial
+// ------------
-$container-width-small: 95%;
-$small-range: $container-width;
+$thumbnail-shadow: 0 0 0 1px rgba($black, 0.2);
// 5. Typography
// -------------
$hr-background: $medium-gray;
$hr-height: 1px;
-// 10. Thumbnial
-// -------------
-
-$thumbnail-shadow: 0 0 0 1px rgba($black, 0.2);
-