Changeset 22201
- Timestamp:
- 10/11/2012 10:07:06 PM (13 years ago)
- Location:
- trunk/wp-content/themes/twentytwelve
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentytwelve/functions.php
r22066 r22201 89 89 */ 90 90 function twentytwelve_scripts_styles() { 91 global $wp_styles; 92 91 93 /* 92 94 * Adds JavaScript to pages with the comment form to support … … 142 144 */ 143 145 wp_enqueue_style( 'twentytwelve-style', get_stylesheet_uri() ); 146 147 /* 148 * Loads the Internet Explorer specific stylesheet. 149 */ 150 wp_enqueue_style( 'twentytwelve-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentytwelve-style' ), '20121010' ); 151 $wp_styles->add_data( 'twentytwelve-ie', 'conditional', 'lt IE 9' ); 144 152 } 145 153 add_action( 'wp_enqueue_scripts', 'twentytwelve_scripts_styles' ); -
trunk/wp-content/themes/twentytwelve/header.php
r22186 r22201 10 10 */ 11 11 ?><!DOCTYPE html> 12 <!--[if IE 7 | IE 8]> 13 <html class="ie" <?php language_attributes(); ?>> 12 <!--[if IE 7]> 13 <html class="ie ie7" <?php language_attributes(); ?>> 14 <![endif]--> 15 <!--[if IE 8]> 16 <html class="ie ie8" <?php language_attributes(); ?>> 14 17 <![endif]--> 15 18 <!--[if !(IE 7) | !(IE 8) ]><!--> -
trunk/wp-content/themes/twentytwelve/style.css
r22191 r22201 483 483 } 484 484 485 486 485 /* Page structure */ 487 486 .site { … … 1660 1659 } 1661 1660 } 1662 1663 1664 /* =IE 7 and 81665 ----------------------------------------------- */1666 1667 .ie .assistive-text {1668 clip: rect(1px 1px 1px 1px); /* IE7 */1669 }1670 .ie .site {1671 margin: 48px auto;1672 max-width: 960px;1673 }1674 .ie .site-content {1675 float: left;1676 width: 65.104166667%;1677 }1678 .ie .full-width .site-content {1679 float: none;1680 width: 100%;1681 }1682 .ie .widget-area {1683 float: right;1684 width: 26.041666667%;1685 }1686 .ie img.size-full,1687 .ie img.size-large,1688 .ie img.header-image,1689 .ie img.wp-post-image {1690 width: auto; /* Prevent stretching of full-size and large-size images with height and width attributes in IE8 */1691 }
Note: See TracChangeset
for help on using the changeset viewer.