mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-05 16:42:29 +03:00
Move grid/container styles to grid.less; update docs; add offsetting back
This commit is contained in:
Vendored
-46
@@ -59,52 +59,6 @@
|
||||
@import "utilities.less"; // Has to be last to override when necessary
|
||||
|
||||
|
||||
// Responsive: Tablets and up
|
||||
@media screen and (min-width: 768px) {
|
||||
|
||||
[class^="span"] {
|
||||
float: left;
|
||||
}
|
||||
.span1 { width: 8.3333333%; }
|
||||
.span2 { width: 16.6666667%; }
|
||||
.span3 { width: 25%; }
|
||||
.span4 { width: 33.3333333%; }
|
||||
.span5 { width: 41.666666667%; }
|
||||
.span6 { width: 50%; }
|
||||
.span7 { width: 58.333333333%; }
|
||||
.span8 { width: 66.666666667%; }
|
||||
.span9 { width: 75%; }
|
||||
.span10 { width: 83.333333333%; }
|
||||
.span11 { width: 91.666666667%; }
|
||||
|
||||
}
|
||||
|
||||
// Responsive: Desktops and up
|
||||
@media screen and (min-width: 992px) {
|
||||
|
||||
/* body {
|
||||
font-size: 1.6rem;
|
||||
font-size: 16px;
|
||||
}
|
||||
*/
|
||||
.container {
|
||||
max-width: 940px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// Responsive: Large desktops and up
|
||||
@media screen and (min-width: 1200px) {
|
||||
|
||||
.container {
|
||||
max-width: 1170px;
|
||||
}
|
||||
[class^="span"] {
|
||||
padding-left: 15px;
|
||||
padding-right: 15px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
// Responsive
|
||||
|
||||
Reference in New Issue
Block a user