Sha256: 81af3e3e22e94bb257a7a7c4fec37f0164f25cb9e175948c51ae4fde6b9c9b51

Contents?: true

Size: 1.7 KB

Versions: 167

Compression:

Stored size: 1.7 KB

Contents

// Container widths
//
// Set the container width, and override it for fixed navbars in media queries.

@if $enable-grid-classes {
  // Single container class with breakpoint max-widths
  .container,
  // 100% wide container at all breakpoints
  .container-fluid {
    @include make-container();
  }

  // Responsive containers that are 100% wide until a breakpoint
  @each $breakpoint, $container-max-width in $container-max-widths {
    .container-#{$breakpoint} {
      @extend .container-fluid;
    }

    @include media-breakpoint-up($breakpoint, $grid-breakpoints) {
      %responsive-container-#{$breakpoint} {
        max-width: $container-max-width;
      }

      // Extend each breakpoint which is smaller or equal to the current breakpoint
      $extend-breakpoint: true;

      @each $name, $width in $grid-breakpoints {
        @if ($extend-breakpoint) {
          .container#{breakpoint-infix($name, $grid-breakpoints)} {
            @extend %responsive-container-#{$breakpoint};
          }

          // Once the current breakpoint is reached, stop extending
          @if ($breakpoint == $name) {
            $extend-breakpoint: false;
          }
        }
      }
    }
  }
}


// Row
//
// Rows contain your columns.

@if $enable-grid-classes {
  .row {
    @include make-row();
  }

  // Remove the negative margin from default .row, then the horizontal padding
  // from all immediate children columns (to prevent runaway style inheritance).
  .no-gutters {
    margin-right: 0;
    margin-left: 0;

    > .col,
    > [class*="col-"] {
      padding-right: 0;
      padding-left: 0;
    }
  }
}

// Columns
//
// Common styles for small and large grid columns

@if $enable-grid-classes {
  @include make-grid-columns();
}

Version data entries

167 entries across 167 versions & 10 rubygems

Version Path
devops4lib-jekyll-theme-conference-0.0.1 _sass/bootstrap/_grid.scss
jekyll-theme-conference-3.6.6 _sass/bootstrap/_grid.scss
bootstrap-4.6.2.1 assets/stylesheets/bootstrap/_grid.scss
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/bootstrap-4.6.2/assets/stylesheets/bootstrap/_grid.scss
jekyll-theme-conference-3.6.5 _sass/bootstrap/_grid.scss
jekyll-theme-conference-3.6.4 _sass/bootstrap/_grid.scss
jekyll-theme-conference-3.6.3 _sass/bootstrap/_grid.scss
jekyll-theme-conference-3.6.2 _sass/bootstrap/_grid.scss
jekyll-theme-conference-3.6.1 _sass/bootstrap/_grid.scss
jekyll-theme-centos-0.9.20221031122647 _sass/bootstrap/_grid.scss
bootstrap-4.6.2 assets/stylesheets/bootstrap/_grid.scss
nex-bootstrap-4.6.3 assets/stylesheets/bootstrap/_grid.scss
jekyll-theme-centos-0.9.20220805132206 _sass/bootstrap/_grid.scss
jekyll-theme-conference-3.6.0 _sass/bootstrap/_grid.scss
jekyll-theme-centos-0.9.20220227231551 _sass/bootstrap/_grid.scss
jekyll-theme-conference-3.5.0 _sass/bootstrap/_grid.scss
jekyll-theme-conference-3.4.1 _sass/bootstrap/_grid.scss
jekyll-theme-centos-0.9.20220212202853 _sass/bootstrap/_grid.scss
jekyll-theme-centos-0.9.20220212195701 _sass/bootstrap/_grid.scss
jekyll-theme-centos-0.9.20220201124228 _sass/bootstrap/_grid.scss