From fd021c5a89a69871b0279ecbc94c9942fe14e8f4 Mon Sep 17 00:00:00 2001 From: hehh Date: Tue, 25 Nov 2025 00:41:45 +0800 Subject: [PATCH] =?UTF-8?q?style(css):=20=E7=A7=BB=E9=99=A4=E7=A7=BB?= =?UTF-8?q?=E5=8A=A8=E7=AB=AF=E8=AF=84=E8=AE=BA=E5=8C=BA=E5=9F=9F=E5=AE=B9?= =?UTF-8?q?=E5=99=A8=E6=A0=B7=E5=BC=8F=E4=BB=A5=E8=8A=82=E7=9C=81=E5=AE=BD?= =?UTF-8?q?=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除评论区域的阴影、边框和圆角样式 - 调整评论区域内边距为零以节省水平空间 - 设置评论区域背景为透明 - 完全移除 artalk-container 的容器化样式 - 统一移动端样式调整以优化显示宽度 --- css/artalk.css | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/css/artalk.css b/css/artalk.css index 69f11ce..4a5b050 100644 --- a/css/artalk.css +++ b/css/artalk.css @@ -363,6 +363,10 @@ font-size: 0.95rem !important; margin: 0 0 8px 0 !important; /* 移除移动端容器化样式,节省宽度 */ border-radius: 0 !important; /* 移除圆角 */ + box-shadow: none !important; /* 移除阴影以节省宽度 */ + border-left: none !important; + border-right: none !important; + border-top: none !important; } .atk-mobile .atk-avatar { @@ -536,10 +540,15 @@ } .atk-comment-wrap { - padding: 12px 14px !important; + padding: 12px 0 !important; font-size: 0.95rem !important; margin: 0 0 8px 0 !important; /* 移除移动端容器化样式,节省宽度 */ border-radius: 0 !important; /* 移除圆角 */ + box-shadow: none !important; /* 移除阴影 */ + border-left: none !important; + border-right: none !important; + border-top: none !important; + background: transparent !important; } .atk-avatar { @@ -558,4 +567,13 @@ color: #dfe6e9 !important; border: 1px solid rgba(255, 255, 255, 0.08) !important; } + + /* 完全移除评论区域的容器样式以节省宽度 */ + #artalk-container { + border-radius: 0 !important; + padding: 0 !important; + background: transparent !important; + border: none !important; + box-shadow: none !important; + } } \ No newline at end of file