summaryrefslogtreecommitdiff
path: root/bower_components/bootstrap/less/grid.less
diff options
context:
space:
mode:
Diffstat (limited to 'bower_components/bootstrap/less/grid.less')
-rw-r--r--bower_components/bootstrap/less/grid.less31
1 files changed, 26 insertions, 5 deletions
diff --git a/bower_components/bootstrap/less/grid.less b/bower_components/bootstrap/less/grid.less
index 279d8036..88957f42 100644
--- a/bower_components/bootstrap/less/grid.less
+++ b/bower_components/bootstrap/less/grid.less
@@ -2,14 +2,18 @@
// Grid system
// --------------------------------------------------
-// Set the container width, and override it for fixed navbars in media queries
+
+// Container widths
+//
+// Set the container width, and override it for fixed navbars in media queries.
+
.container {
.container-fixed();
- @media (min-width: @screen-sm) {
+ @media (min-width: @screen-sm-min) {
width: @container-sm;
}
- @media (min-width: @screen-md) {
+ @media (min-width: @screen-md-min) {
width: @container-md;
}
@media (min-width: @screen-lg-min) {
@@ -17,12 +21,30 @@
}
}
-// mobile first defaults
+
+// Fluid container
+//
+// Utilizes the mixin meant for fixed width containers, but without any defined
+// width for fluid, full width layouts.
+
+.container-fluid {
+ .container-fixed();
+}
+
+
+// Row
+//
+// Rows contain and clear the floats of your columns.
+
.row {
.make-row();
}
+
+// Columns
+//
// Common styles for small and large grid columns
+
.make-grid-columns();
@@ -76,4 +98,3 @@
.make-grid(@grid-columns, lg, push);
.make-grid(@grid-columns, lg, offset);
}
-