Sha256: 52d4ce8560b48797b91e0b180d646511c496a827edf607c22f542270ff811c59

Contents?: true

Size: 392 Bytes

Versions: 5

Compression:

Stored size: 392 Bytes

Contents

// ==================================================
// Gutter Width
// ==================================================
@function gutter-width($_percent: true) {
  $_gutter-width-fraction: $grid-gutter / $grid-width;

  @if $_percent == true {
    $_gutter-width-percent : $_gutter-width-fraction * 100%;

    @return $_gutter-width-percent;
  }
  @else {
    @return $grid-gutter;
  }
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mcgriddle-0.5.0 _sass/mcgriddle/functions/_gutter-width.scss
mcgriddle-0.4.2 _sass/mcgriddle/functions/_gutter-width.scss
mcgriddle-0.4.1 _sass/mcgriddle/functions/_gutter-width.scss
mcgriddle-0.4.0 _sass/mcgriddle/functions/_gutter-width.scss
mcgriddle-0.3.1 _sass/mcgriddle/functions/_gutter-width.scss