mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
35 lines
732 B
Plaintext
35 lines
732 B
Plaintext
//
|
|
// Grid system
|
|
// --------------------------------------------------
|
|
|
|
|
|
// Set the container width, and override it for fixed navbars in media queries
|
|
.container {
|
|
.container-fixed();
|
|
max-width: 940px;
|
|
}
|
|
|
|
// Mobile-first defaults
|
|
.row {
|
|
margin-left: -10px;
|
|
margin-right: -10px;
|
|
.clear_float();
|
|
}
|
|
[class^="span"] {
|
|
min-height: 1px;
|
|
padding-left: 10px;
|
|
padding-right: 10px;
|
|
// Proper box-model (padding doesn't add to width)
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
// Fixed (940px)
|
|
// #grid > .core(@grid-column-width, @grid-gutter-width, @grid-row-width);
|
|
|
|
// Reset utility classes due to specificity
|
|
[class*="span"].pull-right {
|
|
float: right;
|
|
}
|