1
Fork 0
lorchess.ru/_assets/vendor/bootstrap/less/grid.less

85 lines
1.4 KiB
Plaintext
Raw Normal View History

2014-01-24 13:24:23 +04:00
//
// Grid system
// --------------------------------------------------
2014-04-17 22:36:17 +04:00
// Container widths
//
// Set the container width, and override it for fixed navbars in media queries.
2014-01-24 13:24:23 +04:00
.container {
.container-fixed();
2014-04-17 22:36:17 +04:00
@media (min-width: @screen-sm-min) {
2014-01-24 13:24:23 +04:00
width: @container-sm;
}
2014-04-17 22:36:17 +04:00
@media (min-width: @screen-md-min) {
2014-01-24 13:24:23 +04:00
width: @container-md;
}
@media (min-width: @screen-lg-min) {
width: @container-lg;
}
}
2014-04-17 22:36:17 +04:00
// 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.
2014-01-24 13:24:23 +04:00
.row {
.make-row();
}
2014-04-17 22:36:17 +04:00
// Columns
//
2014-01-24 13:24:23 +04:00
// Common styles for small and large grid columns
2014-04-17 22:36:17 +04:00
2014-01-24 13:24:23 +04:00
.make-grid-columns();
// Extra small grid
//
// Columns, offsets, pushes, and pulls for extra small devices like
// smartphones.
2014-04-17 22:36:17 +04:00
.make-grid(xs);
2014-01-24 13:24:23 +04:00
// Small grid
//
// Columns, offsets, pushes, and pulls for the small device range, from phones
// to tablets.
@media (min-width: @screen-sm-min) {
2014-04-17 22:36:17 +04:00
.make-grid(sm);
2014-01-24 13:24:23 +04:00
}
// Medium grid
//
// Columns, offsets, pushes, and pulls for the desktop device range.
@media (min-width: @screen-md-min) {
2014-04-17 22:36:17 +04:00
.make-grid(md);
2014-01-24 13:24:23 +04:00
}
// Large grid
//
// Columns, offsets, pushes, and pulls for the large desktop device range.
@media (min-width: @screen-lg-min) {
2014-04-17 22:36:17 +04:00
.make-grid(lg);
2014-01-24 13:24:23 +04:00
}