Sha256: 25335619d736a72e8448d711e68c6e937cfd584f9f09c7d26dfd75bb19b51d06

Contents?: true

Size: 1.05 KB

Versions: 10

Compression:

Stored size: 1.05 KB

Contents

// Width

.w-100 { width: 100% !important; }

// Margin and Padding

.m-x-auto {
  margin-right: auto !important;
  margin-left:  auto !important;
}

@each $prop, $abbrev in (margin: m, padding: p) {
  @each $size, $lengths in $spacers {
    $length-x:   map-get($lengths, x);
    $length-y:   map-get($lengths, y);

    .#{$abbrev}-a-#{$size} { #{$prop}:        $length-y $length-x !important; } // a = All sides
    .#{$abbrev}-t-#{$size} { #{$prop}-top:    $length-y !important; }
    .#{$abbrev}-r-#{$size} { #{$prop}-right:  $length-x !important; }
    .#{$abbrev}-b-#{$size} { #{$prop}-bottom: $length-y !important; }
    .#{$abbrev}-l-#{$size} { #{$prop}-left:   $length-x !important; }

    // Axes
    .#{$abbrev}-x-#{$size} {
      #{$prop}-right:  $length-x !important;
      #{$prop}-left:   $length-x !important;
    }
    .#{$abbrev}-y-#{$size} {
      #{$prop}-top:    $length-y !important;
      #{$prop}-bottom: $length-y !important;
    }
  }
}

// Positioning

.pos-f-t {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: $zindex-navbar-fixed;
}

Version data entries

10 entries across 10 versions & 3 rubygems

Version Path
geekyll-0.1.2 _sass/geekyll/bootstrap4alpha4/utilities/_spacing.scss
geekyll-0.1.1 _sass/geekyll/bootstrap4alpha4/utilities/_spacing.scss
geekyll-0.1.0 _sass/geekyll/bootstrap4alpha4/utilities/_spacing.scss
geekyll-0.0.9 _sass/geekyll/bootstrap4alpha4/utilities/_spacing.scss
flying_dutchman-0.6.0 vendor/assets/stylesheets/bootstrap/utilities/_spacing.scss
bootstrap-4.0.0.alpha4 assets/stylesheets/bootstrap/utilities/_spacing.scss
flying_dutchman-0.5.0 vendor/assets/stylesheets/bootstrap/utilities/_spacing.scss
flying_dutchman-0.4.0 vendor/assets/stylesheets/bootstrap/utilities/_spacing.scss
flying_dutchman-0.3.0 vendor/assets/stylesheets/bootstrap/utilities/_spacing.scss
bootstrap-4.0.0.alpha3.1 assets/stylesheets/bootstrap/utilities/_spacing.scss