Twenty Eleven: consistent styles for .nopassword and .nocomments; Props zeo; Fixes #17437

git-svn-id: http://svn.automattic.com/wordpress/trunk@18039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
iandstewart 2011-05-25 17:13:02 +00:00
parent e68292421d
commit a3b8833e2f
2 changed files with 7 additions and 6 deletions

View File

@ -3,8 +3,8 @@
* The template for displaying Comments.
*
* The area of the page that contains both current comments
* and the comment form. The actual display of comments is
* handled by a callback to twentyeleven_comment which is
* and the comment form. The actual display of comments is
* handled by a callback to twentyeleven_comment() which is
* located in the functions.php file.
*
* @package WordPress
@ -14,8 +14,8 @@
?>
<div id="comments">
<?php if ( post_password_required() ) : ?>
<div class="nopassword"><?php _e( 'This post is password protected. Enter the password to view any comments.', 'twentyeleven' ); ?></div>
</div><!-- .comments -->
<p class="nopassword"><?php _e( 'This post is password protected. Enter the password to view any comments.', 'twentyeleven' ); ?></p>
</div><!-- #comments -->
<?php
/* Stop the rest of comments.php from being processed,
* but don't kill the script entirely -- we still have
@ -85,4 +85,4 @@
<?php comment_form(); ?>
</div><!-- #comments -->
</div><!-- #comments -->

View File

@ -1676,6 +1676,7 @@ section.ephemera .entry-title a span {
padding: 0 0 2.6em;
text-transform: uppercase;
}
.nopassword,
.nocomments {
color: #aaa;
font-size: 24px;
@ -2357,4 +2358,4 @@ p.comment-form-comment {
}
#ie7 section.recent-posts {
margin-right: 7.6%;
}
}