Sha256: 8e74fa8d8df63e560b0485d068519e1d6e5a4c3d0093ec61616d369f9cc9feed

Contents?: true

Size: 1.71 KB

Versions: 67

Compression:

Stored size: 1.71 KB

Contents

// stylelint-disable primer/selector-no-utility, primer/no-override
//
// 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

67 entries across 67 versions & 6 rubygems

Version Path
jekyll-cessda-docs-0.1.11 _sass/utilities/_layout.scss
jekyll-cessda-docs-0.1.11.pre.d2f3089c74b3bfd3d3624d702cb07401036885ff _sass/utilities/_layout.scss
jekyll-cessda-docs-0.1.10.pre.d82c42ba9ed332418f362da4ebd6622718985a14 _sass/utilities/_layout.scss
jekyll-cessda-docs-0.1.10.pre.f39e7bdab5c9aaaac9b9c7b2d6d4224de53bbc62 _sass/utilities/_layout.scss
jekyll-cessda-docs-0.1.10.pre.d587f893cc63298eb1de3c47b89bca57ff44de3f _sass/utilities/_layout.scss
jekyll-cessda-docs-0.1.10 _sass/utilities/_layout.scss
jekyll-cessda-docs-0.1.10.pre.2706e0c723ff44067ba8e667ac3e44e9269e39e4 _sass/utilities/_layout.scss
jekyll-cessda-docs-0.1.10.pre.f77bbe9cb46f31a0330b9cfa0d97f2f030f0677a _sass/utilities/_layout.scss
jekyll-cessda-docs-0.1.9 _sass/utilities/_layout.scss
jekyll-cessda-docs-0.1.10.pre.1ed94d588429435ee094e916854b74478a0f0f3c _sass/utilities/_layout.scss
fni-docs-theme-0.6.2 _sass/utilities/_layout.scss
jekyll-cessda-docs-0.1.9.pre.3921eeadb29289508ff731890440707b3eddfe8d _sass/utilities/_layout.scss
jekyll-cessda-docs-0.1.9.pre.2434228f437aa2f078a66797f886e5a19d17476d _sass/utilities/_layout.scss
jekyll-cessda-docs-0.1.8.pre.d83ed94d3f7a697ed5b8224a5538c97f35dcb7ac _sass/utilities/_layout.scss
fni-docs-theme-0.6.1 _sass/utilities/_layout.scss
fni-docs-theme-0.6.0 _sass/utilities/_layout.scss
fni-docs-theme-0.5.0 _sass/utilities/_layout.scss
fni-docs-theme-0.4.3 _sass/utilities/_layout.scss
fni-docs-theme-0.4.2 _sass/utilities/_layout.scss
jekyll-cessda-docs-0.1.8 _sass/utilities/_layout.scss