Make WordPress Core

Changeset 21464


Ignore:
Timestamp:
08/06/2012 09:05:02 PM (12 years ago)
Author:
lancewillett
Message:

Twenty Twelve: update author archive markup and styles, props klagraff. Fixes #21494.

Location:
trunk/wp-content/themes/twentytwelve
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentytwelve/author.php

    r21404 r21464  
    2525            ?>
    2626
    27             <header class="page-header">
    28                 <h1 class="archive-title author"><?php printf( __( 'Author Archives: %s', 'twentytwelve' ), '<span class="vcard"><a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( "ID" ) ) ) . '" title="' . esc_attr( get_the_author() ) . '" rel="me">' . get_the_author() . '</a></span>' ); ?></h1>
     27            <header class="archive-header">
     28                <h1 class="archive-title"><?php printf( __( 'Author Archives: %s', 'twentytwelve' ), '<span class="vcard"><a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( "ID" ) ) ) . '" title="' . esc_attr( get_the_author() ) . '" rel="me">' . get_the_author() . '</a></span>' ); ?></h1>
    2929            </header>
    3030
  • trunk/wp-content/themes/twentytwelve/style.css

    r21462 r21464  
    394394
    395395/* Author profiles */
     396.author .archive-header {
     397    margin-bottom: 24px;
     398    margin-bottom: 1.714285714rem;
     399}
    396400#author-info {
    397401    border-top: 1px solid #ededed;
     
    407411    font-size: 0.928571429rem;
    408412    line-height: 1.846153846;
     413}
     414.author.archive #author-info {
     415    border-top: 0;
     416    margin: 0 0 48px;
     417    margin: 0 0 3.428571429rem;
     418}
     419.author.archive #author-avatar {
     420    margin-top: 0;
    409421}
    410422
     
    943955-------------------------------------------------------------- */
    944956
    945 .archive .site-content .archive-header,
    946 .search .page-header {
     957.archive-header,
     958.page-header {
    947959    margin-bottom: 48px;
    948960    margin-bottom: 3.428571429rem;
Note: See TracChangeset for help on using the changeset viewer.