Twenty Twelve: update author archive markup and styles, props klagraff. Fixes #21494.
git-svn-id: http://core.svn.wordpress.org/trunk@21464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
704304d6fe
commit
850adce105
|
@ -24,8 +24,8 @@ get_header(); ?>
|
||||||
the_post();
|
the_post();
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<header class="page-header">
|
<header class="archive-header">
|
||||||
<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>
|
<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>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
|
@ -393,6 +393,10 @@ img.wp-smiley,
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Author profiles */
|
/* Author profiles */
|
||||||
|
.author .archive-header {
|
||||||
|
margin-bottom: 24px;
|
||||||
|
margin-bottom: 1.714285714rem;
|
||||||
|
}
|
||||||
#author-info {
|
#author-info {
|
||||||
border-top: 1px solid #ededed;
|
border-top: 1px solid #ededed;
|
||||||
margin: 24px 0;
|
margin: 24px 0;
|
||||||
|
@ -407,6 +411,14 @@ img.wp-smiley,
|
||||||
font-size: 0.928571429rem;
|
font-size: 0.928571429rem;
|
||||||
line-height: 1.846153846;
|
line-height: 1.846153846;
|
||||||
}
|
}
|
||||||
|
.author.archive #author-info {
|
||||||
|
border-top: 0;
|
||||||
|
margin: 0 0 48px;
|
||||||
|
margin: 0 0 3.428571429rem;
|
||||||
|
}
|
||||||
|
.author.archive #author-avatar {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* =Basic structure
|
/* =Basic structure
|
||||||
|
@ -942,8 +954,8 @@ footer .edit-link {
|
||||||
/* =Archives
|
/* =Archives
|
||||||
-------------------------------------------------------------- */
|
-------------------------------------------------------------- */
|
||||||
|
|
||||||
.archive .site-content .archive-header,
|
.archive-header,
|
||||||
.search .page-header {
|
.page-header {
|
||||||
margin-bottom: 48px;
|
margin-bottom: 48px;
|
||||||
margin-bottom: 3.428571429rem;
|
margin-bottom: 3.428571429rem;
|
||||||
padding-bottom: 22px;
|
padding-bottom: 22px;
|
||||||
|
|
Loading…
Reference in New Issue