0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

move container up in default grid mixin

This commit is contained in:
Mark Otto 2012-02-21 15:21:18 -08:00
parent 8665fa8c50
commit e3ae517555
4 changed files with 13 additions and 11 deletions

Binary file not shown.

View File

@ -174,6 +174,9 @@
float: left;
margin-left: 20px;
}
.container {
width: 724px;
}
.span1 {
width: 42px;
}
@ -246,9 +249,6 @@
.span24 {
width: 1468px;
}
.container {
width: 724px;
}
.offset1 {
margin-left: 82px;
}
@ -607,6 +607,9 @@
float: left;
margin-left: 30px;
}
.container {
width: 1170px;
}
.span1 {
width: 70px;
}
@ -679,9 +682,6 @@
.span24 {
width: 2370px;
}
.container {
width: 1170px;
}
.offset1 {
margin-left: 130px;
}

View File

@ -134,6 +134,9 @@ a:hover {
float: left;
margin-left: 20px;
}
.container {
width: 940px;
}
.span1 {
width: 60px;
}
@ -206,9 +209,6 @@ a:hover {
.span24 {
width: 1900px;
}
.container {
width: 940px;
}
.offset1 {
margin-left: 100px;
}

View File

@ -172,6 +172,10 @@
[class*="span"] {
#gridSystem > .gridColumn(@gridGutterWidth);
}
// Fixed container
.container { #gridSystem > .columns(@gridGutterWidth, @gridColumnWidth, @gridRowWidth, @gridColumns); }
// Default columns
.span1 { #gridSystem > .columns(@gridGutterWidth, @gridColumnWidth, @gridRowWidth, 1); }
.span2 { #gridSystem > .columns(@gridGutterWidth, @gridColumnWidth, @gridRowWidth, 2); }
@ -198,8 +202,6 @@
.span23 { #gridSystem > .columns(@gridGutterWidth, @gridColumnWidth, @gridRowWidth, 23); }
.span24 { #gridSystem > .columns(@gridGutterWidth, @gridColumnWidth, @gridRowWidth, 24); }
.container { #gridSystem > .columns(@gridGutterWidth, @gridColumnWidth, @gridRowWidth, @gridColumns); }
// Offset column options
.offset1 { #gridSystem > .offset(@gridColumnWidth, @gridGutterWidth, 1); }
.offset2 { #gridSystem > .offset(@gridColumnWidth, @gridGutterWidth, 2); }