From: Mark Otto Date: Sat, 1 Sep 2012 06:12:02 +0000 (-0700) Subject: fixes #4896: reflect media query order in docs X-Git-Tag: v2.1.1~20 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=00d6f26270485cde0fb8474b76396eb81cd97eff;p=thirdparty%2Fbootstrap.git fixes #4896: reflect media query order in docs --- diff --git a/docs/scaffolding.html b/docs/scaffolding.html index a78b1b5b47..d734ea5aed 100644 --- a/docs/scaffolding.html +++ b/docs/scaffolding.html @@ -413,14 +413,16 @@ - Phones - 480px and below - Fluid columns, no fixed widths + Large display + 1200px and up + 70px + 30px - Phones to tablets - 767px and below - Fluid columns, no fixed widths + Default + 980px and up + 60px + 20px Portrait tablets @@ -429,31 +431,29 @@ 20px - Default - 980px and up - 60px - 20px + Phones to tablets + 767px and below + Fluid columns, no fixed widths - Large display - 1200px and up - 70px - 30px + Phones + 480px and below + Fluid columns, no fixed widths
-/* Landscape phones and down */
-@media (max-width: 480px) { ... }
-
-/* Landscape phone to portrait tablet */
-@media (max-width: 767px) { ... }
+/* Large desktop */
+@media (min-width: 1200px) { ... }
 
 /* Portrait tablet to landscape and desktop */
 @media (min-width: 768px) and (max-width: 979px) { ... }
 
-/* Large desktop */
-@media (min-width: 1200px) { ... }
+/* Landscape phone to portrait tablet */
+@media (max-width: 767px) { ... }
+
+/* Landscape phones and down */
+@media (max-width: 480px) { ... }
 
diff --git a/docs/templates/pages/scaffolding.mustache b/docs/templates/pages/scaffolding.mustache index 3fb7841b13..f32581faa0 100644 --- a/docs/templates/pages/scaffolding.mustache +++ b/docs/templates/pages/scaffolding.mustache @@ -345,14 +345,16 @@ - {{_i}}Phones{{/i}} - 480px and below - {{_i}}Fluid columns, no fixed widths{{/i}} + {{_i}}Large display{{/i}} + 1200px and up + 70px + 30px - {{_i}}Phones to tablets{{/i}} - 767px and below - {{_i}}Fluid columns, no fixed widths{{/i}} + {{_i}}Default{{/i}} + 980px and up + 60px + 20px {{_i}}Portrait tablets{{/i}} @@ -361,31 +363,29 @@ 20px - {{_i}}Default{{/i}} - 980px and up - 60px - 20px + {{_i}}Phones to tablets{{/i}} + 767px and below + {{_i}}Fluid columns, no fixed widths{{/i}} - {{_i}}Large display{{/i}} - 1200px and up - 70px - 30px + {{_i}}Phones{{/i}} + 480px and below + {{_i}}Fluid columns, no fixed widths{{/i}}
-/* {{_i}}Landscape phones and down{{/i}} */
-@media (max-width: 480px) { ... }
-
-/* {{_i}}Landscape phone to portrait tablet{{/i}} */
-@media (max-width: 767px) { ... }
+/* {{_i}}Large desktop{{/i}} */
+@media (min-width: 1200px) { ... }
 
 /* {{_i}}Portrait tablet to landscape and desktop{{/i}} */
 @media (min-width: 768px) and (max-width: 979px) { ... }
 
-/* {{_i}}Large desktop{{/i}} */
-@media (min-width: 1200px) { ... }
+/* {{_i}}Landscape phone to portrait tablet{{/i}} */
+@media (max-width: 767px) { ... }
+
+/* {{_i}}Landscape phones and down{{/i}} */
+@media (max-width: 480px) { ... }