diff options
| author | Mark Otto <[email protected]> | 2012-01-31 13:16:11 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-01-31 13:16:11 -0800 |
| commit | cfc1c8a8cd69e86dc70a48766cd7cd318537dee3 (patch) | |
| tree | 10b6b83955ed58dbf83d67f4e56a7adb7cdf2028 /less/responsive.less | |
| parent | 09b9b8a586edf7463bb3bb0a88d29e5e41f4e4a5 (diff) | |
| download | bootstrap-cfc1c8a8cd69e86dc70a48766cd7cd318537dee3.tar.xz bootstrap-cfc1c8a8cd69e86dc70a48766cd7cd318537dee3.zip | |
clean up responsive media queries and docs css
Diffstat (limited to 'less/responsive.less')
| -rw-r--r-- | less/responsive.less | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/less/responsive.less b/less/responsive.less index 0f45c0985..7d494a357 100644 --- a/less/responsive.less +++ b/less/responsive.less @@ -38,6 +38,11 @@ @media (max-width: 480px) { + // Smooth out the collapsing/expanding nav + .nav-collapse { + -webkit-transform: translate3d(0, 0, 0); // activate the GPU + } + // Block level the page header small tag for readability .page-header h1 small { display: block; @@ -149,7 +154,7 @@ // PORTRAIT TABLET TO DEFAULT DESKTOP // ---------------------------------- -@media (min-width: 768px) and (max-width: 940px) { +@media (min-width: 768px) and (max-width: 980px) { // Fixed grid #gridSystem > .generate(12, 42px, 20px); @@ -166,7 +171,7 @@ // TABLETS AND BELOW // ----------------- -@media (max-width: 940px) { +@media (max-width: 980px) { // UNFIX THE TOPBAR // ---------------- @@ -277,7 +282,6 @@ .nav-collapse { overflow: hidden; height: 0; - -webkit-transform: translate3d(0, 0, 0); // activate the GPU } } @@ -286,7 +290,7 @@ // DEFAULT DESKTOP // --------------- -@media (min-width: 940px) { +@media (min-width: 980px) { .nav-collapse.collapse { height: auto !important; } |
