mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-02-22 08:42:42 +00:00
Twenty Eleven: consistent styles for .nopassword and .nocomments; Props zeo; Fixes #17437
git-svn-id: https://develop.svn.wordpress.org/trunk@18039 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
385262f36e
commit
0b8804ef6e
@ -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 -->
|
||||
|
||||
@ -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%;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user