aboutsummaryrefslogtreecommitdiff
path: root/bootstrap.css
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2011-12-09 14:39:23 -0800
committerMark Otto <[email protected]>2011-12-09 14:39:23 -0800
commit4d55356e9b476cbfea5eb2ea01099dc19a5fc5f4 (patch)
treecaa220823cd1ad1eb2a7c9bdea4e3331a8568791 /bootstrap.css
parent5c8df1d2858c3d5f2cc65a80acaef5312b1ae87f (diff)
downloadbootstrap-4d55356e9b476cbfea5eb2ea01099dc19a5fc5f4.tar.xz
bootstrap-4d55356e9b476cbfea5eb2ea01099dc19a5fc5f4.zip
remove uber large responsive stuff
Diffstat (limited to 'bootstrap.css')
-rw-r--r--bootstrap.css124
1 files changed, 49 insertions, 75 deletions
diff --git a/bootstrap.css b/bootstrap.css
index 0c1c02566..6cfb0fbf9 100644
--- a/bootstrap.css
+++ b/bootstrap.css
@@ -6,7 +6,7 @@
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
- * Date: Fri Dec 9 13:29:05 PST 2011
+ * Date: Fri Dec 9 14:39:08 PST 2011
*/
html, body {
margin: 0;
@@ -2684,83 +2684,57 @@ button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner {
margin-left: 768px;
}
}
+/*
@media (min-width: 1210px) {
- .container {
- width: 1170px;
- }
- [class*="span"] {
- margin-left: 30px;
- }
- .span1 {
- width: 70px;
- }
- .span2 {
- width: 170px;
- }
- .span3 {
- width: 270px;
- }
- .span4 {
- width: 370px;
- }
- .span5 {
- width: 470px;
- }
- .span6 {
- width: 570px;
- }
- .span7 {
- width: 670px;
- }
- .span8 {
- width: 770px;
- }
- .span9 {
- width: 870px;
- }
- .span10 {
- width: 970px;
- }
- .span11 {
- width: 1070px;
- }
- .span12 {
- width: 1170px;
- }
- .offset1 {
- margin-left: 100px;
- }
- .offset2 {
- margin-left: 200px;
- }
- .offset3 {
- margin-left: 300px;
- }
- .offset4 {
- margin-left: 400px;
- }
- .offset5 {
- margin-left: 500px;
- }
- .offset6 {
- margin-left: 600px;
- }
- .offset7 {
- margin-left: 700px;
- }
- .offset8 {
- margin-left: 800px;
+
+ // Reset grid variables
+ @gridColumns: 12;
+ @gridColumnWidth: 70px;
+ @gridGutterWidth: 30px;
+ @siteWidth: 1170px;
+
+ // Bring grid mixins to recalculate widths
+ .columns(@columnSpan: 1) {
+ width: (@gridColumnWidth * @columnSpan) + (@gridGutterWidth * (@columnSpan - 1));
}
- .offset9 {
- margin-left: 900px;
+ .offset(@columnOffset: 1) {
+ margin-left: (@gridColumnWidth * @columnOffset) + (@gridGutterWidth * (@columnOffset - 1)) + @gridGutterWidth;
}
- .offset10 {
- margin-left: 1000px;
- }
- .offset11 {
- margin-left: 1100px;
+
+ .container {
+ width: @siteWidth;
}
- .offset12 {
- margin-left: 1200px;
+ [class*="span"] {
+ margin-left: @gridGutterWidth;
}
+
+ // Default columns
+ .span1 { .columns(1); }
+ .span2 { .columns(2); }
+ .span3 { .columns(3); }
+ .span4 { .columns(4); }
+ .span5 { .columns(5); }
+ .span6 { .columns(6); }
+ .span7 { .columns(7); }
+ .span8 { .columns(8); }
+ .span9 { .columns(9); }
+ .span10 { .columns(10); }
+ .span11 { .columns(11); }
+ .span12 { .columns(12); }
+
+ // Offset column options
+ .offset1 { .offset(1); }
+ .offset2 { .offset(2); }
+ .offset3 { .offset(3); }
+ .offset4 { .offset(4); }
+ .offset5 { .offset(5); }
+ .offset6 { .offset(6); }
+ .offset7 { .offset(7); }
+ .offset8 { .offset(8); }
+ .offset9 { .offset(9); }
+ .offset10 { .offset(10); }
+ .offset11 { .offset(11); }
+ .offset12 { .offset(12); }
+
}
+*/