Update main.css

This commit is contained in:
Vaica committed 2026-02-05 21:19:11 +08:00
1 parent 5f6c4d7274
commit bc0c9a1f3a
1 file changed
+19 -1
+19 -1
View File
@@ -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;
}