Sha256: a915242cc6712bd30cbbfc2622d7f5c19a236e8055f976ad683d21d30093f887

Contents?: true

Size: 522 Bytes

Versions: 2

Compression:

Stored size: 522 Bytes

Contents

@function colwidth($num) {
  @return nth(4.85% 13.45% 22.05% 30.75% 39.45% 48% 56.75% 65.4% 74.05% 82.7% 91.35% 100%, $num);
}


@mixin container {
  padding-left: 20px;
  padding-right: 20px;
}

@mixin row {
  width: 100%;
  max-width: 1140px;
  min-width: 755px;
  margin: 0 auto;
  overflow: hidden;
}

@mixin column {
  margin-right: 3.8%;
  float: left;
  min-height: 1px;
}

@mixin grid($num: 1, $islast: false) {
  @include column;
  width: colwidth($num);
  @if $islast == last { margin-right: 0px; float: left;}
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
omnigrid-0.0.2 app/assets/stylesheets/omnigrid/1140/_mixins.scss
omnigrid-0.0.1 app/assets/stylesheets/omnigrid/1140/_mixins.scss