Sha256: 6f9b0512c11ff824b141a7feb86340f31b5c3e414dd6b08831924adae79813ff
Contents?: true
Size: 1.36 KB
Versions: 1
Compression:
Stored size: 1.36 KB
Contents
// Layout // ========================================================================== // GOV.UK front end toolkit dependencies @import "measurements"; @import "conditionals"; @import "grid_layout"; @import "helpers"; @import "design-patterns/alpha-beta"; // 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; } } // Phase banner // ========================================================================== .phase-banner { @include phase-banner(alpha); } // Grid layout // ========================================================================== // Usage: // For two equal columns // <div class="grid-row"> // <div class="column-half"> // // </div> // <div class="column-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 { @include grid-column( 1/4 ); } .column-half { @include grid-column( 1/2 ); } .column-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-0.2.2 | vendor/assets/stylesheets/elements/_layout.scss |