Sha256: 0f62c51e1441ac03d2ca3062ed898afdb7592260e589fce356239a8f38ccb1ba

Contents?: true

Size: 590 Bytes

Versions: 2

Compression:

Stored size: 590 Bytes

Contents

@import "compass/layout/floated";

// It's easy to build a grid with a floated layout
$gutter: $compass-gutter-width;
$col-width: 30px;
$number-of-columns: 24;
$total-width: $number-of-columns * ($col-width + $gutter) - $gutter ;

@mixin span($n) {
  width: $n * ($col-width + $gutter) - $gutter;
}

// Provides a number of base classes.
@include act-like-blueprint;

#page    { @extend .container; @include span($number-of-columns); }
#sidebar { @extend .column;    @include span(8);                  }
#content { @extend .column;    @include span(16); @extend .last;  }

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
compass-sourcemaps-0.12.3.sourcemaps.a4836f1 examples/compass/src/bp_layout.scss
compass-sourcemaps-0.12.2.sourcemaps.57a186c examples/compass/src/bp_layout.scss