Sha256: 027d4a8aee0cc55d02f606763e4b496dae7831f1077d25cbc86496d71a079a37

Contents?: true

Size: 1.11 KB

Versions: 1

Compression:

Stored size: 1.11 KB

Contents

// Layout
// ==========================================================================

// Content
// ==========================================================================

// Content wraps the entire site content block
#content {
  @extend %site-width-container;
  @extend %contain-floats;
  padding-bottom: $gutter;

  @include media(desktop) {
    padding-bottom: $gutter*3;
  }
}


// Grid layout
// ==========================================================================

// Usage:
// For two equal columns

// <div class="grid-row">
//   <div class="column-one-half">
//
//   </div>
//   <div class="column-one-half">
//
//   </div>
// </div>

// Use .grid-row to define a row for grid columns to sit in
.grid-row {
  @extend %grid-row;
}

// Use .grid-column to create a grid column with 15px gutter
// By default grid columns break to become full width at tablet size
.column-quarter,
.column-one-quarter {
  @include grid-column(1/4);
}

.column-half,
.column-one-half {
  @include grid-column(1/2);
}

.column-third,
.column-one-third {
  @include grid-column(1/3);
}

.column-two-thirds {
  @include grid-column(2/3);
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
govuk_elements_rails-1.1.2 vendor/assets/stylesheets/elements/_layout.scss