2025-12-25 11:20:56 +08:00
|
|
|
/* color palette from <https://github.com/vuejs/theme> */
|
2026-01-13 17:00:44 +08:00
|
|
|
/*
|
|
|
|
|
Most variables are replaced by Vant CSS variables.
|
|
|
|
|
Keeping only what's necessary or mapping to Vant.
|
|
|
|
|
*/
|
2025-12-25 11:20:56 +08:00
|
|
|
|
|
|
|
|
:root {
|
2026-01-13 17:00:44 +08:00
|
|
|
--van-danger-color: rgb(255, 107, 107) !important; /* 覆盖默认的深红色 #ee0a24 */
|
|
|
|
|
--color-background: var(--van-background);
|
|
|
|
|
--color-background-soft: var(--van-background-2);
|
|
|
|
|
--color-background-mute: var(--van-gray-1);
|
2025-12-25 11:20:56 +08:00
|
|
|
|
2026-01-13 17:00:44 +08:00
|
|
|
--color-border: var(--van-border-color);
|
|
|
|
|
--color-border-hover: var(--van-gray-5);
|
2025-12-25 11:20:56 +08:00
|
|
|
|
2026-01-13 17:00:44 +08:00
|
|
|
--color-heading: var(--van-text-color);
|
|
|
|
|
--color-text: var(--van-text-color);
|
2025-12-25 11:20:56 +08:00
|
|
|
|
|
|
|
|
--section-gap: 160px;
|
|
|
|
|
}
|
|
|
|
|
|
2026-01-13 17:00:44 +08:00
|
|
|
/* Removed manual dark mode media query as Vant handles it */
|
2025-12-25 11:20:56 +08:00
|
|
|
|
|
|
|
|
*,
|
|
|
|
|
*::before,
|
|
|
|
|
*::after {
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
margin: 0;
|
|
|
|
|
font-weight: normal;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
body {
|
|
|
|
|
min-height: 100vh;
|
2026-01-13 17:00:44 +08:00
|
|
|
color: var(--van-text-color);
|
|
|
|
|
background: var(--van-background);
|
2025-12-25 11:20:56 +08:00
|
|
|
transition:
|
|
|
|
|
color 0.5s,
|
|
|
|
|
background-color 0.5s;
|
|
|
|
|
line-height: 1.6;
|
|
|
|
|
font-family:
|
|
|
|
|
Inter,
|
|
|
|
|
-apple-system,
|
|
|
|
|
BlinkMacSystemFont,
|
|
|
|
|
'Segoe UI',
|
|
|
|
|
Roboto,
|
|
|
|
|
Oxygen,
|
|
|
|
|
Ubuntu,
|
|
|
|
|
Cantarell,
|
|
|
|
|
'Fira Sans',
|
|
|
|
|
'Droid Sans',
|
|
|
|
|
'Helvetica Neue',
|
|
|
|
|
sans-serif;
|
|
|
|
|
font-size: 15px;
|
|
|
|
|
text-rendering: optimizeLegibility;
|
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
|
}
|