2026-04-15 11:07:19 +08:00

166 lines
3.4 KiB
CSS

@import "tailwindcss";
:root {
--surface-0: #fff7f0;
--surface-1: rgba(255, 251, 246, 0.84);
--surface-2: #f8e6d7;
--surface-3: #f2dcc7;
--ink-1: #241915;
--ink-2: #5f4a3d;
--ink-3: #9a806d;
--accent-1: #b6522d;
--accent-2: #1d6f68;
--accent-3: #e39657;
--line-soft: rgba(86, 61, 39, 0.12);
--shadow-card: 0 20px 50px rgba(81, 51, 30, 0.12);
--shadow-soft: 0 28px 60px rgba(95, 55, 24, 0.08);
}
@theme inline {
--color-background: var(--surface-0);
--color-foreground: var(--ink-1);
--font-sans: var(--font-body);
--font-mono: var(--font-mono);
}
* {
box-sizing: border-box;
}
html {
min-height: 100%;
}
body {
min-height: 100vh;
background:
radial-gradient(circle at top left, rgba(251, 219, 190, 0.75) 0%, rgba(251, 219, 190, 0) 28%),
radial-gradient(circle at bottom right, rgba(194, 230, 221, 0.65) 0%, rgba(194, 230, 221, 0) 30%),
linear-gradient(180deg, #fffaf5 0%, #fff7f0 32%, #f8efe5 100%);
color: var(--ink-1);
font-family: var(--font-body), "Noto Sans SC", sans-serif;
}
a {
color: inherit;
text-decoration: none;
}
::selection {
background: rgba(182, 82, 45, 0.18);
}
.soft-card {
border: 1px solid var(--line-soft);
border-radius: 32px;
background: var(--surface-1);
box-shadow: var(--shadow-soft);
backdrop-filter: blur(18px);
}
.hero-orb {
position: absolute;
pointer-events: none;
height: 320px;
width: 320px;
border-radius: 999px;
background: radial-gradient(circle, rgba(230, 150, 87, 0.18) 0%, rgba(230, 150, 87, 0) 72%);
}
.eyebrow {
margin-bottom: 0.6rem;
color: var(--accent-1);
font-size: 0.82rem;
font-weight: 700;
letter-spacing: 0.24em;
text-transform: uppercase;
}
.pill-tag {
display: inline-flex;
align-items: center;
gap: 0.45rem;
border-radius: 999px;
border: 1px solid var(--line-soft);
background: rgba(255, 255, 255, 0.75);
padding: 0.55rem 0.9rem;
}
.stat-card {
border: 1px solid var(--line-soft);
border-radius: 28px;
background: rgba(255, 255, 255, 0.82);
padding: 1.35rem;
box-shadow: var(--shadow-card);
}
.stat-label {
font-size: 0.86rem;
color: var(--ink-3);
}
.stat-value {
display: block;
margin-top: 0.7rem;
font-family: var(--font-display), serif;
font-size: clamp(2rem, 4vw, 3rem);
line-height: 1;
color: var(--ink-1);
}
.stat-hint {
margin-top: 0.85rem;
font-size: 0.95rem;
line-height: 1.65;
color: var(--ink-2);
}
.filter-pill {
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 999px;
border: 1px solid var(--line-soft);
background: rgba(255, 255, 255, 0.72);
padding: 0.7rem 1rem;
color: var(--ink-2);
transition:
transform 140ms ease,
background-color 140ms ease,
border-color 140ms ease;
}
.filter-pill:hover {
transform: translateY(-1px);
background: rgba(255, 255, 255, 0.96);
}
.filter-pill-active {
border-color: rgba(182, 82, 45, 0.18);
background: linear-gradient(135deg, rgba(182, 82, 45, 0.14), rgba(182, 82, 45, 0.06));
color: var(--ink-1);
}
.index-badge {
display: inline-flex;
height: 2rem;
width: 2rem;
align-items: center;
justify-content: center;
border-radius: 999px;
background: var(--surface-2);
color: var(--accent-1);
font-weight: 700;
}
.list-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
border-radius: 26px;
border: 1px solid var(--line-soft);
background: rgba(255, 255, 255, 0.8);
padding: 1rem 1.1rem;
}