1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-29 16:19:53 +02:00

more responsive tweaks for tablet

This commit is contained in:
Mark Otto
2012-01-28 18:25:05 -08:00
parent 4fa931e403
commit e532228721
2 changed files with 33 additions and 36 deletions

View File

@@ -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;