Sha256: a88de582d69e7525d3903d7fc1fe4b2da537a72f8e5c0d148db9ef8b24a34435

Contents?: true

Size: 1.65 KB

Versions: 32

Compression:

Stored size: 1.65 KB

Contents

// Utility classes for layout

// Display

.d-block {
  display: block !important;
}

.d-flex {
  display: flex !important;
}

.d-inline {
  display: inline !important;
}

.d-inline-block {
  display: inline-block !important;
}

.d-none {
  display: none !important;
}

@each $media-query in map-keys($media-queries) {
  @for $i from 1 through length($spacers) {
    @include mq($media-query) {
      $size: #{map-get($spacers, sp-#{$i - 1})};
      $scale: #{$i - 1};

      // .d-sm-block, .d-md-none, .d-lg-inline
      .d-#{$media-query}-block {
        display: block !important;
      }
      .d-#{$media-query}-flex {
        display: flex !important;
      }
      .d-#{$media-query}-inline {
        display: inline !important;
      }
      .d-#{$media-query}-inline-block {
        display: inline-block !important;
      }
      .d-#{$media-query}-none {
        display: none !important;
      }
    }
  }
}

// Horizontal alignment

.float-left {
  float: left !important;
}

.float-right {
  float: right !important;
}

.flex-justify-start {
  justify-content: flex-start !important;
}

.flex-justify-end {
  justify-content: flex-end !important;
}

.flex-justify-between {
  justify-content: space-between !important;
}

.flex-justify-around {
  justify-content: space-around !important;
}

// Vertical alignment

.v-align-baseline {
  vertical-align: baseline !important;
}

.v-align-bottom {
  vertical-align: bottom !important;
}

.v-align-middle {
  vertical-align: middle !important;
}

.v-align-text-bottom {
  vertical-align: text-bottom !important;
}

.v-align-text-top {
  vertical-align: text-top !important;
}

.v-align-top {
  vertical-align: top !important;
}

Version data entries

32 entries across 32 versions & 4 rubygems

Version Path
just-the-docs-0.10.1 _sass/utilities/_layout.scss
just-the-docs-0.10.0 _sass/utilities/_layout.scss
just-the-docs-0.9.0 _sass/utilities/_layout.scss
opendevsecops-jekyll-0.1.2 _sass/utilities/_layout.scss
opendevsecops-jekyll-0.1.1 _sass/utilities/_layout.scss
opendevsecops-jekyll-0.1.0 _sass/utilities/_layout.scss
just-the-docs-0.8.2 _sass/utilities/_layout.scss
just-the-docs-0.8.1 _sass/utilities/_layout.scss
just-the-docs-0.8.0 _sass/utilities/_layout.scss
just-the-docs-0.7.0 _sass/utilities/_layout.scss
just-the-docs-0.6.2 _sass/utilities/_layout.scss
just-the-docs-0.6.1 _sass/utilities/_layout.scss
just-the-docs-0.6.0 _sass/utilities/_layout.scss
just-the-docs-0.5.4 _sass/utilities/_layout.scss
just-the-docs-peter-0.1.3 _sass/utilities/_layout.scss
just-the-docs-peter-0.1.2 _sass/utilities/_layout.scss
just-the-docs-peter-0.1.1 _sass/utilities/_layout.scss
just-the-docs-0.5.3 _sass/utilities/_layout.scss
just-the-docs-0.5.2 _sass/utilities/_layout.scss
just-the-docs-0.5.1 _sass/utilities/_layout.scss