Changeset 23557
- Timestamp:
- 03/01/2013 04:40:29 PM (12 years ago)
- Location:
- trunk/wp-content/themes/twentythirteen
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentythirteen/inc/custom-header.php
r23492 r23557 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 } … … 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; … … 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; … … 174 174 } 175 175 #headimg h2 { 176 font: 200 italic 24px 'Source Sans Pro', Helvetica, sans-serif;176 font: 200 italic 24px "Source Sans Pro", Helvetica, sans-serif; 177 177 margin: 0; 178 178 text-shadow: none; … … 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"> -
trunk/wp-content/themes/twentythirteen/style.css
r23549 r23557 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 } … … 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; … … 250 250 q:before, 251 251 q:after { 252 content: '';252 content: ""; 253 253 content: none; 254 254 } … … 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; … … 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; … … 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 } … … 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; … … 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; … … 1125 1125 1126 1126 .entry-meta .author a:before { 1127 content: '\f304';1127 content: "\f304"; 1128 1128 top: -1px; 1129 1129 position: relative; … … 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; … … 1141 1141 1142 1142 .edit-link a:before { 1143 content: '\f411';1143 content: "\f411"; 1144 1144 top: -1px; 1145 1145 position: relative; … … 1367 1367 1368 1368 .format-aside .entry-content .date a:before { 1369 content: '\f303';1369 content: "\f303"; 1370 1370 } 1371 1371 … … 1385 1385 1386 1386 .format-aside cite:before { 1387 content: '\2014';1387 content: "\2014"; 1388 1388 margin-right: 5px; 1389 1389 } … … 1409 1409 .format-audio .entry-content:before { 1410 1410 float: left; 1411 content: '\f109';1411 content: "\f109"; 1412 1412 font-size: 64px; 1413 1413 } … … 1433 1433 1434 1434 .format-audio .audio-content { 1435 background: url( "images/dotted-line.png") repeat-y left top;1435 background: url(images/dotted-line.png) repeat-y left top; 1436 1436 background-size: 4px 4px; 1437 1437 float: right; … … 1464 1464 1465 1465 .format-chat .entry-meta .date a:before { 1466 content: '\f108';1466 content: "\f108"; 1467 1467 margin-right: 2px; 1468 1468 } … … 1688 1688 .format-status .entry-content:before, 1689 1689 .format-status .entry-meta:before { 1690 background: url( "images/dotted-line.png") repeat-y left bottom;1690 background: url(images/dotted-line.png) repeat-y left bottom; 1691 1691 background-size: 4px 4px; 1692 content: '';1692 content: ""; 1693 1693 display: block; 1694 1694 height: 100%; … … 1726 1726 .format-status .entry-content p:first-child:before { 1727 1727 background-color: rgba(0, 0, 0, 0.65); 1728 content: '';1728 content: ""; 1729 1729 height: 3px; 1730 1730 margin-top: 13px; … … 1748 1748 1749 1749 .format-status .entry-meta .date a:before { 1750 content: '\f105';1750 content: "\f105"; 1751 1751 } 1752 1752 … … 1802 1802 1803 1803 .attachment .entry-title:before { 1804 content: '\f416';1804 content: "\f416"; 1805 1805 font-size: 32px; 1806 1806 margin-right: 10px; … … 1826 1826 1827 1827 .attachment-meta:before { 1828 content: '\f307';1828 content: "\f307"; 1829 1829 } 1830 1830 1831 1831 .full-size-link a:before { 1832 content: '\f402';1832 content: "\f402"; 1833 1833 } 1834 1834 … … 2139 2139 2140 2140 .error404 .page-title:before { 2141 content: '\f423';2141 content: "\f423"; 2142 2142 color: #e8e5ce; 2143 2143 font-size: 964px; … … 2205 2205 .comment-list > li:after, 2206 2206 .comment-list .children > li:before { 2207 background: url( "images/dotted-line.png") repeat left top;2207 background: url(images/dotted-line.png) repeat left top; 2208 2208 background-size: 4px 4px; 2209 content: '';2209 content: ""; 2210 2210 display: block; 2211 2211 height: 1px; … … 2252 2252 2253 2253 .bypostauthor .fn:before { 2254 content: '\f408';2254 content: "\f408"; 2255 2255 } 2256 2256 … … 2290 2290 2291 2291 .comment-awaiting-moderation:before { 2292 content: '\f414';2292 content: "\f414"; 2293 2293 margin-right: 5px; 2294 2294 position: relative; … … 2297 2297 2298 2298 .comment-reply-link:before { 2299 content: '\f412';2299 content: "\f412"; 2300 2300 margin-right: 3px; 2301 2301 } … … 2331 2331 2332 2332 #reply-title small a:before { 2333 content: '\f406';2333 content: "\f406"; 2334 2334 vertical-align: top; 2335 2335 } … … 2645 2645 2646 2646 .site-header .searchform .field { 2647 background-image: url( "images/search-icon-2x.png");2647 background-image: url(images/search-icon-2x.png); 2648 2648 } 2649 2649 … … 2653 2653 .comment-list > li:after, 2654 2654 .comment-list .children > li:before { 2655 background-image: url( "images/dotted-line-2x.png");2655 background-image: url(images/dotted-line-2x.png); 2656 2656 } 2657 2657 } … … 2897 2897 2898 2898 .menu-toggle:after { 2899 content: '\f502';2899 content: "\f502"; 2900 2900 font-size: 12px; 2901 2901 padding-left: 8px; … … 2905 2905 2906 2906 .toggled-on .menu-toggle:after { 2907 content: '\f500';2907 content: "\f500"; 2908 2908 vertical-align: -webkit-calc(2px); 2909 2909 vertical-align: calc(2px); … … 2988 2988 2989 2989 .error404 .page-title:before { 2990 content: '';2990 content: ""; 2991 2991 } 2992 2992
Note: See TracChangeset
for help on using the changeset viewer.