aboutsummaryrefslogtreecommitdiff
path: root/less/responsive.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-01-28 18:25:05 -0800
committerMark Otto <[email protected]>2012-01-28 18:25:05 -0800
commite532228721734492d6f2741f729525cc1bb3c77c (patch)
tree6fdd617f776fed0cb594c92bec92be8b92ff8859 /less/responsive.less
parent4fa931e403ec3ae2f8f7f690c6c4040365f68ba9 (diff)
downloadbootstrap-e532228721734492d6f2741f729525cc1bb3c77c.tar.xz
bootstrap-e532228721734492d6f2741f729525cc1bb3c77c.zip
more responsive tweaks for tablet
Diffstat (limited to 'less/responsive.less')
-rw-r--r--less/responsive.less14
1 files changed, 7 insertions, 7 deletions
diff --git a/less/responsive.less b/less/responsive.less
index 0955710b6..fba5b3656 100644
--- a/less/responsive.less
+++ b/less/responsive.less
@@ -135,10 +135,10 @@
@media (min-width: 768px) and (max-width: 940px) {
// Reset grid variables
- @gridColumns: 16;
- @gridColumnWidth: 44px;
+ @gridColumns: 12;
+ @gridColumnWidth: 42px;
@gridGutterWidth: 20px;
- @siteWidth: 748px;
+ @siteWidth: 724px;
// Bring grid mixins to recalculate widths
.columns(@columns: 1) {
@@ -148,11 +148,11 @@
margin-left: (@gridColumnWidth * @columns) + (@gridGutterWidth * (@columns - 1)) + (@gridGutterWidth * 2);
}
- // 16cols at 30px wide with 16px gutters
+ // 12cols at 44px wide with 20px gutters
.container {
width: @siteWidth;
- padding-left: 10px;
- padding-right: 10px;
+ padding-left: 20px;
+ padding-right: 20px;
}
// Default columns
@@ -181,7 +181,6 @@
.offset9 { .offset(9); }
.offset10 { .offset(10); }
.offset11 { .offset(11); }
- .offset12 { .offset(12); }
}
@@ -295,6 +294,7 @@
display: block;
}
+ // Hide everything in the navbar save .brand and toggle button */
.nav-collapse {
overflow: hidden;
height: 0;