@import "../mixins/mixins"; @import "../settings/settings"; @import "compass"; @import "compass/css3"; @import "breakpoint"; //////////////////////////////////////////////////////////// // Copy Width /////////////////////////////////////////////////////////// .copy-width{margin: 0 auto !important;} $i: 4; @while $i < 7 { .copy-width{ @include breakpoint((($i * ($column + $gutter) - $gutter) / $em)) { width:((($i - 0.5) * ($column + $gutter) - $gutter) / $em) !important; }} $i: $i + .5; } $i: 7; @while $i < ($alpha_max + 1) { .copy-width{ @include breakpoint((($i * ($column + $gutter) - $gutter) / $em)) { width:((($i - 2) * ($column + $gutter) - $gutter) / $em) !important; }} $i: $i + 1; } ///////////////////////////////////////////////////////////////////////////// //Epsilon Zone - Needs to split columns in half to fit smaller divices /////////////////////////////////////////////////////////////////////////// @each $size in $sizes { $type: #{nth($size, 1)}; @if $type == E { $i: $epsilon_min; @while $i < ($epsilon_max + 1) { @include breakpoint((($i * ($column + $gutter) - $gutter) / $em) ((($i +1) * ($column + $gutter) - $gutter) / $em)) { @for $i2 from 1 through $ratio_range { .e#{nth($size, 2)}#{$i2}, .#{nth($size, 1)}#{nth($size, 2)}#{$i2}-#{nth($size, 4)}#{nth($size, 5)} > li, .e#{nth($size, 2)}#{$i2}-#{nth($size, 4)}#{nth($size, 5)} { @include poxy-scale($i, nth($size, 1), nth($size, 2), $i2, nth($size, 4), nth($size, 5) ); } //.#{nth($size, 1)}#{nth($size, 2)}#{nth($size, 3)}-#{nth($size, 4)}#{nth($size, 5)} > li:nth-child(#{nth($size, 3)}n+0) {margin-right:0 !important;} } } $i: $i + .5; } } } //Beta Zone @include POXY_ZONE(D, d, $delta_min, $delta_max ); //Beta Zone @include POXY_ZONE(G, g, $gamma_min, $gamma_max ); //Beta Zone @include POXY_ZONE(B, b, $beta_min, $beta_max ); //Alpha Zone @include POXY_ZONE(A, a, $alpha_min, $alpha_max );