2012-06-29 12:46:45 +08:00
|
|
|
//
|
|
|
|
// Grid system
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
|
2012-08-29 04:33:06 +08:00
|
|
|
// Set the container width, and override it for fixed navbars in media queries
|
2012-12-01 04:42:37 +08:00
|
|
|
.container {
|
2012-12-01 08:18:40 +08:00
|
|
|
.container-fixed();
|
2012-12-01 04:42:37 +08:00
|
|
|
max-width: 940px;
|
|
|
|
}
|
2012-01-30 05:06:57 +08:00
|
|
|
|
2013-01-16 09:55:14 +08:00
|
|
|
// Mobile-first defaults
|
|
|
|
.row {
|
|
|
|
margin-left: -10px;
|
|
|
|
margin-right: -10px;
|
|
|
|
.clear_float();
|
|
|
|
}
|
|
|
|
[class^="span"] {
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2012-08-29 04:33:06 +08:00
|
|
|
// Fixed (940px)
|
2013-01-16 09:55:14 +08:00
|
|
|
// #grid > .core(@grid-column-width, @grid-gutter-width, @grid-row-width);
|
2012-07-30 07:51:24 +08:00
|
|
|
|
|
|
|
// Reset utility classes due to specificity
|
2012-09-26 13:20:24 +08:00
|
|
|
[class*="span"].pull-right {
|
2012-07-30 07:51:24 +08:00
|
|
|
float: right;
|
|
|
|
}
|