Files
2026-05-09 15:39:38 +08:00

92 lines
1.9 KiB
CSS

:root {
color-scheme: light;
--bg: #f7fbff;
--panel: rgba(255, 255, 255, 0.88);
--text: #182641;
--muted: #66728a;
--line: #dfe8f6;
--blue: #2388ff;
--blue-dark: #1069e8;
--green: #21c789;
--purple: #775df6;
--orange: #f07845;
--cyan: #4fb5ff;
--shadow: 0 24px 70px rgba(41, 67, 109, 0.14);
font-family:
Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
"PingFang SC", "Microsoft YaHei", sans-serif;
}
* {
box-sizing: border-box;
}
html {
min-height: 100%;
scroll-behavior: smooth;
}
body {
position: relative;
min-width: 320px;
min-height: 100svh;
margin: 0;
color: var(--text);
background:
linear-gradient(180deg, rgba(255, 250, 244, 0.72), rgba(247, 251, 255, 0.92) 56%, rgba(255, 255, 255, 0.96)),
url("../backgrounds/cute-anime-bg.svg") right top / min(58vw, 760px) auto fixed no-repeat,
var(--bg);
}
body::before {
position: fixed;
inset: 0;
z-index: -1;
pointer-events: none;
content: "";
background:
radial-gradient(circle at 82% 18%, rgba(255, 196, 230, 0.2), transparent 26rem),
radial-gradient(circle at 74% 32%, rgba(114, 180, 255, 0.18), transparent 32rem),
linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.72) 48%, rgba(255, 255, 255, 0.3) 100%);
}
a {
color: inherit;
text-decoration: none;
}
h1,
h2,
p {
margin-top: 0;
}
h1 {
max-width: 820px;
margin-bottom: 20px;
font-size: clamp(2.8rem, 5.3vw, 4.85rem);
line-height: 1.12;
letter-spacing: 0;
}
h1 span {
color: var(--blue);
text-shadow: 0 10px 28px rgba(35, 136, 255, 0.22);
}
h2 {
margin-bottom: 8px;
font-size: clamp(1.7rem, 2.5vw, 2.2rem);
line-height: 1.12;
letter-spacing: 0;
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
scroll-behavior: auto !important;
transition-duration: 0.01ms !important;
}
}