修复bug
This commit is contained in:
1 parent
331af9074a
commit
e6d50f3611
3 files changed
+107
-118
No files matched your search
@@ -45,32 +45,6 @@ html {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
/* ── Theme switch transition ── */
|
||||
::view-transition-old(root),
|
||||
::view-transition-new(root) {
|
||||
animation-duration: 0.45s;
|
||||
animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
||||
}
|
||||
|
||||
::view-transition-old(root) {
|
||||
animation-name: theme-fade-out;
|
||||
}
|
||||
|
||||
::view-transition-new(root) {
|
||||
animation-name: theme-fade-in;
|
||||
animation-delay: 0.04s;
|
||||
}
|
||||
|
||||
@keyframes theme-fade-out {
|
||||
from { opacity: 1; }
|
||||
to { opacity: 0; }
|
||||
}
|
||||
|
||||
@keyframes theme-fade-in {
|
||||
from { opacity: 0; }
|
||||
to { opacity: 1; }
|
||||
}
|
||||
|
||||
[data-theme="dark"] body {
|
||||
color: var(--text-content-dark-color);
|
||||
background-color: var(--background-dark-color);
|
||||
@@ -4533,6 +4507,8 @@ img[atk-emoticon] {
|
||||
/* --- Global Theme Transition --- */
|
||||
body,
|
||||
.main,
|
||||
body,
|
||||
.main,
|
||||
.header,
|
||||
.footer,
|
||||
.post-content,
|
||||
|
||||
Reference in new issue
Block a user