From bc0c9a1f3a59428b63fbf7bc922e7c7f49f69447 Mon Sep 17 00:00:00 2001 From: Vaica <94612053+zqlit@users.noreply.github.com> Date: Thu, 5 Feb 2026 21:19:11 +0800 Subject: [PATCH] Update main.css --- themes/Ying/assets/css/main.css | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/themes/Ying/assets/css/main.css b/themes/Ying/assets/css/main.css index 0b43384d..1df0554e 100644 --- a/themes/Ying/assets/css/main.css +++ b/themes/Ying/assets/css/main.css @@ -42,7 +42,6 @@ [data-theme="dark"] body { color: var(--text-content-dark-color); background-color: var(--background-dark-color); - background-image: none; } [data-theme="dark"] .main { @@ -4936,3 +4935,22 @@ html[data-theme="light"] .atk-loading-spinner svg circle { } } + + +/* Dark Mode Background Mask */ +body { + position: relative; +} + +[data-theme='dark'] body::before { + content: ''; + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: rgba(0, 0, 0, 0.4); + z-index: -1; + pointer-events: none; + transition: background 0.3s ease; +}