From 81b6ddd432c84a66cbe9c0d9845cad6b4285b632 Mon Sep 17 00:00:00 2001 From: Jonathan Smiley Date: Tue, 7 Feb 2012 10:17:35 -0800 Subject: [PATCH] Fixed the media queries for mobile visibility - now requires modernizer for correct tablet detection in all cases. --- stylesheets/mobile.css | 9 --------- 1 file changed, 9 deletions(-) diff --git a/stylesheets/mobile.css b/stylesheets/mobile.css index f1917c39ce..83cc4efa53 100644 --- a/stylesheets/mobile.css +++ b/stylesheets/mobile.css @@ -78,15 +78,6 @@ .hide-on-tablets { display: block !important; } .hide-on-desktops { display: none !important; } - @media only screen and (max-device-width: 800px), only screen and (device-width: 1024px) and (device-height: 600px), only screen and (width: 1280px) and (orientation: landscape), only screen and (device-width: 800px) { - .hide-on-phones { display: block !important; } - .hide-on-tablets { display: none !important; } - .hide-on-desktops { display: block !important; } - - .show-on-phones { display: none !important; } - .show-on-tablets { display: block !important; } - .show-on-desktops { display: none !important; } - } /* Modernizr-enabled tablet targeting */ @media only screen and (max-width: 1280px) and (min-width: 768px) {