WordPress.org

Make WordPress Core

Ticket #23871: 23871.diff

File 23871.diff, 5.0 KB (added by obenland, 5 years ago)
  • wp-content/themes/twentythirteen/content-audio.php

     
    1919                <?php endif; // is_single() ?>
    2020        </header><!-- .entry-header -->
    2121
    22         <div class="entry-content">
     22        <div class="entry-media">
    2323                <div class="audio-content">
    24                         <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentythirteen' ) ); ?>
    25                         <?php wp_link_pages( array( 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentythirteen' ) . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>' ) ); ?>
     24                        <?php the_audio(); ?>
    2625                </div><!-- .audio-content -->
     26        </div><!-- .entry-media -->
     27
     28        <div class="entry-content">
     29                <?php the_extra_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentythirteen' ) ); ?>
     30                <?php wp_link_pages( array( 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentythirteen' ) . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>' ) ); ?>
    2731        </div><!-- .entry-content -->
    2832
    2933        <footer class="entry-meta">
  • wp-content/themes/twentythirteen/rtl.css

     
    341341        margin-left: 5px;
    342342}
    343343
    344 .format-audio .entry-content:before {
     344.format-audio .entry-media:before {
    345345        -ms-filter: "FlipH";
    346346        filter: FlipH;
    347347        float: right;
  • wp-content/themes/twentythirteen/style.css

     
    484484.featured-post:before,
    485485.date a:before,
    486486.entry-meta .author a:before,
    487 .format-audio .entry-content:before,
     487.format-audio .entry-media:before,
    488488.comments-link a:before,
    489489.tags-links a:first-child:before,
    490490.categories-links a:first-child:before,
     
    504504
    505505/* Clearing floats */
    506506.clear:after,
     507.format-audio .entry-media:after,
    507508.attachment .entry-header:after,
    508509.site-footer .widget-area:after,
    509510.entry-content:after,
     
    517518
    518519.clear:before,
    519520.clear:after,
     521.format-audio .entry-media:before,
     522.format-audio .entry-media:after,
    520523.attachment .entry-header:before,
    521524.attachment .entry-header:after,
    522525.site-footer .widget-area:before,
     
    12411244}
    12421245
    12431246/* Mediaelements */
    1244 .entry-content .mejs-container .mejs-controls {
     1247.hentry .mejs-container .mejs-controls {
    12451248        background: #220e10;
    12461249}
    12471250
    1248 .entry-content .mejs-controls .mejs-time-rail .mejs-time-loaded,
    1249 .entry-content .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
     1251.hentry .mejs-controls .mejs-time-rail .mejs-time-loaded,
     1252.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
    12501253        background: #fff;
    12511254}
    12521255
    1253 .entry-content .mejs-controls .mejs-time-rail .mejs-time-current {
     1256.hentry .mejs-controls .mejs-time-rail .mejs-time-current {
    12541257        background: #ea9629;
    12551258}
    12561259
    1257 .entry-content .mejs-controls .mejs-time-rail .mejs-time-total,
    1258 .entry-content .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total {
     1260.hentry .mejs-controls .mejs-time-rail .mejs-time-total,
     1261.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total {
    12591262        background: #595959;
    12601263}
    12611264
    1262 .entry-content .mejs-controls .mejs-time-rail span,
    1263 .entry-content .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total,
    1264 .entry-content .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
     1265.hentry .mejs-controls .mejs-time-rail span,
     1266.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total,
     1267.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
    12651268        border-radius: 0;
    12661269}
    12671270
     
    14631466        font-weight: bold;
    14641467}
    14651468
    1466 .format-audio .entry-meta a {
    1467         color: #fbfaf3;
    1468 }
    1469 
    1470 .format-audio .entry-content:before {
     1469.format-audio .entry-media:before {
    14711470        content: "\f109";
    14721471        float: left;
    14731472        font-size: 64px;
     
    14761475}
    14771476
    14781477.format-audio .entry-content a,
    1479 .single-format-audio .entry-content a {
     1478.format-audio .entry-meta a {
    14801479        color: #fbfaf3;
    14811480}
    14821481
    14831482.format-audio .entry-content a:hover,
    14841483.format-audio .entry-meta a:hover {
    1485         color: #ea9629;
     1484        color: #fbfaf3;
    14861485}
    14871486
    1488 .format-audio .audio-content p:last-child {
    1489         margin-bottom: 0;
     1487.format-audio .entry-media {
     1488        margin: 0 auto 24px;
     1489        max-width: 604px;
     1490        width: 100%;
    14901491}
    14911492
    14921493.format-audio .audio-content {
     
    14951496        float: right;
    14961497        padding-left: 35px;
    14971498        width: 80%;
    1498         width: -webkit-calc(100% - 115px);
    1499         width:         calc(100% - 115px);
     1499        width: -webkit-calc(100% - 85px);
     1500        width:         calc(100% - 85px);
    15001501}
    15011502
    15021503.format-audio .wp-audio-shortcode {