2024-06-22 10:54:02 +08:00
|
|
|
@import "base";
|
|
|
|
|
|
|
|
* {
|
|
|
|
margin: 0;
|
|
|
|
box-sizing: border-box;
|
2024-07-23 17:34:23 +08:00
|
|
|
transition: background-color .08s, border-color .2s, box-shadow .2s, stork .2s, fill .2s, opacity .2s;
|
2024-06-22 10:54:02 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
background: $light-bg-underline-color;
|
|
|
|
color: $light-text-color;
|
|
|
|
|
|
|
|
.dark-mode & {
|
|
|
|
background: $dark-bg-underline-color;
|
|
|
|
color: $dark-text-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// 去除a标签的默认下划线
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2024-07-23 17:34:23 +08:00
|
|
|
|
|
|
|
//noinspection CssInvalidPseudoSelector
|
|
|
|
::view-transition-old(root),
|
|
|
|
::view-transition-new(root) {
|
|
|
|
animation: none;
|
|
|
|
mix-blend-mode: normal;
|
|
|
|
}
|
|
|
|
//noinspection CssInvalidPseudoSelector
|
|
|
|
::view-transition-old(root) {
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
//noinspection CssInvalidPseudoSelector
|
|
|
|
::view-transition-new(root) {
|
|
|
|
z-index: 9999;
|
|
|
|
}
|
|
|
|
//noinspection CssInvalidPseudoSelector
|
|
|
|
.dark-mode::view-transition-old(root) {
|
|
|
|
z-index: 9999;
|
|
|
|
}
|
|
|
|
//noinspection CssInvalidPseudoSelector
|
|
|
|
.dark-mode::view-transition-new(root) {
|
|
|
|
z-index: 1;
|
|
|
|
}
|