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

git-svn-id: http://core.svn.wordpress.org/trunk@23690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Lance Willett 2013-03-13 22:45:08 +00:00
parent a1e32d3217
commit 0c694a7500
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);
}