From abe4c6e467e36ce9b6b2c5785388fbfc2a5d0b5a Mon Sep 17 00:00:00 2001 From: liaoxin Date: Sun, 17 May 2026 13:25:04 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=9B=9E=E5=A4=8D=E7=94=A8=20span+JS?= =?UTF-8?q?=E4=BA=8B=E4=BB=B6=E7=BB=91=E5=AE=9A=EF=BC=88=E5=8F=96=E4=BB=A3?= =?UTF-8?q?a=E6=A0=87=E7=AD=BEhref=E5=86=B2=E7=AA=81=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- comments.php | 14 +++++++++++++- style.css | 5 +++-- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/comments.php b/comments.php index 0645468..5fcab97 100644 --- a/comments.php +++ b/comments.php @@ -27,7 +27,7 @@ if (post_password_required()) return;
comment_content); ?>
- 回复 + 回复
@@ -79,4 +79,16 @@ if (post_password_required()) return; + + diff --git a/style.css b/style.css index 7c81326..6fe1880 100644 --- a/style.css +++ b/style.css @@ -1,6 +1,6 @@ /* Theme Name: 空笺未寄 -Version: 0.16.6 +Version: 0.16.7 Requires at least: 6.0 Requires PHP: 7.4 License: MIT @@ -613,6 +613,7 @@ echo "done" .comment-item__time { font-size:11px; color:var(--ink-lighter); } .comment-item__text { font-size:14px; color:var(--ink-light); line-height:1.7; } .comment-item__reply { font-size:12px; } -.comment-item__reply a { color:var(--cinnabar); text-decoration:none; } +.comment-item__reply a, .comment-item__reply .reply-link { color:var(--cinnabar); text-decoration:none; } +.comment-item__reply .reply-link:hover, .comment-item__reply a:hover { text-decoration:underline; } .comment-item--reply { margin-left:18px; padding:6px 0 6px 10px; border-bottom:1px dashed var(--border-light); border-left:1px dashed var(--border-light); } .comment-item--reply:last-child { border-bottom:none; }