一、④段整套同步(用户选候选 A)
- 新增 `references/stage-proto-doc/assets/产品文档模板.html`(16 KB/247 行,从备份拷、转 LF)。
- ④段 SKILL.md 换成备份 15:28 那版,并按模板口径改齐:
· 「产品文档框架」从「四块+一附录」改成**六节** —— 页面结构/功能清单/使用场景/操作流程/
跨页与界面状态/待确认与偏离;与模板同构,⛔ 不从空白页重写结构。
· 编号从 R/S/F 改成 **P 页面/S 场景/F 功能/J 二级功能**,各自唯一、按展示顺序通排。
· 保留旧版有价值的要求:每项功能补齐 做什么/入口在哪/输入边界/异常与恢复;重点功能三处标红;
横向流程图每步写清页面/功能/操作/完成判据。
· 完成标准「七节」→「六节」,自查清单同步换掉「需求」那批条目,补模板与配图两条。
· 路径 `designs/<项目>/` → `docs/pm/<项目>/ui/`(2 处)。
· 补回本机那条「每份产出文档开头都要有一张图」的引用(指向主 skill,段内不复述)。
- 主 skill 同步:四段结构表④行、④段沿革、画图小节(④段画页面结构图 + 用户路径)。
二、open-design 移到技能根(用户选候选 A)
- `git mv product-planning/references/stage-delivery/assets/open-design → open-design/`(4178 文件)。
- `.gitignore` 白名单加 `!/open-design/` —— 否则移出去就不再纳入版本控制。
- 引用改 11 处:路径形态 `assets/open-design/...` → `<技能根>/open-design/...`;
「随段携带的自带件」改称「同根技能」;「路径怎么找」那条改成自带件(段内相对路径)与
同根技能(`<技能根>/<技能名>/`)两类分开写。
- open-design 自己的 ATTRIBUTION.md 两处同步(它现在与 oil-ui-pro 同层)。
- 副作用(有益):命名闸门读数由 2063 降到 225 —— 此前它把 open-design 里 919 个第三方 md
当成规则一起扫了;现在只扫本包 23 个 md。已确认④段的 H1 与 4a/4b/4c 子步仍在检查范围内。
三、验收
- check_naming.py --ws E:/ProgramData/AIProject/contentm_agent = 通过 225 / 失败 0 / 提示 27。
- 活文件里 `assets/open-design` 残留 0;工作区 CRLF 文件 0。
497 lines
19 KiB
HTML
497 lines
19 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<title>SpaceX — reference components</title>
|
|
<meta
|
|
name="description"
|
|
content="Reference fixture for design-systems/spacex. Pure black canvas,
|
|
spectral white type, full-viewport cinematic sections, D-DIN industrial
|
|
uppercase, ghost-button as the sole interactive element, zero shadows."
|
|
/>
|
|
|
|
<style>
|
|
:root {
|
|
--bg: #000000;
|
|
--surface: #000000;
|
|
--surface-warm: var(--surface);
|
|
|
|
--fg: #f0f0fa;
|
|
--fg-2: var(--fg);
|
|
--muted: rgba(240, 240, 250, 0.7);
|
|
--meta: var(--muted);
|
|
|
|
--border: rgba(240, 240, 250, 0.35);
|
|
--border-soft: rgba(240, 240, 250, 0.1);
|
|
|
|
--accent: #f0f0fa;
|
|
--accent-on: #000000;
|
|
--accent-hover: #ffffff;
|
|
--accent-active: #d8d8e6;
|
|
|
|
--success: #16a34a;
|
|
--warn: #eab308;
|
|
--danger: #dc2626;
|
|
|
|
--font-display: "D-DIN-Bold", "D-DIN", "DIN Alternate", "Helvetica Neue", Arial, Verdana, sans-serif;
|
|
--font-body: "D-DIN", "DIN Alternate", "Helvetica Neue", Arial, Verdana, sans-serif;
|
|
--font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Monaco, Consolas, monospace;
|
|
|
|
--text-xs: 10px;
|
|
--text-sm: 12px;
|
|
--text-base: 16px;
|
|
--text-lg: 20px;
|
|
--text-xl: 24px;
|
|
--text-2xl: 32px;
|
|
--text-3xl: 40px;
|
|
--text-4xl: 48px;
|
|
|
|
--leading-body: 1.5;
|
|
--leading-tight: 1.0;
|
|
--tracking-display: 0.02em;
|
|
|
|
--space-1: 4px;
|
|
--space-2: 8px;
|
|
--space-3: 12px;
|
|
--space-4: 16px;
|
|
--space-5: 20px;
|
|
--space-6: 24px;
|
|
--space-8: 32px;
|
|
--space-12: 48px;
|
|
|
|
--section-y-desktop: 120px;
|
|
--section-y-tablet: 80px;
|
|
--section-y-phone: 56px;
|
|
|
|
--radius-sm: 4px;
|
|
--radius-md: 4px;
|
|
--radius-lg: 4px;
|
|
--radius-pill: 32px;
|
|
|
|
--elev-flat: none;
|
|
--elev-ring: 0 0 0 1px var(--border);
|
|
--elev-raised: none;
|
|
|
|
--focus-ring: 0 0 0 2px var(--accent);
|
|
|
|
--motion-fast: 150ms;
|
|
--motion-base: 200ms;
|
|
--ease-standard: cubic-bezier(0.2, 0, 0, 1);
|
|
|
|
--container-max: 1440px;
|
|
--container-gutter-desktop: 24px;
|
|
--container-gutter-tablet: 20px;
|
|
--container-gutter-phone: 18px;
|
|
}
|
|
|
|
/* ─── Reset ─────────────────────────────────────────────── */
|
|
*, *::before, *::after { box-sizing: border-box; }
|
|
html, body { margin: 0; padding: 0; }
|
|
body {
|
|
background: var(--bg);
|
|
color: var(--fg);
|
|
font-family: var(--font-body);
|
|
font-size: var(--text-base);
|
|
line-height: var(--leading-body);
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
/* ─── Layout ─────────────────────────────────────────────── */
|
|
.container { max-width: var(--container-max); margin-inline: auto; padding-inline: var(--container-gutter-desktop); }
|
|
section { padding-block: var(--section-y-desktop); }
|
|
/* Sharp 4px ghost dividers between cinematic scenes — never decorative */
|
|
section + section { border-top: 1px solid var(--border-soft); }
|
|
@media (max-width: 1023px) {
|
|
.container { padding-inline: var(--container-gutter-tablet); }
|
|
section { padding-block: var(--section-y-tablet); }
|
|
}
|
|
@media (max-width: 639px) {
|
|
.container { padding-inline: var(--container-gutter-phone); }
|
|
section { padding-block: var(--section-y-phone); }
|
|
}
|
|
|
|
/* ─── Typography — universal uppercase + positive tracking ─ */
|
|
h1, h2, h3 {
|
|
font-family: var(--font-display);
|
|
font-weight: 700;
|
|
line-height: var(--leading-tight);
|
|
text-transform: uppercase;
|
|
letter-spacing: var(--tracking-display);
|
|
margin: 0;
|
|
}
|
|
h1 { font-size: var(--text-4xl); }
|
|
h2 { font-size: var(--text-2xl); }
|
|
h3 { font-size: var(--text-base); letter-spacing: 0.04em; }
|
|
p { margin: 0; }
|
|
.lead {
|
|
font-size: var(--text-base);
|
|
color: var(--fg);
|
|
line-height: var(--leading-body);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.02em;
|
|
font-weight: 400;
|
|
}
|
|
.body-muted { color: var(--muted); }
|
|
/* Caption Bold / Nav Link Bold tier — DESIGN.md §3 (13px / 1.17px) */
|
|
.caption-bold {
|
|
font-family: var(--font-body);
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
line-height: 0.94;
|
|
letter-spacing: 1.17px;
|
|
text-transform: uppercase;
|
|
color: var(--fg);
|
|
}
|
|
/* Eyebrow — micro tier; DESIGN.md §3 Micro = 10px / 1px tracking */
|
|
.eyebrow {
|
|
font-size: var(--text-xs);
|
|
font-weight: 400;
|
|
line-height: 0.94;
|
|
letter-spacing: 1px;
|
|
text-transform: uppercase;
|
|
color: var(--muted);
|
|
}
|
|
.stack-3 > * + * { margin-block-start: var(--space-3); }
|
|
.stack-4 > * + * { margin-block-start: var(--space-4); }
|
|
.stack-6 > * + * { margin-block-start: var(--space-6); }
|
|
.stack-8 > * + * { margin-block-start: var(--space-8); }
|
|
|
|
/* ─── Buttons — Ghost is the only variant ────────────────
|
|
* DESIGN.md §4: rgba(240,240,250,0.1) bg, 1px spectral border,
|
|
* 32px radius, 18px padding. The sole interactive element. */
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: var(--space-2);
|
|
padding: 18px var(--space-6);
|
|
border-radius: var(--radius-pill);
|
|
font-family: var(--font-body);
|
|
font-size: var(--text-sm);
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
letter-spacing: 1.17px;
|
|
text-transform: uppercase;
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
transition:
|
|
background-color var(--motion-fast) var(--ease-standard),
|
|
color var(--motion-fast) var(--ease-standard),
|
|
border-color var(--motion-fast) var(--ease-standard);
|
|
}
|
|
.btn:focus-visible { outline: none; box-shadow: var(--focus-ring); }
|
|
/* Ghost — the canonical SpaceX button */
|
|
.btn-ghost {
|
|
background: rgba(240, 240, 250, 0.1);
|
|
color: var(--fg);
|
|
border: 1px solid var(--border);
|
|
}
|
|
.btn-ghost:hover {
|
|
background: rgba(240, 240, 250, 0.18);
|
|
color: var(--accent-hover);
|
|
border-color: var(--accent-hover);
|
|
}
|
|
.btn-ghost:active { background: rgba(240, 240, 250, 0.24); }
|
|
/* Solid spectral — used sparingly for the highest-priority CTA */
|
|
.btn-solid {
|
|
background: var(--accent);
|
|
color: var(--accent-on);
|
|
border: 1px solid var(--accent);
|
|
}
|
|
.btn-solid:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
|
|
.btn-solid:active { background: var(--accent-active); border-color: var(--accent-active); }
|
|
|
|
/* ─── Inputs — spectral hairline only, no surface fill ──── */
|
|
.field { display: flex; flex-direction: column; gap: var(--space-2); }
|
|
.field label {
|
|
font-size: var(--text-xs);
|
|
font-weight: 700;
|
|
letter-spacing: 1px;
|
|
text-transform: uppercase;
|
|
color: var(--muted);
|
|
}
|
|
.field input {
|
|
padding: 14px var(--space-3);
|
|
border-radius: var(--radius-sm);
|
|
border: 1px solid var(--border);
|
|
background: transparent;
|
|
color: var(--fg);
|
|
font-family: var(--font-body);
|
|
font-size: var(--text-base);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.02em;
|
|
outline: none;
|
|
transition:
|
|
border-color var(--motion-fast) var(--ease-standard),
|
|
box-shadow var(--motion-fast) var(--ease-standard);
|
|
}
|
|
.field input:focus-visible {
|
|
border-color: var(--accent-hover);
|
|
box-shadow: var(--focus-ring);
|
|
}
|
|
.field input::placeholder {
|
|
color: var(--muted);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
.field-help {
|
|
font-size: var(--text-xs);
|
|
font-weight: 400;
|
|
letter-spacing: 1px;
|
|
text-transform: uppercase;
|
|
color: var(--muted);
|
|
}
|
|
|
|
/* ─── Hero — full-viewport cinematic scene ──────────────
|
|
* DESIGN.md §1: each section is a film frame. No external
|
|
* image lives in the fixture; we evoke the cosmic black
|
|
* sky / planetary curve with layered radial gradients +
|
|
* the canonical rgba(0,0,0,0.5) legibility overlay. */
|
|
.hero {
|
|
position: relative;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: flex-end;
|
|
padding-block: var(--section-y-desktop);
|
|
background:
|
|
linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.5) 100%),
|
|
radial-gradient(2px 2px at 12% 22%, rgba(240, 240, 250, 0.85), transparent 60%),
|
|
radial-gradient(1px 1px at 28% 64%, rgba(240, 240, 250, 0.7), transparent 60%),
|
|
radial-gradient(2px 2px at 47% 18%, rgba(240, 240, 250, 0.6), transparent 60%),
|
|
radial-gradient(1px 1px at 63% 41%, rgba(240, 240, 250, 0.85), transparent 60%),
|
|
radial-gradient(1.5px 1.5px at 78% 12%, rgba(240, 240, 250, 0.5), transparent 60%),
|
|
radial-gradient(1px 1px at 88% 73%, rgba(240, 240, 250, 0.6), transparent 60%),
|
|
radial-gradient(1px 1px at 38% 88%, rgba(240, 240, 250, 0.4), transparent 60%),
|
|
radial-gradient(2px 2px at 6% 84%, rgba(240, 240, 250, 0.5), transparent 60%),
|
|
radial-gradient(ellipse 120% 70% at 50% 100%, rgba(36, 32, 64, 0.85) 0%, rgba(0, 0, 0, 0) 70%),
|
|
radial-gradient(ellipse 90% 60% at 80% 18%, rgba(80, 60, 110, 0.25) 0%, rgba(0, 0, 0, 0) 65%),
|
|
#000000;
|
|
}
|
|
.hero-inner { max-width: 720px; }
|
|
.hero h1 {
|
|
font-size: var(--text-4xl);
|
|
letter-spacing: var(--tracking-display);
|
|
}
|
|
.hero .lead { max-width: 56ch; }
|
|
.hero-actions { display: flex; gap: var(--space-4); margin-block-start: var(--space-8); flex-wrap: wrap; }
|
|
|
|
/* Mission status strip — uppercase, hairline-divided, no card */
|
|
.mission-strip {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 0;
|
|
margin-block-start: var(--space-12);
|
|
border-top: 1px solid var(--border-soft);
|
|
border-bottom: 1px solid var(--border-soft);
|
|
}
|
|
.mission-strip > * {
|
|
padding: var(--space-5) var(--space-4);
|
|
}
|
|
.mission-strip > * + * { border-left: 1px solid var(--border-soft); }
|
|
@media (max-width: 1023px) {
|
|
.mission-strip { grid-template-columns: 1fr 1fr; }
|
|
.mission-strip > *:nth-child(2n+1) { border-left: none; }
|
|
}
|
|
@media (max-width: 639px) {
|
|
.mission-strip { grid-template-columns: 1fr; }
|
|
.mission-strip > * + * { border-left: none; border-top: 1px solid var(--border-soft); }
|
|
}
|
|
.mission-strip dt { color: var(--muted); margin: 0; }
|
|
.mission-strip dd {
|
|
margin: var(--space-2) 0 0;
|
|
font-family: var(--font-display);
|
|
font-size: var(--text-xl);
|
|
font-weight: 700;
|
|
line-height: var(--leading-tight);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.02em;
|
|
color: var(--fg);
|
|
}
|
|
|
|
/* ─── Features — text-on-void, no cards ─────────────────
|
|
* DESIGN.md §4: no panels, no containers, no cards. Three
|
|
* vertical text blocks sit directly on the void, separated
|
|
* only by hairline ghost dividers. */
|
|
.features-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 0;
|
|
border-top: 1px solid var(--border-soft);
|
|
}
|
|
.features-grid > article {
|
|
padding: var(--space-12) var(--space-6) var(--space-12) 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-4);
|
|
}
|
|
.features-grid > article + article {
|
|
border-left: 1px solid var(--border-soft);
|
|
padding-inline-start: var(--space-6);
|
|
}
|
|
@media (max-width: 1023px) {
|
|
.features-grid { grid-template-columns: 1fr; }
|
|
.features-grid > article + article {
|
|
border-left: none;
|
|
border-top: 1px solid var(--border-soft);
|
|
padding-inline-start: 0;
|
|
}
|
|
}
|
|
.feature-index {
|
|
font-family: var(--font-display);
|
|
font-size: var(--text-sm);
|
|
font-weight: 700;
|
|
letter-spacing: 1.17px;
|
|
text-transform: uppercase;
|
|
color: var(--muted);
|
|
}
|
|
.feature h3 {
|
|
font-size: var(--text-xl);
|
|
line-height: var(--leading-tight);
|
|
letter-spacing: var(--tracking-display);
|
|
}
|
|
.feature p { color: var(--muted); }
|
|
.feature a {
|
|
color: var(--fg);
|
|
font-size: var(--text-sm);
|
|
font-weight: 700;
|
|
letter-spacing: 1.17px;
|
|
text-transform: uppercase;
|
|
text-decoration: none;
|
|
border-bottom: 1px solid var(--border);
|
|
padding-block-end: 4px;
|
|
align-self: flex-start;
|
|
transition: color var(--motion-fast) var(--ease-standard),
|
|
border-color var(--motion-fast) var(--ease-standard);
|
|
}
|
|
.feature a:hover { color: var(--accent-hover); border-color: var(--accent-hover); }
|
|
|
|
/* ─── Form — mission briefing, spectral hairlines ──────── */
|
|
.form-row {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: var(--space-12);
|
|
align-items: start;
|
|
}
|
|
@media (max-width: 1023px) { .form-row { grid-template-columns: 1fr; gap: var(--space-8); } }
|
|
.form { display: flex; flex-direction: column; gap: var(--space-5); max-width: 480px; }
|
|
.form-actions { display: flex; gap: var(--space-3); margin-block-start: var(--space-3); flex-wrap: wrap; }
|
|
.icon { width: 14px; height: 14px; flex-shrink: 0; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<main class="container">
|
|
<section class="hero" data-od-id="hero">
|
|
<div class="hero-inner stack-6">
|
|
<p class="caption-bold">SpaceX · Mission 2026</p>
|
|
<h1>Making life multi‑planetary.</h1>
|
|
<p class="lead">
|
|
From low‑Earth orbit to the surface of Mars — we build the
|
|
rockets, the spacecraft, and the operating cadence that turn
|
|
humanity into a multi‑planet species.
|
|
</p>
|
|
<div class="hero-actions">
|
|
<a href="./tokens.css" class="btn btn-ghost">
|
|
Learn more
|
|
<svg class="icon" viewBox="0 0 24 24" fill="none"
|
|
stroke="currentColor" stroke-width="2"
|
|
stroke-linecap="round" stroke-linejoin="round"
|
|
aria-hidden="true"><path d="M5 12h14M13 6l6 6-6 6"/></svg>
|
|
</a>
|
|
<a href="./DESIGN.md" class="btn btn-ghost">View the spec</a>
|
|
</div>
|
|
|
|
<dl class="mission-strip" aria-label="Mission counters">
|
|
<div>
|
|
<dt class="eyebrow">Total Launches</dt>
|
|
<dd>438</dd>
|
|
</div>
|
|
<div>
|
|
<dt class="eyebrow">Total Landings</dt>
|
|
<dd>406</dd>
|
|
</div>
|
|
<div>
|
|
<dt class="eyebrow">Reflights</dt>
|
|
<dd>377</dd>
|
|
</div>
|
|
<div>
|
|
<dt class="eyebrow">Status</dt>
|
|
<dd>Nominal</dd>
|
|
</div>
|
|
</dl>
|
|
</div>
|
|
</section>
|
|
|
|
<section data-od-id="features">
|
|
<div class="stack-4">
|
|
<p class="eyebrow">What this fixture exercises</p>
|
|
<h2 style="max-width: 24ch">A type system for engineering on the edge of the atmosphere.</h2>
|
|
<p class="body-muted" style="max-width: 60ch; text-transform: uppercase; letter-spacing: 0.02em;">
|
|
Three principles, no cards, no shadows — text sits directly on the void.
|
|
</p>
|
|
</div>
|
|
<div class="features-grid" style="margin-block-start: var(--space-12)">
|
|
<article class="feature stack-4">
|
|
<p class="feature-index">01 / Atmosphere</p>
|
|
<h3>Pure black canvas, full‑viewport imagery.</h3>
|
|
<p>
|
|
--bg (#000000) is the void. There is no card surface, no warm
|
|
tier — every section is text on photograph, every photograph
|
|
is one cinematic frame.
|
|
</p>
|
|
<a href="./tokens.css">Inspect surface tokens</a>
|
|
</article>
|
|
<article class="feature stack-4">
|
|
<p class="feature-index">02 / Voice</p>
|
|
<h3>Universal uppercase, positive tracking.</h3>
|
|
<p>
|
|
D‑DIN at 0.02em (= 0.96px at 48px). Every label, every
|
|
counter, every CTA is stenciled like a serial number on a
|
|
spacecraft hull.
|
|
</p>
|
|
<a href="./DESIGN.md">Read the type rules</a>
|
|
</article>
|
|
<article class="feature stack-4">
|
|
<p class="feature-index">03 / Restraint</p>
|
|
<h3>Zero shadows, one ghost button.</h3>
|
|
<p>
|
|
--elev-raised resolves to <code style="font-family: var(--font-mono); font-size: var(--text-sm);">none</code>.
|
|
Depth comes from the photography. The lone ghost CTA at 32px
|
|
radius is the entire interactive surface area.
|
|
</p>
|
|
<a href="./tokens.css">Inspect elevation</a>
|
|
</article>
|
|
</div>
|
|
</section>
|
|
|
|
<section data-od-id="form">
|
|
<div class="form-row">
|
|
<div class="stack-6">
|
|
<p class="eyebrow">Mission Briefing</p>
|
|
<h2>Receive launch and re‑entry telemetry.</h2>
|
|
<p class="body-muted" style="text-transform: uppercase; letter-spacing: 0.02em; max-width: 48ch;">
|
|
We’ll send pre‑flight readiness reviews and
|
|
post‑landing recovery summaries. Hairline borders only —
|
|
no surface fills, no shadows, no cool grays.
|
|
</p>
|
|
</div>
|
|
<form class="form" onsubmit="event.preventDefault();">
|
|
<div class="field">
|
|
<label for="callsign">Callsign</label>
|
|
<input id="callsign" type="text" placeholder="Mission control" autocomplete="username" required />
|
|
</div>
|
|
<div class="field">
|
|
<label for="email">Operator email</label>
|
|
<input id="email" type="email" placeholder="[email protected]" autocomplete="email" required />
|
|
<p class="field-help">For mission summaries only.</p>
|
|
</div>
|
|
<div class="form-actions">
|
|
<button type="submit" class="btn btn-ghost">Confirm uplink</button>
|
|
<button type="button" class="btn btn-ghost">Stand down</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</section>
|
|
</main>
|
|
</body>
|
|
</html>
|