Fix arrows in 2011, props iandstewart, fixes #17809
git-svn-id: http://svn.automattic.com/wordpress/trunk@18359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ccb41c4beb
commit
e38b292638
|
@ -354,8 +354,8 @@ section.recent-posts .other-recent-posts .comments-link > span {
|
|||
|
||||
/* Singular navigation */
|
||||
#nav-single {
|
||||
right: auto;
|
||||
left: 0;
|
||||
float: left;
|
||||
text-align: left;
|
||||
}
|
||||
#nav-single .nav-next {
|
||||
padding-left: 0;
|
||||
|
|
|
@ -16,8 +16,8 @@ get_header(); ?>
|
|||
|
||||
<nav id="nav-single">
|
||||
<h3 class="assistive-text"><?php _e( 'Post navigation', 'twentyeleven' ); ?></h3>
|
||||
<span class="nav-previous"><?php previous_post_link( '%link', __( '← Previous', 'twentyeleven' ) ); ?></span>
|
||||
<span class="nav-next"><?php next_post_link( '%link', __( 'Next →', 'twentyeleven' ) ); ?></span>
|
||||
<span class="nav-previous"><?php previous_post_link( '%link', __( '<span class="meta-nav">←</span> Previous', 'twentyeleven' ) ); ?></span>
|
||||
<span class="nav-next"><?php next_post_link( '%link', __( 'Next <span class="meta-nav">→</span>', 'twentyeleven' ) ); ?></span>
|
||||
</nav><!-- #nav-single -->
|
||||
|
||||
<?php get_template_part( 'content', 'single' ); ?>
|
||||
|
|
|
@ -1686,14 +1686,17 @@ section.recent-posts .other-recent-posts li:after {
|
|||
text-align: right;
|
||||
width: 50%;
|
||||
}
|
||||
#content nav .meta-nav {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
/* Singular navigation */
|
||||
#nav-single {
|
||||
display: inline-block;
|
||||
overflow: visible !important;
|
||||
position: absolute;
|
||||
top: -4px;
|
||||
right: 0;
|
||||
float: right;
|
||||
position: relative;
|
||||
top: -0.3em;
|
||||
text-align: right;
|
||||
width: 100%;
|
||||
z-index: 1;
|
||||
}
|
||||
#nav-single .nav-previous,
|
||||
|
|
Loading…
Reference in New Issue