// --------------------------------- // TILE // Based on ZURB's Foundation 4 // --------------------------------- $max-tiles : 12 !default; $tile-gutter : 15px !default; // Calculate width and padding for tile @mixin tile-calc ( $per-row : 0, $gutter : $tile-gutter, $collapse : false ) { @if $external-call or $per-row == 0 { @if $collapse { padding: 0; } @else { padding: 0 ($gutter / 2); } } @if $per-row > 0 { width: 100% / $per-row; &:nth-of-type(#{$per-row}n+1) { clear: both; } } } // Create tile styling for