Make WordPress Core

Ticket #23653: 23653.5.diff

File 23653.5.diff, 8.3 KB (added by markmcwilliams, 12 years ago)
  • wp-content/themes/twentythirteen/inc/custom-header.php

     
    8585                if ( ! empty( $header_image ) ) :
    8686        ?>
    8787                .site-header {
    88                         background: url("<?php header_image(); ?>") no-repeat scroll top;
     88                        background: url(<?php esc_url( header_image() ); ?>) no-repeat scroll top;
    8989                        background-size: 1600px auto;
    9090                }
    9191        <?php
     
    137137                box-sizing:         border-box;
    138138                <?php
    139139                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;';
    141141                } ?>
    142142                padding: 0 20px;
    143143        }
     
    162162        }
    163163        <?php endif; ?>
    164164        #headimg h1 {
    165                 font: bold 60px/1 'Bitter', Georgia, serif;
     165                font: bold 60px/1 Bitter, Georgia, serif;
    166166                margin: 0;
    167167                padding: 58px 0 10px;
    168168        }
     
    193193 */
    194194function twentythirteen_admin_header_image() {
    195195        ?>
    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;">
    197197                <?php $style = ' style="color:#' . get_header_textcolor() . ';"'; ?>
    198198                <div class="hgroup">
    199199                        <h1><a id="name"<?php echo $style; ?> onclick="return false;" href="#"><?php bloginfo( 'name' ); ?></a></h1>
  • wp-content/themes/twentythirteen/style.css

     
    149149h5,
    150150h6 {
    151151        clear: both;
    152         font-family: 'Bitter', Georgia, serif;
     152        font-family: Bitter, Georgia, serif;
    153153        line-height: 1.3;
    154154}
    155155
     
    215215pre,
    216216samp {
    217217        font-family: monospace, serif;
    218         _font-family: 'courier new', monospace;
     218        _font-family: "Courier New", monospace;
    219219        font-size: 14px;
    220220        -webkit-hyphens: none;
    221221        -moz-hyphens:    none;
     
    249249blockquote:after,
    250250q:before,
    251251q:after {
    252         content: '';
     252        content: "";
    253253        content: none;
    254254}
    255255
     
    458458}
    459459
    460460hr {
    461         background: url("images/dotted-line.png") repeat center top;
     461        background: url(images/dotted-line.png) repeat center top;
    462462        background-size: 4px 4px;
    463463        border: 0;
    464464        height: 1px;
     
    479479 * More info: genericons.com
    480480 */
    481481@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");
    488488        font-weight: normal;
    489489        font-style: normal;
    490490}
     
    508508.bypostauthor .fn:before,
    509509.error404 .page-title:before {
    510510        -webkit-font-smoothing: antialiased;
    511         font: normal 16px/1 'Genericons';
     511        font: normal 16px/1 Genericons;
    512512        vertical-align: text-bottom;
    513513}
    514514
     
    944944
    945945.site-header .searchform .field {
    946946        background-color: transparent;
    947         background-image: url("images/search-icon.png");
     947        background-image: url(images/search-icon.png);
    948948        background-position: 5px center;
    949949        background-repeat: no-repeat;
    950950        background-size: 24px 24px;
     
    11081108}
    11091109
    11101110.featured-post:before {
    1111         content: '\f308';
     1111        content: "\f308";
    11121112        margin-right: 2px;
    11131113}
    11141114
    11151115.entry-meta .date a:before {
    1116         content: '\f303';
     1116        content: "\f303";
    11171117}
    11181118
    11191119.comments-link a:before {
    1120         content: '\f300';
     1120        content: "\f300";
    11211121        margin-right: 2px;
    11221122        top: -1px;
    11231123        position: relative;
    11241124}
    11251125
    11261126.entry-meta .author a:before {
    1127         content: '\f304';
     1127        content: "\f304";
    11281128        top: -1px;
    11291129        position: relative;
    11301130}
    11311131
    11321132.categories-links a:first-child:before {
    1133         content: '\f301';
     1133        content: "\f301";
    11341134}
    11351135
    11361136.tags-links a:first-child:before {
    1137         content: '\f302';
     1137        content: "\f302";
    11381138        top: -1px;
    11391139        position: relative;
    11401140}
    11411141
    11421142.edit-link a:before {
    1143         content: '\f411';
     1143        content: "\f411";
    11441144        top: -1px;
    11451145        position: relative;
    11461146}
     
    13571357}
    13581358
    13591359.format-aside .entry-content .date a:before {
    1360         content: '\f303';
     1360        content: "\f303";
    13611361}
    13621362
    13631363.format-aside footer.entry-meta {
     
    13751375}
    13761376
    13771377.format-aside cite:before {
    1378         content: '\2014';
     1378        content: "\2014";
    13791379        margin-right: 5px;
    13801380}
    13811381
     
    13991399
    14001400.format-audio .entry-content:before {
    14011401        float: left;
    1402         content: '\f109';
     1402        content: "\f109";
    14031403        font-size: 64px;
    14041404}
    14051405
     
    14231423}
    14241424
    14251425.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;
    14271427        background-size: 4px 4px;
    14281428        float: right;
    14291429        margin: 0 0 24px;
     
    14541454}
    14551455
    14561456.format-chat .entry-meta .date a:before {
    1457         content: '\f108';
     1457        content: "\f108";
    14581458        margin-right: 2px;
    14591459}
    14601460
     
    16781678
    16791679.format-status .entry-content:before,
    16801680.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;
    16821682        background-size: 4px 4px;
    1683         content: '';
     1683        content: "";
    16841684        display: block;
    16851685        height: 100%;
    16861686        position: absolute;
     
    17161716
    17171717.format-status .entry-content p:first-child:before {
    17181718        background-color: rgba(0, 0, 0, 0.65);
    1719         content: '';
     1719        content: "";
    17201720        height: 3px;
    17211721        margin-top: 13px;
    17221722        position: absolute;
     
    17381738}
    17391739
    17401740.format-status .entry-meta .date a:before {
    1741         content: '\f105';
     1741        content: "\f105";
    17421742}
    17431743
    17441744/* Video */
     
    17921792}
    17931793
    17941794.attachment .entry-title:before {
    1795         content: '\f416';
     1795        content: "\f416";
    17961796        font-size: 32px;
    17971797        margin-right: 10px;
    17981798}
     
    18161816}
    18171817
    18181818.attachment-meta:before {
    1819         content: '\f307';
     1819        content: "\f307";
    18201820}
    18211821
    18221822.full-size-link a:before {
    1823         content: '\f402';
     1823        content: "\f402";
    18241824}
    18251825
    18261826.full-size-link:before {
     
    21292129}
    21302130
    21312131.error404 .page-title:before {
    2132         content: '\f423';
     2132        content: "\f423";
    21332133        color: #e8e5ce;
    21342134        font-size: 964px;
    21352135        line-height: 0.6;
     
    21932193
    21942194.comment-list > li:after,
    21952195.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;
    21972197        background-size: 4px 4px;
    2198         content: '';
     2198        content: "";
    21992199        display: block;
    22002200        height: 1px;
    22012201        width: 100%;
     
    22402240}
    22412241
    22422242.bypostauthor .fn:before {
    2243         content: '\f408';
     2243        content: "\f408";
    22442244}
    22452245
    22462246.comment-list .edit-link {
     
    22782278}
    22792279
    22802280.comment-awaiting-moderation:before {
    2281         content: '\f414';
     2281        content: "\f414";
    22822282        margin-right: 5px;
    22832283        position: relative;
    22842284        top: -2px;
    22852285}
    22862286
    22872287.comment-reply-link:before {
    2288         content: '\f412';
     2288        content: "\f412";
    22892289        margin-right: 3px;
    22902290}
    22912291
     
    23232323}
    23242324
    23252325#reply-title small a:before {
    2326         content: '\f406';
     2326        content: "\f406";
    23272327        vertical-align: top;
    23282328}
    23292329
     
    26372637        (min-resolution: 120dpi) {
    26382638
    26392639        .site-header .searchform .field {
    2640                 background-image: url("images/search-icon-2x.png");
     2640                background-image: url(images/search-icon-2x.png);
    26412641        }
    26422642
    26432643        .format-audio .audio-content,
     
    26452645        .format-status .entry-meta:before,
    26462646        .comment-list > li:after,
    26472647        .comment-list .children > li:before {
    2648                 background-image: url("images/dotted-line-2x.png");
     2648                background-image: url(images/dotted-line-2x.png);
    26492649        }
    26502650}
    26512651
     
    28892889        }
    28902890
    28912891        .menu-toggle:after {
    2892                 content: '\f502';
     2892                content: "\f502";
    28932893                font-size: 12px;
    28942894                padding-left: 8px;
    28952895                vertical-align: -webkit-calc(-4px);
     
    28972897        }
    28982898
    28992899        .toggled-on .menu-toggle:after {
    2900                 content: '\f500';
     2900                content: "\f500";
    29012901                vertical-align: -webkit-calc(2px);
    29022902                vertical-align:         calc(2px);
    29032903        }
     
    29802980        }
    29812981
    29822982        .error404 .page-title:before {
    2983                 content: '';
     2983                content: "";
    29842984        }
    29852985
    29862986        .comment-author {