From f1e29fdd20fd54d87052cde0b51452dc4ac8df61 Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Sat, 9 Nov 2013 23:20:09 +0000 Subject: [PATCH] Bundled Themes: implement Microsoft-specific `@viewport` rules for better responsive styling in Windows 8 "snapped" views. Props celloexpressions, fixes #25888. Built from https://develop.svn.wordpress.org/trunk@26070 git-svn-id: http://core.svn.wordpress.org/trunk@25990 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- style.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/style.css b/style.css index 4786b5017..451990ce0 100644 --- a/style.css +++ b/style.css @@ -1432,6 +1432,18 @@ img#wpstats { /* =Media queries -------------------------------------------------------------- */ +/* Does the same thing as , + * but in the future W3C standard way. -ms- prefix is required for IE10+ to + * render responsive styling in Windows 8 "snapped" views; IE10+ does not honor + * the meta tag. See http://core.trac.wordpress.org/ticket/25888. + */ +@-ms-viewport { + width: device-width; +} +@viewport { + width: device-width; +} + /* Minimum width of 600 pixels. */ @media screen and (min-width: 600px) { .author-avatar {