Sha256: 7bef4fca0a08ac42961b5d5f584dacb7bd803f0343e33120820d2b256bbfedb4

Contents?: true

Size: 1.22 KB

Versions: 20

Compression:

Stored size: 1.22 KB

Contents

// Layout styles
// ---------------------------------------/

// Layout from Primer (https://github.com/primer/primer/blob/master/scss/_layout.scss)

// 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

20 entries across 20 versions & 1 rubygems

Version Path
jekyll-theme-lucas-minima-0.2.0 _sass/_layout.scss
jekyll-theme-lucas-minima-0.1.21 _sass/_layout.scss
jekyll-theme-lucas-minima-0.1.20 _sass/_layout.scss
jekyll-theme-lucas-minima-0.1.19 _sass/_layout.scss
jekyll-theme-lucas-minima-0.1.18 _sass/_layout.scss
jekyll-theme-lucas-minima-0.1.17 _sass/_layout.scss
jekyll-theme-lucas-minima-0.1.16 _sass/_layout.scss
jekyll-theme-lucas-minima-0.1.15 _sass/_layout.scss
jekyll-theme-lucas-minima-0.1.14 _sass/_layout.scss
jekyll-theme-lucas-minima-0.1.13 _sass/_layout.scss
jekyll-theme-lucas-minima-0.1.12 _sass/_layout.scss
jekyll-theme-lucas-minima-0.1.11 _sass/_layout.scss
jekyll-theme-lucas-minima-0.1.10 _sass/_layout.scss
jekyll-theme-lucas-minima-0.1.9 _sass/_layout.scss
jekyll-theme-lucas-minima-0.1.8 _sass/_layout.scss
jekyll-theme-lucas-minima-0.1.7 _sass/_layout.scss
jekyll-theme-lucas-minima-0.1.6 _sass/_layout.scss
jekyll-theme-lucas-minima-0.1.5 _sass/_layout.scss
jekyll-theme-lucas-minima-0.1.4 _sass/_layout.scss
jekyll-theme-lucas-minima-0.1.3 _sass/_layout.scss