mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-27 18:16:08 +00:00
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
|
* 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
|
||||||
|
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user