From 00d6f26270485cde0fb8474b76396eb81cd97eff Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 31 Aug 2012 23:12:02 -0700 Subject: [PATCH] fixes #4896: reflect media query order in docs --- docs/scaffolding.html | 50 +++++++++++------------ docs/templates/pages/scaffolding.mustache | 50 +++++++++++------------ 2 files changed, 50 insertions(+), 50 deletions(-) diff --git a/docs/scaffolding.html b/docs/scaffolding.html index a78b1b5b47..d734ea5aed 100644 --- a/docs/scaffolding.html +++ b/docs/scaffolding.html @@ -413,20 +413,10 @@ - Phones - 480px and below - Fluid columns, no fixed widths - - - Phones to tablets - 767px and below - Fluid columns, no fixed widths - - - Portrait tablets - 768px and above - 42px - 20px + Large display + 1200px and up + 70px + 30px Default @@ -435,25 +425,35 @@ 20px - Large display - 1200px and up - 70px - 30px + Portrait tablets + 768px and above + 42px + 20px + + + Phones to tablets + 767px and below + Fluid columns, no fixed widths + + + 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,20 +345,10 @@ - {{_i}}Phones{{/i}} - 480px and below - {{_i}}Fluid columns, no fixed widths{{/i}} - - - {{_i}}Phones to tablets{{/i}} - 767px and below - {{_i}}Fluid columns, no fixed widths{{/i}} - - - {{_i}}Portrait tablets{{/i}} - 768px and above - 42px - 20px + {{_i}}Large display{{/i}} + 1200px and up + 70px + 30px {{_i}}Default{{/i}} @@ -367,25 +357,35 @@ 20px - {{_i}}Large display{{/i}} - 1200px and up - 70px - 30px + {{_i}}Portrait tablets{{/i}} + 768px and above + 42px + 20px + + + {{_i}}Phones to tablets{{/i}} + 767px and below + {{_i}}Fluid columns, no fixed widths{{/i}} + + + {{_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) { ... }