fix: 评论回复弹窗 + 登录用户始终显示输入框 + 提示字体缩小

This commit is contained in:
2026-05-17 13:06:05 +08:00
parent b0aa37f3fb
commit 59c52a8bd6
2 changed files with 41 additions and 27 deletions
+7 -1
View File
@@ -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); }