75 lines
1.2 KiB
CSS
75 lines
1.2 KiB
CSS
:root {
|
|
color-scheme: light;
|
|
--bg: #f5f8ff;
|
|
--panel: #ffffff;
|
|
--text: #17233d;
|
|
--muted: #63708a;
|
|
--line: #e5ebf5;
|
|
--blue: #246bfe;
|
|
--blue-dark: #1554d1;
|
|
--green: #19b982;
|
|
--shadow: 0 22px 60px rgba(57, 83, 132, 0.13);
|
|
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 {
|
|
min-width: 320px;
|
|
min-height: 100svh;
|
|
margin: 0;
|
|
color: var(--text);
|
|
background:
|
|
radial-gradient(circle at 82% 18%, rgba(36, 107, 254, 0.13), transparent 24rem),
|
|
linear-gradient(180deg, #f7fbff 0%, var(--bg) 52%, #ffffff 100%);
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
img {
|
|
display: block;
|
|
max-width: 100%;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
p {
|
|
margin-top: 0;
|
|
}
|
|
|
|
h1 {
|
|
max-width: 620px;
|
|
margin-bottom: 22px;
|
|
font-size: clamp(2.8rem, 6vw, 5.55rem);
|
|
line-height: 1.03;
|
|
letter-spacing: 0;
|
|
}
|
|
|
|
h2 {
|
|
margin-bottom: 0;
|
|
font-size: clamp(1.9rem, 3vw, 3rem);
|
|
line-height: 1.08;
|
|
letter-spacing: 0;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
scroll-behavior: auto !important;
|
|
transition-duration: 0.01ms !important;
|
|
}
|
|
}
|