Twenty Thirteen: use new HTML5 comment form argument, and adjust CSS selectors a bit. Closes #23702, see #15080.

git-svn-id: https://develop.svn.wordpress.org/trunk@23690 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Lance Willett 2013-03-13 22:45:08 +00:00
parent b95b9917f1
commit 92ffd6850f
3 changed files with 9 additions and 11 deletions

View File

@ -50,6 +50,6 @@ if ( post_password_required() )
<?php endif; // have_comments() ?>
<?php comment_form(); ?>
<?php comment_form( array( 'format' => 'html5' ) ); ?>
</div><!-- #comments -->

View File

@ -652,10 +652,7 @@ div.nav-menu > ul {
content: normal;
}
#commentform label[for="author"],
#commentform label[for="email"],
#commentform label[for="url"],
#commentform label[for="comment"] {
#commentform label {
float: right;
}

View File

@ -2393,10 +2393,7 @@ footer.entry-meta {
margin-bottom: 8px;
}
#commentform label[for="author"],
#commentform label[for="email"],
#commentform label[for="url"],
#commentform label[for="comment"] {
#commentform label {
float: left;
padding: 5px 0;
width: 100px;
@ -2406,7 +2403,9 @@ footer.entry-meta {
color: #ed331c;
}
#commentform input[type="text"] {
#commentform input[type="text"],
#commentform input[type="email"],
#commentform input[type="url"] {
max-width: 270px;
width: 60%;
}
@ -3027,7 +3026,9 @@ footer.entry-meta {
width: calc(100% - 104px);
}
#commentform input[type="text"] {
#commentform input[type="text"],
#commentform input[type="email"],
#commentform input[type="url"] {
width: -webkit-calc(100% - 100px);
width: calc(100% - 100px);
}