WordPress.org

Make WordPress Core

Ticket #24167: 24167.1.diff

File 24167.1.diff, 2.2 KB (added by obenland, 12 months ago)

Adds RTL

  • wp-content/themes/twentythirteen/author-bio.php

     
    1313                <?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'twentythirteen_author_bio_avatar_size', 74 ) ); ?> 
    1414        </div><!-- .author-avatar --> 
    1515        <div class="author-description"> 
    16                 <h2><?php printf( __( 'About %s', 'twentythirteen' ), get_the_author() ); ?></h2> 
    17                 <p> 
     16                <h2 class="author-title"><?php printf( __( 'About %s', 'twentythirteen' ), get_the_author() ); ?></h2> 
     17                <p class="author-bio"> 
    1818                        <?php the_author_meta( 'description' ); ?> 
    1919                        <a class="author-link" href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author"> 
    2020                                <?php printf( __( 'View all posts by %s <span class="meta-nav">&rarr;</span>', 'twentythirteen' ), get_the_author() ); ?> 
  • wp-content/themes/twentythirteen/rtl.css

     
    537537        padding-right: 60px; 
    538538} 
    539539 
    540 .author-avatar { 
     540.author-avatar .avatar { 
    541541        float: right; 
    542542        margin: 0 0 30px 30px; 
    543543} 
  • wp-content/themes/twentythirteen/style.css

     
    20962096        padding: 50px 0 0; 
    20972097} 
    20982098 
    2099 .author-avatar { 
     2099.author-avatar .avatar { 
    21002100        float: left; 
    21012101        margin: 0 30px 30px 0; 
    21022102} 
    21032103 
    21042104.single-format-status .author-description, 
    2105 .single-format-status .author-description h2, 
    2106 .single-format-quote .author-description, 
    2107 .single-format-quote .author-description h2 { 
     2105.single-format-quote .author-description { 
    21082106        color: #f7f5e7; 
    21092107} 
    21102108 
    2111 .single-format-audio .author-description a, 
    2112 .single-format-video .author-description a { 
    2113         color: #fbfaf3; 
    2114 } 
    2115  
    2116 .author-description h2 { 
     2109.author-description .author-title { 
    21172110        clear: none; 
    21182111        font: 300 italic 20px "Source Sans Pro", Helvetica, sans-serif; 
    21192112        margin: 0 0 8px;