mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-30 22:52:24 +01:00
53 lines
986 B
SCSS
53 lines
986 B
SCSS
// Container widths
|
|
//
|
|
// Set the container width, and override it for fixed navbars in media queries.
|
|
|
|
@if $enable-grid-classes {
|
|
.container {
|
|
@include make-container();
|
|
@include make-container-max-widths();
|
|
}
|
|
}
|
|
|
|
// Fluid container
|
|
//
|
|
// Utilizes the mixin meant for fixed width containers, but without any defined
|
|
// width for fluid, full width layouts.
|
|
|
|
@if $enable-grid-classes {
|
|
.container-fluid {
|
|
@include make-container();
|
|
}
|
|
}
|
|
|
|
// Row
|
|
//
|
|
// Rows contain and clear the floats of your columns.
|
|
|
|
@if $enable-grid-classes {
|
|
.row {
|
|
@include make-row();
|
|
}
|
|
}
|
|
|
|
|
|
// Columns
|
|
//
|
|
// Common styles for small and large grid columns
|
|
|
|
@if $enable-grid-classes {
|
|
.col {
|
|
position: relative;
|
|
min-height: 1px;
|
|
padding-right: ($grid-gutter-width / 2);
|
|
padding-left: ($grid-gutter-width / 2);
|
|
|
|
// Allow `.col` to use an automatic, even width when flex mode is enabled
|
|
@if $enable-flex {
|
|
flex: 1;
|
|
}
|
|
}
|
|
|
|
@include make-grid-columns();
|
|
}
|