Ticket #23653: 23653.5.diff
File 23653.5.diff, 8.3 KB (added by , 12 years ago) |
---|
-
wp-content/themes/twentythirteen/inc/custom-header.php
85 85 if ( ! empty( $header_image ) ) : 86 86 ?> 87 87 .site-header { 88 background: url( "<?php header_image(); ?>") no-repeat scroll top;88 background: url(<?php esc_url( header_image() ); ?>) no-repeat scroll top; 89 89 background-size: 1600px auto; 90 90 } 91 91 <?php … … 137 137 box-sizing: border-box; 138 138 <?php 139 139 if ( ! empty( $header_image ) ) { 140 echo 'background: url( "' . esc_url( $header_image ) . '") no-repeat scroll top; background-size: 1600px auto;';140 echo 'background: url(' . esc_url( $header_image ) . ') no-repeat scroll top; background-size: 1600px auto;'; 141 141 } ?> 142 142 padding: 0 20px; 143 143 } … … 162 162 } 163 163 <?php endif; ?> 164 164 #headimg h1 { 165 font: bold 60px/1 'Bitter', Georgia, serif;165 font: bold 60px/1 Bitter, Georgia, serif; 166 166 margin: 0; 167 167 padding: 58px 0 10px; 168 168 } … … 193 193 */ 194 194 function twentythirteen_admin_header_image() { 195 195 ?> 196 <div id="headimg" style="background: url( '<?php esc_url( header_image() ); ?>') no-repeat scroll top; background-size: 1600px auto;">196 <div id="headimg" style="background: url(<?php esc_url( header_image() ); ?>) no-repeat scroll top; background-size: 1600px auto;"> 197 197 <?php $style = ' style="color:#' . get_header_textcolor() . ';"'; ?> 198 198 <div class="hgroup"> 199 199 <h1><a id="name"<?php echo $style; ?> onclick="return false;" href="#"><?php bloginfo( 'name' ); ?></a></h1> -
wp-content/themes/twentythirteen/style.css
149 149 h5, 150 150 h6 { 151 151 clear: both; 152 font-family: 'Bitter', Georgia, serif;152 font-family: Bitter, Georgia, serif; 153 153 line-height: 1.3; 154 154 } 155 155 … … 215 215 pre, 216 216 samp { 217 217 font-family: monospace, serif; 218 _font-family: 'courier new', monospace;218 _font-family: "Courier New", monospace; 219 219 font-size: 14px; 220 220 -webkit-hyphens: none; 221 221 -moz-hyphens: none; … … 249 249 blockquote:after, 250 250 q:before, 251 251 q:after { 252 content: '';252 content: ""; 253 253 content: none; 254 254 } 255 255 … … 458 458 } 459 459 460 460 hr { 461 background: url( "images/dotted-line.png") repeat center top;461 background: url(images/dotted-line.png) repeat center top; 462 462 background-size: 4px 4px; 463 463 border: 0; 464 464 height: 1px; … … 479 479 * More info: genericons.com 480 480 */ 481 481 @font-face { 482 font-family: 'Genericons';483 src: url( 'fonts/genericons-regular-webfont.eot');484 src: url( 'fonts/genericons-regular-webfont.eot?#iefix') format('embedded-opentype'),485 url( 'fonts/genericons-regular-webfont.woff') format('woff'),486 url( 'fonts/genericons-regular-webfont.ttf') format('truetype'),487 url( 'fonts/genericons-regular-webfont.svg#genericonsregular') format('svg');482 font-family: Genericons; 483 src: url(fonts/genericons-regular-webfont.eot); 484 src: url(fonts/genericons-regular-webfont.eot?#iefix) format("embedded-opentype"), 485 url(fonts/genericons-regular-webfont.woff) format("woff"), 486 url(fonts/genericons-regular-webfont.ttf) format("truetype"), 487 url(fonts/genericons-regular-webfont.svg#genericonsregular) format("svg"); 488 488 font-weight: normal; 489 489 font-style: normal; 490 490 } … … 508 508 .bypostauthor .fn:before, 509 509 .error404 .page-title:before { 510 510 -webkit-font-smoothing: antialiased; 511 font: normal 16px/1 'Genericons';511 font: normal 16px/1 Genericons; 512 512 vertical-align: text-bottom; 513 513 } 514 514 … … 944 944 945 945 .site-header .searchform .field { 946 946 background-color: transparent; 947 background-image: url( "images/search-icon.png");947 background-image: url(images/search-icon.png); 948 948 background-position: 5px center; 949 949 background-repeat: no-repeat; 950 950 background-size: 24px 24px; … … 1108 1108 } 1109 1109 1110 1110 .featured-post:before { 1111 content: '\f308';1111 content: "\f308"; 1112 1112 margin-right: 2px; 1113 1113 } 1114 1114 1115 1115 .entry-meta .date a:before { 1116 content: '\f303';1116 content: "\f303"; 1117 1117 } 1118 1118 1119 1119 .comments-link a:before { 1120 content: '\f300';1120 content: "\f300"; 1121 1121 margin-right: 2px; 1122 1122 top: -1px; 1123 1123 position: relative; 1124 1124 } 1125 1125 1126 1126 .entry-meta .author a:before { 1127 content: '\f304';1127 content: "\f304"; 1128 1128 top: -1px; 1129 1129 position: relative; 1130 1130 } 1131 1131 1132 1132 .categories-links a:first-child:before { 1133 content: '\f301';1133 content: "\f301"; 1134 1134 } 1135 1135 1136 1136 .tags-links a:first-child:before { 1137 content: '\f302';1137 content: "\f302"; 1138 1138 top: -1px; 1139 1139 position: relative; 1140 1140 } 1141 1141 1142 1142 .edit-link a:before { 1143 content: '\f411';1143 content: "\f411"; 1144 1144 top: -1px; 1145 1145 position: relative; 1146 1146 } … … 1357 1357 } 1358 1358 1359 1359 .format-aside .entry-content .date a:before { 1360 content: '\f303';1360 content: "\f303"; 1361 1361 } 1362 1362 1363 1363 .format-aside footer.entry-meta { … … 1375 1375 } 1376 1376 1377 1377 .format-aside cite:before { 1378 content: '\2014';1378 content: "\2014"; 1379 1379 margin-right: 5px; 1380 1380 } 1381 1381 … … 1399 1399 1400 1400 .format-audio .entry-content:before { 1401 1401 float: left; 1402 content: '\f109';1402 content: "\f109"; 1403 1403 font-size: 64px; 1404 1404 } 1405 1405 … … 1423 1423 } 1424 1424 1425 1425 .format-audio .audio-content { 1426 background: url( "images/dotted-line.png") repeat-y left top;1426 background: url(images/dotted-line.png) repeat-y left top; 1427 1427 background-size: 4px 4px; 1428 1428 float: right; 1429 1429 margin: 0 0 24px; … … 1454 1454 } 1455 1455 1456 1456 .format-chat .entry-meta .date a:before { 1457 content: '\f108';1457 content: "\f108"; 1458 1458 margin-right: 2px; 1459 1459 } 1460 1460 … … 1678 1678 1679 1679 .format-status .entry-content:before, 1680 1680 .format-status .entry-meta:before { 1681 background: url( "images/dotted-line.png") repeat-y left bottom;1681 background: url(images/dotted-line.png) repeat-y left bottom; 1682 1682 background-size: 4px 4px; 1683 content: '';1683 content: ""; 1684 1684 display: block; 1685 1685 height: 100%; 1686 1686 position: absolute; … … 1716 1716 1717 1717 .format-status .entry-content p:first-child:before { 1718 1718 background-color: rgba(0, 0, 0, 0.65); 1719 content: '';1719 content: ""; 1720 1720 height: 3px; 1721 1721 margin-top: 13px; 1722 1722 position: absolute; … … 1738 1738 } 1739 1739 1740 1740 .format-status .entry-meta .date a:before { 1741 content: '\f105';1741 content: "\f105"; 1742 1742 } 1743 1743 1744 1744 /* Video */ … … 1792 1792 } 1793 1793 1794 1794 .attachment .entry-title:before { 1795 content: '\f416';1795 content: "\f416"; 1796 1796 font-size: 32px; 1797 1797 margin-right: 10px; 1798 1798 } … … 1816 1816 } 1817 1817 1818 1818 .attachment-meta:before { 1819 content: '\f307';1819 content: "\f307"; 1820 1820 } 1821 1821 1822 1822 .full-size-link a:before { 1823 content: '\f402';1823 content: "\f402"; 1824 1824 } 1825 1825 1826 1826 .full-size-link:before { … … 2129 2129 } 2130 2130 2131 2131 .error404 .page-title:before { 2132 content: '\f423';2132 content: "\f423"; 2133 2133 color: #e8e5ce; 2134 2134 font-size: 964px; 2135 2135 line-height: 0.6; … … 2193 2193 2194 2194 .comment-list > li:after, 2195 2195 .comment-list .children > li:before { 2196 background: url( "images/dotted-line.png") repeat left top;2196 background: url(images/dotted-line.png) repeat left top; 2197 2197 background-size: 4px 4px; 2198 content: '';2198 content: ""; 2199 2199 display: block; 2200 2200 height: 1px; 2201 2201 width: 100%; … … 2240 2240 } 2241 2241 2242 2242 .bypostauthor .fn:before { 2243 content: '\f408';2243 content: "\f408"; 2244 2244 } 2245 2245 2246 2246 .comment-list .edit-link { … … 2278 2278 } 2279 2279 2280 2280 .comment-awaiting-moderation:before { 2281 content: '\f414';2281 content: "\f414"; 2282 2282 margin-right: 5px; 2283 2283 position: relative; 2284 2284 top: -2px; 2285 2285 } 2286 2286 2287 2287 .comment-reply-link:before { 2288 content: '\f412';2288 content: "\f412"; 2289 2289 margin-right: 3px; 2290 2290 } 2291 2291 … … 2323 2323 } 2324 2324 2325 2325 #reply-title small a:before { 2326 content: '\f406';2326 content: "\f406"; 2327 2327 vertical-align: top; 2328 2328 } 2329 2329 … … 2637 2637 (min-resolution: 120dpi) { 2638 2638 2639 2639 .site-header .searchform .field { 2640 background-image: url( "images/search-icon-2x.png");2640 background-image: url(images/search-icon-2x.png); 2641 2641 } 2642 2642 2643 2643 .format-audio .audio-content, … … 2645 2645 .format-status .entry-meta:before, 2646 2646 .comment-list > li:after, 2647 2647 .comment-list .children > li:before { 2648 background-image: url( "images/dotted-line-2x.png");2648 background-image: url(images/dotted-line-2x.png); 2649 2649 } 2650 2650 } 2651 2651 … … 2889 2889 } 2890 2890 2891 2891 .menu-toggle:after { 2892 content: '\f502';2892 content: "\f502"; 2893 2893 font-size: 12px; 2894 2894 padding-left: 8px; 2895 2895 vertical-align: -webkit-calc(-4px); … … 2897 2897 } 2898 2898 2899 2899 .toggled-on .menu-toggle:after { 2900 content: '\f500';2900 content: "\f500"; 2901 2901 vertical-align: -webkit-calc(2px); 2902 2902 vertical-align: calc(2px); 2903 2903 } … … 2980 2980 } 2981 2981 2982 2982 .error404 .page-title:before { 2983 content: '';2983 content: ""; 2984 2984 } 2985 2985 2986 2986 .comment-author {