diff --git a/comments.php b/comments.php index de88c1a..93fe1c2 100644 --- a/comments.php +++ b/comments.php @@ -7,7 +7,6 @@ if (post_password_required()) return;
-

笺下留言

    @@ -28,11 +27,7 @@ if (post_password_required()) return;
comment_content); ?>
- - 回复 - - 回复 - + 回复
@@ -40,40 +35,53 @@ if (post_password_required()) return; - '', 'comment_notes_before' => '', 'comment_notes_after' => '', 'logged_in_as' => '', 'fields' => array(), - 'comment_field' => '', + 'comment_field' => '', 'submit_button' => '', 'submit_field' => '
%1$s %2$s
', 'label_submit' => '落笔留痕', - )); - ?> + )); ?>
- + +
- + + + + + diff --git a/style.css b/style.css index 6673459..2822a87 100644 --- a/style.css +++ b/style.css @@ -1,6 +1,6 @@ /* Theme Name: 空笺未寄 -Version: 0.16.4 +Version: 0.16.5 Requires at least: 6.0 Requires PHP: 7.4 License: MIT @@ -147,8 +147,14 @@ Text Domain: kj-weji .comment-form { margin-top:24px; display:flex; flex-direction:column; gap:12px; } .comment-form textarea { width:100%; padding:14px; border:1px solid var(--border); border-radius:var(--radius); background:var(--white); font-family:inherit; font-size:14px; color:var(--ink); resize:vertical; min-height:80px; } +.comment-respond h3, #reply-title { font-size:14px !important; font-weight:600; margin-bottom:12px; } .comment-form button { align-self:flex-end; background:var(--cinnabar); color:#fff; border:none; padding:8px 24px; border-radius:20px; cursor:pointer; font-family:"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif; font-size:13px; transition:background 0.2s; } .comment-form button:hover { background:#a03a32; } + .cancel-btn { font-size:13px; color:var(--ink-lighter); background:none; border:1px solid var(--border); padding:8px 24px; border-radius:20px; cursor:pointer; } + .login-modal { display:none; position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.4); z-index:300; align-items:center; justify-content:center; } + .login-modal__content { background:var(--white); padding:32px; border-radius:var(--radius-lg); text-align:center; box-shadow:0 4px 24px rgba(0,0,0,0.2); } + .login-modal__content p { margin-bottom:16px; font-size:15px; color:var(--ink); } + .login-modal__content button { margin:0 6px; } /* 吐槽 */ .tucao-item { padding:15px 0; border-bottom:1px solid var(--border-light); }