2012-06-29 04:46:45 +00:00
|
|
|
//
|
|
|
|
// Grid system
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
|
2012-08-28 20:33:06 +00:00
|
|
|
// Set the container width, and override it for fixed navbars in media queries
|
2012-11-30 20:42:37 +00:00
|
|
|
.container {
|
2012-12-01 00:18:40 +00:00
|
|
|
.container-fixed();
|
2012-11-30 20:42:37 +00:00
|
|
|
}
|
2012-01-29 21:06:57 +00:00
|
|
|
|
2013-01-16 01:55:14 +00:00
|
|
|
// Mobile-first defaults
|
|
|
|
.row {
|
2013-03-16 06:21:10 +00:00
|
|
|
.make-row();
|
2013-01-16 01:55:14 +00:00
|
|
|
}
|
2013-04-03 02:40:43 +00:00
|
|
|
[class*="col-span-"],
|
|
|
|
[class*="col-small-"] {
|
2013-03-16 06:21:10 +00:00
|
|
|
position: relative;
|
2013-01-16 21:11:45 +00:00
|
|
|
min-height: 1px;
|
2013-03-06 16:38:20 +00:00
|
|
|
padding-left: (@grid-gutter-width / 2);
|
|
|
|
padding-right: (@grid-gutter-width / 2);
|
2013-01-16 01:55:14 +00:00
|
|
|
}
|
|
|
|
|
2013-04-03 02:40:43 +00:00
|
|
|
[class*="col-small-"] {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
.generate-small-grid-columns(@grid-columns);
|
|
|
|
|
2013-01-17 08:42:31 +00:00
|
|
|
// Responsive: Tablets and up
|
|
|
|
@media screen and (min-width: 768px) {
|
2013-01-17 08:58:34 +00:00
|
|
|
.container {
|
|
|
|
max-width: 728px;
|
|
|
|
}
|
2013-01-17 18:49:10 +00:00
|
|
|
// Generate the grid columns and offsets
|
2013-04-03 02:40:43 +00:00
|
|
|
[class*="col-span-"] {
|
|
|
|
float: left;
|
|
|
|
}
|
2013-03-16 06:21:10 +00:00
|
|
|
.generate-grid-columns(@grid-columns);
|
2013-01-17 08:42:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Responsive: Desktops and up
|
|
|
|
@media screen and (min-width: 992px) {
|
|
|
|
.container {
|
|
|
|
max-width: 940px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Responsive: Large desktops and up
|
|
|
|
@media screen and (min-width: 1200px) {
|
|
|
|
.container {
|
|
|
|
max-width: 1170px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-07-29 23:51:24 +00:00
|
|
|
// Reset utility classes due to specificity
|
2013-03-27 00:12:17 +00:00
|
|
|
[class*="col-span-"].pull-right {
|
2012-07-29 23:51:24 +00:00
|
|
|
float: right;
|
|
|
|
}
|