style(css): consolidate global selector rules and remove duplicates

- Merge three separate `*` selector blocks into one for better maintainability
- Remove duplicate "Glassmorphism Utilities" comment
This commit is contained in:
Jason
2025-11-29 20:03:19 +08:00
parent 0f333d9e5b
commit 9db85dd4dc
+2 -11
View File
@@ -70,7 +70,6 @@
} }
} }
/* Glassmorphism Utilities */
/* Glassmorphism Utilities */ /* Glassmorphism Utilities */
.glass { .glass {
background: rgba(255, 255, 255, 0.7); background: rgba(255, 255, 255, 0.7);
@@ -131,6 +130,8 @@
/* 全局基础样式 */ /* 全局基础样式 */
* { * {
box-sizing: border-box; box-sizing: border-box;
scrollbar-width: none; /* Firefox */
-ms-overflow-style: none; /* IE 10+ */
} }
html { html {
@@ -158,16 +159,6 @@ html.dark {
display: none; display: none;
} }
/* Firefox */
* {
scrollbar-width: none;
}
/* IE 10+ */
* {
-ms-overflow-style: none;
}
/* 焦点样式 */ /* 焦点样式 */
*:focus-visible { *:focus-visible {
@apply outline-2 outline-blue-500 outline-offset-2; @apply outline-2 outline-blue-500 outline-offset-2;