Sha256: 4a4ec7faa21888b0acc45463f5664208bc446681753030b7944364fa6a75dd15

Contents?: true

Size: 941 Bytes

Versions: 8

Compression:

Stored size: 941 Bytes

Contents

// Optional offset options to work with grid.scss

// Offset Columns

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

Version data entries

8 entries across 8 versions & 3 rubygems

Version Path
primery-0.1.0 _sass/primer-layout/lib/grid-offset.scss
jekyll-theme-primer-0.6.0 _sass/primer-layout/lib/grid-offset.scss
github-docs-0.0.5 _sass/primer-layout/grid-offset.scss
github-docs-0.0.4 _sass/primer-layout/grid-offset.scss
github-docs-0.0.3 _sass/primer-layout/grid-offset.scss
github-docs-0.0.2 _sass/primer-layout/grid-offset.scss
github-docs-0.0.1 _sass/primer-layout/grid-offset.scss
jekyll-theme-primer-0.5.4 _sass/primer-layout/lib/grid-offset.scss