From 40e1e60bc57bf974704ff0ff9cac8ec52f00274c Mon Sep 17 00:00:00 2001 From: Vaica <94612053+zqlit@users.noreply.github.com> Date: Thu, 22 Jan 2026 12:54:52 +0800 Subject: [PATCH] =?UTF-8?q?fixed=20=E5=8F=8B=E5=9C=88=E6=8E=89=E5=B8=A7?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BB=A5=E5=8F=8A=E8=AF=84=E8=AE=BA=E5=8C=BA?= =?UTF-8?q?=E8=BE=B9=E6=A1=86=E6=A0=B7=E5=BC=8Fbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/Ying/layouts/_default/circles.html | 755 ++++++++++++---------- themes/Ying/static/css/main.css | 10 +- 2 files changed, 403 insertions(+), 362 deletions(-) diff --git a/themes/Ying/layouts/_default/circles.html b/themes/Ying/layouts/_default/circles.html index 2c668c9f..6e813eb5 100644 --- a/themes/Ying/layouts/_default/circles.html +++ b/themes/Ying/layouts/_default/circles.html @@ -1,399 +1,438 @@ {{ define "main" }}
-
- {{ .Content }} -
-
-
-

正在探索朋友们的新动态...

-
-
+
+ {{ .Content }} +
+
+
+

正在探索朋友们的新动态...

+
- - + /* Loading Animation */ + .loading-container { + grid-column: 1 / -1; + display: flex; + flex-direction: column; + align-items: center; + padding: 60px; + color: #888; + } - + // 立即执行初始化 + if (document.readyState === "loading") { + document.addEventListener("DOMContentLoaded", () => + window.FriendCircle.init(), + ); + } else { + window.FriendCircle.init(); + } +
-{{ end }} \ No newline at end of file +{{ end }} diff --git a/themes/Ying/static/css/main.css b/themes/Ying/static/css/main.css index 0b4f2d70..07595191 100644 --- a/themes/Ying/static/css/main.css +++ b/themes/Ying/static/css/main.css @@ -2304,15 +2304,17 @@ input[type=submit] { stroke: var(--text-highlight-color); } +/* 通用样式 */ .artalk .atk-main-editor input.atk-nick, .artalk .atk-main-editor input.atk-email, .artalk .atk-main-editor input.atk-link { color: var(--text-content-color)!important; } -[data-theme="dark"] .artalk .atk-main-editor input.atk-nick, -[data-theme="dark"] .artalk .atk-main-editor input.atk-email, -[data-theme="dark"] .artalk .atk-main-editor input.atk-link { +/* 暗黑模式样式:重复类选择器,最大化权重 */ +[data-theme="dark"] .artalk.artalk .atk-main-editor input.atk-nick, +[data-theme="dark"] .artalk.artalk .atk-main-editor input.atk-email, +[data-theme="dark"] .artalk.artalk .atk-main-editor input.atk-link { color: var(--text-content-dark-color)!important; } @@ -2429,7 +2431,7 @@ img[atk-emoticon] { color: var(--text-content-dark-color) } - .atk-main-editor { + .artalk .atk-main-editor { background: 0 0!important; border: 1px solid var(--frame-dark-color)!important }