Skip to content

Instantly share code, notes, and snippets.

@entozoon
Last active October 21, 2015 12:58
Show Gist options
  • Save entozoon/a881350cfc31e3b71247 to your computer and use it in GitHub Desktop.
Save entozoon/a881350cfc31e3b71247 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.4.14)
// Compass (v1.0.3)
// ----
/*!
Grid CSS compiled by evo_grid.scss
*/
$grid-gutter-width: 20px;
$screen-sm-min: 768px;
$screen-md-min: 980px;
$screen-lg-min: 1200px;
@mixin xs-plus {
@media (min-width: 0px) { @content; }
}
@mixin sm-plus {
@media (min-width: $screen-sm-min) { @content; }
}
@mixin md-plus {
@media (min-width: $screen-md-min) { @content; }
}
@mixin lg-plus {
@media (min-width: $screen-lg-min) { @content; }
}
// Set everything to border-box
.evo *,
.evo *:before,
.evo *:after,
.evo_row,
.evo_row *,
.evo_row *:before,
.evo_row *:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.evo_row {
clear: both;
margin-left: - $grid-gutter-width * 0.5;
margin-right: - $grid-gutter-width * 0.5;
}
[class^="evo_col"] {
float: left;
position: relative;
min-height: 1px;
padding-left: $grid-gutter-width * 0.5;
padding-right: $grid-gutter-width * 0.5;
}
@mixin colWidths($prefix) {
@for $i from 1 through 12 {
.evo_col-#{$prefix}-#{$i} { width: percentage($i / 12); }
}
}
@include xs-plus { @include colWidths('xs'); }
@include sm-plus { @include colWidths('sm'); }
@include md-plus { @include colWidths('md'); }
@include lg-plus { @include colWidths('lg'); }
/*!
/ Grid CSS compiled by evo_grid.scss
*/
/*!
Grid CSS compiled by evo_grid.scss
*/
.evo *,
.evo *:before,
.evo *:after,
.evo_row,
.evo_row *,
.evo_row *:before,
.evo_row *:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.evo_row {
clear: both;
margin-left: -10px;
margin-right: -10px;
}
[class^="evo_col"] {
float: left;
position: relative;
min-height: 1px;
padding-left: 10px;
padding-right: 10px;
}
@media (min-width: 0px) {
.evo_col-xs-1 {
width: 8.33333333%;
}
.evo_col-xs-2 {
width: 16.66666667%;
}
.evo_col-xs-3 {
width: 25%;
}
.evo_col-xs-4 {
width: 33.33333333%;
}
.evo_col-xs-5 {
width: 41.66666667%;
}
.evo_col-xs-6 {
width: 50%;
}
.evo_col-xs-7 {
width: 58.33333333%;
}
.evo_col-xs-8 {
width: 66.66666667%;
}
.evo_col-xs-9 {
width: 75%;
}
.evo_col-xs-10 {
width: 83.33333333%;
}
.evo_col-xs-11 {
width: 91.66666667%;
}
.evo_col-xs-12 {
width: 100%;
}
}
@media (min-width: 768px) {
.evo_col-sm-1 {
width: 8.33333333%;
}
.evo_col-sm-2 {
width: 16.66666667%;
}
.evo_col-sm-3 {
width: 25%;
}
.evo_col-sm-4 {
width: 33.33333333%;
}
.evo_col-sm-5 {
width: 41.66666667%;
}
.evo_col-sm-6 {
width: 50%;
}
.evo_col-sm-7 {
width: 58.33333333%;
}
.evo_col-sm-8 {
width: 66.66666667%;
}
.evo_col-sm-9 {
width: 75%;
}
.evo_col-sm-10 {
width: 83.33333333%;
}
.evo_col-sm-11 {
width: 91.66666667%;
}
.evo_col-sm-12 {
width: 100%;
}
}
@media (min-width: 980px) {
.evo_col-md-1 {
width: 8.33333333%;
}
.evo_col-md-2 {
width: 16.66666667%;
}
.evo_col-md-3 {
width: 25%;
}
.evo_col-md-4 {
width: 33.33333333%;
}
.evo_col-md-5 {
width: 41.66666667%;
}
.evo_col-md-6 {
width: 50%;
}
.evo_col-md-7 {
width: 58.33333333%;
}
.evo_col-md-8 {
width: 66.66666667%;
}
.evo_col-md-9 {
width: 75%;
}
.evo_col-md-10 {
width: 83.33333333%;
}
.evo_col-md-11 {
width: 91.66666667%;
}
.evo_col-md-12 {
width: 100%;
}
}
@media (min-width: 1200px) {
.evo_col-lg-1 {
width: 8.33333333%;
}
.evo_col-lg-2 {
width: 16.66666667%;
}
.evo_col-lg-3 {
width: 25%;
}
.evo_col-lg-4 {
width: 33.33333333%;
}
.evo_col-lg-5 {
width: 41.66666667%;
}
.evo_col-lg-6 {
width: 50%;
}
.evo_col-lg-7 {
width: 58.33333333%;
}
.evo_col-lg-8 {
width: 66.66666667%;
}
.evo_col-lg-9 {
width: 75%;
}
.evo_col-lg-10 {
width: 83.33333333%;
}
.evo_col-lg-11 {
width: 91.66666667%;
}
.evo_col-lg-12 {
width: 100%;
}
}
/*!
/ Grid CSS compiled by evo_grid.scss
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment