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:
parent
e68292421d
commit
a3b8833e2f
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* 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
|
||||
* 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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue