@wordpress/block-library
Version:
Block library for the WordPress editor.
71 lines (69 loc) • 2.23 kB
CSS
/**
* Colors
*/
:where(.wp-block-post-comments-form textarea),
:where(.wp-block-post-comments-form input:not([type=submit])) {
border-width: 1px;
border-style: solid;
border-color: #949494;
font-size: 1em;
font-family: inherit;
}
:where(.wp-block-post-comments-form textarea),
:where(.wp-block-post-comments-form input:where(:not([type=submit]):not([type=checkbox]))) {
padding: calc(0.667em + 2px);
}
.wp-block-post-comments-form {
box-sizing: border-box;
}
.wp-block-post-comments-form[style*=font-weight] :where(.comment-reply-title) {
font-weight: inherit;
}
.wp-block-post-comments-form[style*=font-family] :where(.comment-reply-title) {
font-family: inherit;
}
.wp-block-post-comments-form[class*=-font-size] :where(.comment-reply-title), .wp-block-post-comments-form[style*=font-size] :where(.comment-reply-title) {
font-size: inherit;
}
.wp-block-post-comments-form[style*=line-height] :where(.comment-reply-title) {
line-height: inherit;
}
.wp-block-post-comments-form[style*=font-style] :where(.comment-reply-title) {
font-style: inherit;
}
.wp-block-post-comments-form[style*=letter-spacing] :where(.comment-reply-title) {
letter-spacing: inherit;
}
.wp-block-post-comments-form :where(input[type=submit]) {
box-shadow: none;
cursor: pointer;
display: inline-block;
text-align: center;
overflow-wrap: break-word;
}
.wp-block-post-comments-form .comment-form textarea,
.wp-block-post-comments-form .comment-form input:not([type=submit]):not([type=checkbox]):not([type=hidden]) {
display: block;
box-sizing: border-box;
width: 100%;
}
.wp-block-post-comments-form .comment-form-author label,
.wp-block-post-comments-form .comment-form-email label,
.wp-block-post-comments-form .comment-form-url label {
display: block;
margin-bottom: 0.25em;
}
.wp-block-post-comments-form .comment-form-cookies-consent {
display: flex;
gap: 0.25em;
}
.wp-block-post-comments-form .comment-form-cookies-consent #wp-comment-cookies-consent {
margin-top: 0.35em;
}
.wp-block-post-comments-form .comment-reply-title {
margin-bottom: 0;
}
.wp-block-post-comments-form .comment-reply-title :where(small) {
font-size: var(--wp--preset--font-size--medium, smaller);
margin-left: 0.5em;
}