Sha256: a6514c07948b4b80ffecec938ed98e69a2a155d4ce99f8a3770c367bdfca7121

Contents?: true

Size: 1.07 KB

Versions: 42

Compression:

Stored size: 1.07 KB

Contents

// Fixed-width, centered column for site content.
.container {
  width: $container-width;
  margin-right: auto;
  margin-left: auto;
  @include clearfix;
}

// Grid system
//
// Create rows with `.columns` to clear the floated columns and outdent the
// padding on `.column`s with negative margin for alignment.

.columns {
  margin-right: -$grid-gutter;
  margin-left: -$grid-gutter;
  @include clearfix;
}

// Base class for every column (requires a column width from below)
.column {
  float: left;
  padding-right: $grid-gutter;
  padding-left: $grid-gutter;
}

// Column widths
.one-third {
  width: 33.333333%;
}

.two-thirds {
  width: 66.666667%;
}

.one-fourth {
  width: 25%;
}

.one-half {
  width: 50%;
}

.three-fourths {
  width: 75%;
}

.one-fifth {
  width: 20%;
}

.four-fifths {
  width: 80%;
}

// Single column hack
.single-column {
  padding-right: $grid-gutter;
  padding-left: $grid-gutter;
}

// Equal width columns via table sorcery.
.table-column {
  display: table-cell;
  width: 1%;
  padding-right: $grid-gutter;
  padding-left: $grid-gutter;
  vertical-align: top;
}

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
flipper-ui-0.17.2 lib/flipper/ui/assets/stylesheets/primer/_layout.scss
flipper-ui-0.17.1 lib/flipper/ui/assets/stylesheets/primer/_layout.scss
flipper-ui-0.16.2 lib/flipper/ui/assets/stylesheets/primer/_layout.scss
flipper-ui-0.16.1 lib/flipper/ui/assets/stylesheets/primer/_layout.scss
flipper-ui-0.16.0 lib/flipper/ui/assets/stylesheets/primer/_layout.scss
flipper-ui-0.15.0 lib/flipper/ui/assets/stylesheets/primer/_layout.scss
flipper-ui-0.14.0 lib/flipper/ui/assets/stylesheets/primer/_layout.scss
flipper-ui-0.13.0 lib/flipper/ui/assets/stylesheets/primer/_layout.scss
flipper-ui-0.13.0.beta1 lib/flipper/ui/assets/stylesheets/primer/_layout.scss
flipper-ui-0.12.2 lib/flipper/ui/assets/stylesheets/primer/_layout.scss
flipper-ui-0.12.1 lib/flipper/ui/assets/stylesheets/primer/_layout.scss
flipper-ui-0.12.0 lib/flipper/ui/assets/stylesheets/primer/_layout.scss
flipper-ui-0.11.0 lib/flipper/ui/assets/stylesheets/primer/_layout.scss
flipper-ui-0.11.0.rc1 lib/flipper/ui/assets/stylesheets/primer/_layout.scss
flipper-ui-0.11.0.beta9 lib/flipper/ui/assets/stylesheets/primer/_layout.scss
flipper-ui-0.11.0.beta8 lib/flipper/ui/assets/stylesheets/primer/_layout.scss
flipper-ui-0.11.0.beta7 lib/flipper/ui/assets/stylesheets/primer/_layout.scss
flipper-ui-0.11.0.beta6 lib/flipper/ui/assets/stylesheets/primer/_layout.scss
flipper-ui-0.11.0.beta5 lib/flipper/ui/assets/stylesheets/primer/_layout.scss
flipper-ui-0.11.0.beta4 lib/flipper/ui/assets/stylesheets/primer/_layout.scss