Make WordPress Core

Ticket #25888: 25888.diff

File 25888.diff, 3.3 KB (added by celloexpressions, 11 years ago)

Add the unprefixed version as well, with a more general comment designed for the long term.

  • wp-content/themes/twentyeleven/style.css

     
    22832283/* =Responsive Structure
    22842284----------------------------------------------- */
    22852285
     2286/* Does the same thing as <meta name="viewport" content="width=device-width">,
     2287 * but in the future W3C standard way. -ms- prefix is required for IE10+ to
     2288 * render responsive styling in Windows 8 "snapped" views; IE10+ does not honor
     2289 * the meta tag. See http://core.trac.wordpress.org/ticket/25888.
     2290 */
     2291@-ms-viewport {
     2292        width: device-width;
     2293}
     2294@viewport {
     2295        width: device-width;
     2296}
     2297
    22862298@media (max-width: 800px) {
    22872299        /* Simplify the basic layout */
    22882300        #main #content {
  • wp-content/themes/twentyfourteen/style.css

     
    28642864 * -----------------------------------------------------------------------------
    28652865 */
    28662866
     2867/* Does the same thing as <meta name="viewport" content="width=device-width">,
     2868 * but in the future W3C standard way. -ms- prefix is required for IE10+ to
     2869 * render responsive styling in Windows 8 "snapped" views; IE10+ does not honor
     2870 * the meta tag. See http://core.trac.wordpress.org/ticket/25888.
     2871 */
     2872@-ms-viewport {
     2873        width: device-width;
     2874}
     2875@viewport {
     2876        width: device-width;
     2877}
     2878
    28672879@media screen and (max-width: 400px) {
    28682880        .list-view .site-content .post-thumbnail {
    28692881                background: none;
  • wp-content/themes/twentythirteen/style.css

     
    25772577 * ----------------------------------------------------------------------------
    25782578 */
    25792579
     2580/* Does the same thing as <meta name="viewport" content="width=device-width">,
     2581 * but in the future W3C standard way. -ms- prefix is required for IE10+ to
     2582 * render responsive styling in Windows 8 "snapped" views; IE10+ does not honor
     2583 * the meta tag. See http://core.trac.wordpress.org/ticket/25888.
     2584 */
     2585@-ms-viewport {
     2586        width: device-width;
     2587}
     2588@viewport {
     2589        width: device-width;
     2590}
     2591
    25802592@media (max-width: 1599px) {
    25812593        .site {
    25822594                border: 0;
  • wp-content/themes/twentytwelve/style.css

     
    14321432/* =Media queries
    14331433-------------------------------------------------------------- */
    14341434
     1435/* Does the same thing as <meta name="viewport" content="width=device-width">,
     1436 * but in the future W3C standard way. -ms- prefix is required for IE10+ to
     1437 * render responsive styling in Windows 8 "snapped" views; IE10+ does not honor
     1438 * the meta tag. See http://core.trac.wordpress.org/ticket/25888.
     1439 */
     1440@-ms-viewport {
     1441        width: device-width;
     1442}
     1443@viewport {
     1444        width: device-width;
     1445}
     1446
    14351447/* Minimum width of 600 pixels. */
    14361448@media screen and (min-width: 600px) {
    14371449        .author-avatar {