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
|
@ -3,8 +3,8 @@
|
||||||
* The template for displaying Comments.
|
* The template for displaying Comments.
|
||||||
*
|
*
|
||||||
* The area of the page that contains both current comments
|
* The area of the page that contains both current comments
|
||||||
* and the comment form. The actual display of comments is
|
* 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.
|
* located in the functions.php file.
|
||||||
*
|
*
|
||||||
* @package WordPress
|
* @package WordPress
|
||||||
|
@ -14,8 +14,8 @@
|
||||||
?>
|
?>
|
||||||
<div id="comments">
|
<div id="comments">
|
||||||
<?php if ( post_password_required() ) : ?>
|
<?php if ( post_password_required() ) : ?>
|
||||||
<div class="nopassword"><?php _e( 'This post is password protected. Enter the password to view any comments.', 'twentyeleven' ); ?></div>
|
<p class="nopassword"><?php _e( 'This post is password protected. Enter the password to view any comments.', 'twentyeleven' ); ?></p>
|
||||||
</div><!-- .comments -->
|
</div><!-- #comments -->
|
||||||
<?php
|
<?php
|
||||||
/* Stop the rest of comments.php from being processed,
|
/* Stop the rest of comments.php from being processed,
|
||||||
* but don't kill the script entirely -- we still have
|
* but don't kill the script entirely -- we still have
|
||||||
|
@ -85,4 +85,4 @@
|
||||||
|
|
||||||
<?php comment_form(); ?>
|
<?php comment_form(); ?>
|
||||||
|
|
||||||
</div><!-- #comments -->
|
</div><!-- #comments -->
|
||||||
|
|
|
@ -1676,6 +1676,7 @@ section.ephemera .entry-title a span {
|
||||||
padding: 0 0 2.6em;
|
padding: 0 0 2.6em;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
|
.nopassword,
|
||||||
.nocomments {
|
.nocomments {
|
||||||
color: #aaa;
|
color: #aaa;
|
||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
|
@ -2357,4 +2358,4 @@ p.comment-form-comment {
|
||||||
}
|
}
|
||||||
#ie7 section.recent-posts {
|
#ie7 section.recent-posts {
|
||||||
margin-right: 7.6%;
|
margin-right: 7.6%;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue