spark-server/health-web/assets/site.css
DESKTOP-L8OUL9F\gfl0034 f941bf4454 feat(web): 补齐官网协议页,并按包名控制会员价格下发
商店审核需要独立的隐私、用户协议和注销页;运营后台也要按应用包名启用或停用价格。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-11 21:32:53 +08:00

211 lines
4.4 KiB
CSS

:root {
--bg: #07111f;
--bg-2: #10233d;
--card: rgba(255, 255, 255, 0.06);
--line: rgba(255, 255, 255, 0.14);
--text: #f4f7fb;
--muted: #b7c4d6;
--gold: #f6c453;
--heart: #e23d4a;
--cyan: #8ec8ff;
--shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
margin: 0;
min-height: 100vh;
color: var(--text);
background:
radial-gradient(900px 420px at 85% -10%, rgba(246, 196, 83, 0.16), transparent 60%),
radial-gradient(700px 380px at -10% 20%, rgba(226, 61, 74, 0.16), transparent 55%),
linear-gradient(180deg, var(--bg-2), var(--bg) 42%);
font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
line-height: 1.65;
overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); }
.wrap {
width: min(1040px, calc(100% - 32px));
margin: 0 auto;
}
.top {
position: sticky;
top: 0;
z-index: 2;
background: rgba(7, 17, 31, 0.86);
backdrop-filter: blur(14px);
border-bottom: 1px solid var(--line);
}
.top-inner, .foot-inner {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 10px 18px;
padding: 12px 0;
}
.brand {
display: flex;
align-items: center;
gap: 10px;
color: var(--text);
text-decoration: none;
font-weight: 700;
letter-spacing: 0.01em;
min-width: 0;
}
.brand img {
width: 40px;
height: 40px;
border-radius: 12px;
flex: 0 0 auto;
}
.nav, .foot-links {
display: flex;
flex-wrap: wrap;
gap: 6px 14px;
margin-left: auto;
max-width: 100%;
}
.nav a, .foot-links a {
color: var(--text);
text-decoration: none;
padding: 6px 0;
white-space: nowrap;
}
.nav a[aria-current="page"], .foot-links a[aria-current="page"] {
color: var(--gold);
font-weight: 700;
}
main { padding: 28px 0 48px; }
.hero, .panel, .card {
background: var(--card);
border: 1px solid var(--line);
border-radius: 22px;
box-shadow: var(--shadow);
}
.hero {
display: grid;
grid-template-columns: 148px minmax(0, 1fr);
gap: 22px;
align-items: center;
padding: 28px;
}
.hero img {
width: 148px;
height: 148px;
border-radius: 32px;
}
h1, h2, h3 { line-height: 1.3; margin: 0 0 0.4em; }
h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.lead { color: var(--muted); margin: 0 0 1rem; font-size: 1.05rem; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 42px;
padding: 8px 16px;
border-radius: 999px;
text-decoration: none;
border: 1px solid transparent;
}
.btn-primary { background: var(--heart); color: white; font-weight: 700; }
.btn-ghost { color: var(--text); border-color: var(--line); background: rgba(255, 255, 255, 0.04); }
.note {
margin-top: 16px;
color: var(--gold);
font-size: 0.95rem;
}
.section { margin-top: 28px; }
.grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 14px;
}
.card { padding: 16px 16px 18px; min-width: 0; }
.card h2, .card h3 { font-size: 1.05rem; }
.card p, .panel p, .panel li { color: var(--muted); }
.card p { margin: 0; }
.panel { padding: 22px 22px 8px; overflow-wrap: anywhere; }
.panel h1 { margin-bottom: 0.3em; }
.panel .meta { color: var(--muted); margin-top: 0; }
.panel h2 { font-size: 1.08rem; margin-top: 1.3rem; }
.panel h3 { font-size: 1rem; margin-top: 1rem; }
.panel ul, .panel ol { padding-left: 1.2rem; }
.steps { counter-reset: step; list-style: none; padding-left: 0; }
.steps li {
position: relative;
padding: 10px 10px 10px 46px;
margin: 0 0 10px;
background: rgba(255, 255, 255, 0.04);
border-radius: 14px;
color: var(--text);
}
.steps li::before {
counter-increment: step;
content: counter(step);
position: absolute;
left: 10px;
top: 10px;
width: 26px;
height: 26px;
border-radius: 50%;
background: var(--heart);
color: white;
display: grid;
place-items: center;
font-size: 0.85rem;
font-weight: 700;
}
.foot {
border-top: 1px solid var(--line);
color: var(--muted);
}
.foot strong { color: var(--text); }
.foot p { margin: 4px 0 0; }
@media (max-width: 800px) {
.grid { grid-template-columns: 1fr; }
.nav, .foot-links { margin-left: 0; width: 100%; }
}
@media (max-width: 420px) {
.wrap { width: min(1040px, calc(100% - 24px)); }
.hero { grid-template-columns: 1fr; padding: 18px; }
.hero img { width: 96px; height: 96px; border-radius: 24px; }
.panel { padding: 16px 14px 6px; }
.actions .btn { width: 100%; }
}