Sha256: b4667844f9caebcb157cd85174d02e63bad39a1d5fe59a890bf5f3f8ecceef29

Contents?: true

Size: 1.06 KB

Versions: 8

Compression:

Stored size: 1.06 KB

Contents

// Optional offset options to work with grid.scss

// Offset Columns

// stylelint-disable primer/spacing
@each $breakpoint, $variant in $responsive-variants {
  @include breakpoint($breakpoint) {
    .offset#{$variant}-1 { margin-left: (1 * 0.0833333333 * 100%) !important; }
    .offset#{$variant}-2 { margin-left: (2 * 0.0833333333 * 100%) !important; }
    .offset#{$variant}-3 { margin-left: (3 * 0.0833333333 * 100%) !important; }
    .offset#{$variant}-4 { margin-left: (4 * 0.0833333333 * 100%) !important; }
    .offset#{$variant}-5 { margin-left: (5 * 0.0833333333 * 100%) !important; }
    .offset#{$variant}-6 { margin-left: (6 * 0.0833333333 * 100%) !important; }
    .offset#{$variant}-7 { margin-left: (7 * 0.0833333333 * 100%) !important; }
    .offset#{$variant}-8 { margin-left: (8 * 0.0833333333 * 100%) !important; }
    .offset#{$variant}-9 { margin-left: (9 * 0.0833333333 * 100%) !important; }
    .offset#{$variant}-10 { margin-left: (10 * 0.0833333333 * 100%) !important; }
    .offset#{$variant}-11 { margin-left: (11 * 0.0833333333 * 100%) !important; }
  }
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
jekyll-v4-theme-primer-0.16.0 _sass/@primer/css/layout/grid-offset.scss
jekyll-v4-theme-primer-0.15.0 _sass/@primer/css/layout/grid-offset.scss
jekyll-v4-theme-primer-0.14.0 _sass/@primer/css/layout/grid-offset.scss
jekyll-v4-theme-primer-0.13.0 _sass/@primer/css/layout/grid-offset.scss
jekyll-v4-theme-primer-0.12.0 _sass/@primer/css/layout/grid-offset.scss
jekyll-v4-theme-primer-0.11.0 _sass/@primer/css/layout/grid-offset.scss
jekyll-v4-theme-primer-0.10.0 _sass/@primer/css/layout/grid-offset.scss
jekyll-v4-theme-primer-0.9.0 _sass/@primer/css/layout/grid-offset.scss