Ticket #38722: 38722.patch
File 38722.patch, 2.3 KB (added by , 8 years ago) |
---|
-
src/wp-content/themes/twentyseventeen/assets/css/ie9.css
1 /* 2 Theme Name: Twenty Seventeen 3 Description: IE9 specific styles. 4 */ 5 6 .has-header-image.twentyseventeen-front-page .custom-header, 7 .has-header-image.home.blog .custom-header { 8 height: 300px; 9 } 10 11 .has-header-image .custom-header-image img, 12 .has-header-image .custom-header-image video, 13 .has-header-image .custom-header-image iframe { 14 min-width: 100%; 15 } 16 17 @media screen and (min-width: 30em) { 18 19 .has-header-image.twentyseventeen-front-page .custom-header, 20 .has-header-image.home.blog .custom-header, 21 .twentyseventeen-front-page.has-header-image .custom-header-image, 22 .home.blog.has-header-image .custom-header-image, 23 .panel-image { 24 height: 700px; 25 } 26 } 27 28 @media screen and (min-width: 48em) { 29 30 .has-header-image.twentyseventeen-front-page .custom-header, 31 .has-header-image.home.blog .custom-header, 32 .twentyseventeen-front-page.has-header-image .custom-header-image, 33 .home.blog.has-header-image .custom-header-image, 34 .panel-image { 35 height: 1000px; 36 } 37 } -
src/wp-content/themes/twentyseventeen/functions.php
356 356 wp_enqueue_style( 'twentyseventeen-colors-dark', get_theme_file_uri( '/assets/css/colors-dark.css' ), array( 'twentyseventeen-style' ), '1.0' ); 357 357 } 358 358 359 // Load the Internet Explorer 9 specific stylesheet, to fix display issues in the Customizer. 360 if ( is_customize_preview() ) { 361 wp_enqueue_style( 'twentyseventeen-ie9', get_theme_file_uri( '/assets/css/ie9.css' ), array( 'twentyseventeen-style' ), '1.0' ); 362 wp_style_add_data( 'twentyseventeen-ie9', 'conditional', 'IE 9' ); 363 } 364 359 365 // Load the Internet Explorer 8 specific stylesheet. 360 366 wp_enqueue_style( 'twentyseventeen-ie8', get_theme_file_uri( '/assets/css/ie8.css' ), array( 'twentyseventeen-style' ), '1.0' ); 361 367 wp_style_add_data( 'twentyseventeen-ie8', 'conditional', 'lt IE 9' );