From 776103e594c4c63865d620c5e5293068027e8e3d Mon Sep 17 00:00:00 2001 From: Mike Francis Date: Mon, 1 Dec 2014 11:36:30 +0000 Subject: [PATCH] Removed for integration of submodule --- scss/base/_grid.scss | 46 -------------------------------------------- 1 file changed, 46 deletions(-) delete mode 100644 scss/base/_grid.scss diff --git a/scss/base/_grid.scss b/scss/base/_grid.scss deleted file mode 100644 index a08ca80..0000000 --- a/scss/base/_grid.scss +++ /dev/null @@ -1,46 +0,0 @@ -/** - * Based on https://github.com/pdcreis/simple-grid - */ - -.container { - max-width: $max-width; - margin: 0 auto; - padding: 0 $gutter; - @extend .clearfix; -} - -.row { - @extend .clearfix; - margin-left: -$gutter; -} - -.col { - float: left; - padding-left: $gutter; -} - -@mixin grid-loop($name){ - @for $i from 1 through $grid-columns { - .col--#{$name}-#{$i} { - width: percentage($i / $grid-columns); - } - .col--#{$name}-offset-#{$i} { - margin-left: percentage($i / $grid-columns); - } - } -} - -@each $breakpoint in $breakpoints-list { - $name: nth($breakpoint, 1); - $declaration: nth($breakpoint, 2); - - @if $name == ld { - @include grid-loop($name); - } - - @else { - @media only screen and #{$declaration} { - @include grid-loop($name); - } - } -}