588 lines
9.6 KiB
CSS
588 lines
9.6 KiB
CSS
:root {
|
|
--bg: #f6f4ef;
|
|
--surface: #fffdf8;
|
|
--surface-soft: #ebe7dc;
|
|
--text: #202124;
|
|
--muted: #626665;
|
|
--line: #d8d2c4;
|
|
--accent: #0f766e;
|
|
--accent-strong: #115e59;
|
|
--danger: #a43f2d;
|
|
--code: #17324d;
|
|
--shadow: 0 1px 2px rgba(32, 33, 36, 0.08);
|
|
--radius: 8px;
|
|
--small-radius: 6px;
|
|
--mono: "SFMono-Regular", "Cascadia Code", "Liberation Mono", Menlo, monospace;
|
|
--sans: "Avenir Next", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
background: var(--bg);
|
|
color: var(--text);
|
|
font-family: var(--sans);
|
|
font-size: 16px;
|
|
line-height: 1.7;
|
|
letter-spacing: 0;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
}
|
|
|
|
code {
|
|
border: 1px solid #d4dfdc;
|
|
border-radius: 5px;
|
|
background: #eef5f1;
|
|
color: var(--code);
|
|
font-family: var(--mono);
|
|
font-size: 0.92em;
|
|
padding: 0.08rem 0.28rem;
|
|
}
|
|
|
|
button,
|
|
a {
|
|
transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
|
|
}
|
|
|
|
button:focus-visible,
|
|
a:focus-visible {
|
|
outline: 3px solid rgba(15, 118, 110, 0.28);
|
|
outline-offset: 3px;
|
|
}
|
|
|
|
.site-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 2rem;
|
|
padding: 3rem clamp(1rem, 4vw, 3rem) 2rem;
|
|
border-bottom: 1px solid var(--line);
|
|
background: var(--surface);
|
|
}
|
|
|
|
.site-header h1 {
|
|
margin: 0.2rem 0 0.75rem;
|
|
font-size: clamp(2rem, 4vw, 4.3rem);
|
|
line-height: 1.08;
|
|
font-weight: 780;
|
|
}
|
|
|
|
.lead {
|
|
max-width: 760px;
|
|
margin: 0;
|
|
color: var(--muted);
|
|
font-size: 1.05rem;
|
|
}
|
|
|
|
.eyebrow {
|
|
margin: 0 0 0.4rem;
|
|
color: var(--accent-strong);
|
|
font-size: 0.78rem;
|
|
font-weight: 760;
|
|
letter-spacing: 0;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.header-facts {
|
|
align-self: flex-end;
|
|
display: grid;
|
|
gap: 0.45rem;
|
|
min-width: 210px;
|
|
}
|
|
|
|
.header-facts span {
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--small-radius);
|
|
background: #f8f7f2;
|
|
color: var(--muted);
|
|
font-family: var(--mono);
|
|
font-size: 0.78rem;
|
|
padding: 0.4rem 0.55rem;
|
|
}
|
|
|
|
.page-shell {
|
|
display: grid;
|
|
grid-template-columns: minmax(180px, 240px) minmax(0, 1fr) minmax(230px, 300px);
|
|
grid-template-areas: "nav main quick";
|
|
gap: clamp(1rem, 2vw, 2rem);
|
|
max-width: 1640px;
|
|
margin: 0 auto;
|
|
padding: 1.5rem clamp(1rem, 3vw, 2.5rem) 4rem;
|
|
}
|
|
|
|
.side-nav {
|
|
grid-area: nav;
|
|
position: sticky;
|
|
top: 1rem;
|
|
align-self: start;
|
|
display: grid;
|
|
gap: 0.25rem;
|
|
padding: 0.75rem;
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius);
|
|
background: rgba(255, 253, 248, 0.9);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.side-nav a {
|
|
border-radius: var(--small-radius);
|
|
color: var(--muted);
|
|
font-size: 0.95rem;
|
|
font-weight: 650;
|
|
padding: 0.45rem 0.55rem;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.side-nav a:hover,
|
|
.side-nav a.is-active {
|
|
background: #e3f2ed;
|
|
color: var(--accent-strong);
|
|
}
|
|
|
|
.quick-panel {
|
|
grid-area: quick;
|
|
position: sticky;
|
|
top: 1rem;
|
|
align-self: start;
|
|
}
|
|
|
|
.quick-panel-inner {
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius);
|
|
background: var(--surface);
|
|
padding: 1rem;
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.quick-panel h2 {
|
|
margin: 0 0 0.5rem;
|
|
font-size: 1.15rem;
|
|
line-height: 1.25;
|
|
}
|
|
|
|
.quick-panel p {
|
|
margin: 0 0 0.85rem;
|
|
color: var(--muted);
|
|
font-size: 0.92rem;
|
|
}
|
|
|
|
.triage-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.45rem;
|
|
}
|
|
|
|
.triage-actions button,
|
|
.copy-button {
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--small-radius);
|
|
background: #f9f8f3;
|
|
color: var(--text);
|
|
cursor: pointer;
|
|
font: inherit;
|
|
font-size: 0.86rem;
|
|
font-weight: 700;
|
|
padding: 0.38rem 0.55rem;
|
|
}
|
|
|
|
.triage-actions button:hover,
|
|
.copy-button:hover {
|
|
border-color: var(--accent);
|
|
color: var(--accent-strong);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.triage-actions button.is-selected {
|
|
background: var(--accent);
|
|
border-color: var(--accent);
|
|
color: #fff;
|
|
}
|
|
|
|
.triage-actions .clear-filter {
|
|
width: 100%;
|
|
background: #fff7ed;
|
|
color: #8b4a1f;
|
|
}
|
|
|
|
.quick-status {
|
|
margin-top: 0.8rem;
|
|
min-height: 2.8em;
|
|
}
|
|
|
|
.content {
|
|
grid-area: main;
|
|
min-width: 0;
|
|
}
|
|
|
|
.manual-section {
|
|
scroll-margin-top: 1rem;
|
|
padding: 2rem 0;
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
|
|
.manual-section:first-child {
|
|
padding-top: 0.5rem;
|
|
}
|
|
|
|
.section-heading {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.section-heading h2 {
|
|
margin: 0;
|
|
font-size: clamp(1.45rem, 2vw, 2.3rem);
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.warning-band,
|
|
.source-note,
|
|
.path-proof,
|
|
.architecture-flow {
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius);
|
|
background: var(--surface);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.warning-band {
|
|
margin: 1.2rem 0;
|
|
border-color: #e2b3a8;
|
|
color: #5d2b21;
|
|
padding: 0.9rem 1rem;
|
|
}
|
|
|
|
.source-note {
|
|
margin: 1.3rem 0 0;
|
|
color: var(--muted);
|
|
font-size: 0.88rem;
|
|
padding: 0.7rem 0.85rem;
|
|
}
|
|
|
|
.definition-grid,
|
|
.architecture-grid,
|
|
.lifecycle-grid,
|
|
.stage-grid,
|
|
.owner-cards {
|
|
display: grid;
|
|
gap: 0.9rem;
|
|
}
|
|
|
|
.definition-grid {
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
margin: 1rem 0;
|
|
}
|
|
|
|
.definition-grid > div,
|
|
.architecture-layer,
|
|
.lifecycle-node,
|
|
.stage-card,
|
|
.diagnostic-row,
|
|
.owner-cards article {
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius);
|
|
background: var(--surface);
|
|
padding: 1rem;
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
dt {
|
|
color: var(--text);
|
|
font-weight: 780;
|
|
}
|
|
|
|
dd {
|
|
margin: 0 0 0.75rem;
|
|
color: var(--muted);
|
|
}
|
|
|
|
dd:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.architecture-flow {
|
|
display: grid;
|
|
grid-template-columns: repeat(6, minmax(0, 1fr));
|
|
gap: 0.5rem;
|
|
margin: 1.2rem 0;
|
|
padding: 0.8rem;
|
|
}
|
|
|
|
.architecture-flow span {
|
|
display: grid;
|
|
min-height: 54px;
|
|
place-items: center;
|
|
border: 1px solid #cad8d4;
|
|
border-radius: var(--small-radius);
|
|
background: #edf6f2;
|
|
color: var(--accent-strong);
|
|
font-size: 0.86rem;
|
|
font-weight: 780;
|
|
text-align: center;
|
|
}
|
|
|
|
.architecture-grid {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.architecture-layer h3,
|
|
.lifecycle-node h3,
|
|
.stage-card h3,
|
|
.diagnostic-row h3,
|
|
.owner-cards h3 {
|
|
margin: 0 0 0.7rem;
|
|
font-size: 1.05rem;
|
|
line-height: 1.25;
|
|
}
|
|
|
|
.path-proof {
|
|
display: grid;
|
|
gap: 0.75rem;
|
|
margin: 1rem 0;
|
|
padding: 1rem;
|
|
}
|
|
|
|
.path-proof > div {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 0.55rem;
|
|
min-height: 42px;
|
|
border-bottom: 1px solid #ece5d8;
|
|
padding-bottom: 0.75rem;
|
|
}
|
|
|
|
.path-proof > div:last-child {
|
|
border-bottom: 0;
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.step-label {
|
|
min-width: 5.8rem;
|
|
color: var(--muted);
|
|
font-size: 0.84rem;
|
|
font-weight: 760;
|
|
}
|
|
|
|
.lifecycle-grid {
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
}
|
|
|
|
.owner-table-wrap {
|
|
margin: 1rem 0;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.owner-table {
|
|
width: 100%;
|
|
min-width: 760px;
|
|
border-collapse: collapse;
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius);
|
|
background: var(--surface);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.owner-table th,
|
|
.owner-table td {
|
|
border-bottom: 1px solid var(--line);
|
|
padding: 0.75rem;
|
|
text-align: left;
|
|
vertical-align: top;
|
|
}
|
|
|
|
.owner-table thead th {
|
|
background: var(--surface-soft);
|
|
color: var(--text);
|
|
}
|
|
|
|
.owner-table tbody th {
|
|
color: var(--accent-strong);
|
|
}
|
|
|
|
.owner-table tr:last-child th,
|
|
.owner-table tr:last-child td {
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.owner-cards {
|
|
display: none;
|
|
}
|
|
|
|
.stage-grid {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.diagnostic-list {
|
|
display: grid;
|
|
gap: 0.9rem;
|
|
}
|
|
|
|
.diagnostic-row {
|
|
display: grid;
|
|
grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
|
|
gap: 1rem;
|
|
}
|
|
|
|
.diagnostic-row h3 {
|
|
color: var(--danger);
|
|
}
|
|
|
|
.diagnostic-row.is-hidden {
|
|
display: none;
|
|
}
|
|
|
|
.source-map {
|
|
display: grid;
|
|
gap: 0.55rem;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.source-map div {
|
|
display: grid;
|
|
grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1.4fr);
|
|
gap: 0.75rem;
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--small-radius);
|
|
background: var(--surface);
|
|
padding: 0.75rem;
|
|
}
|
|
|
|
.source-map span {
|
|
color: var(--muted);
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
@media (max-width: 1180px) {
|
|
.page-shell {
|
|
grid-template-columns: minmax(170px, 220px) minmax(0, 1fr);
|
|
grid-template-areas:
|
|
"nav quick"
|
|
"nav main";
|
|
}
|
|
|
|
.quick-panel {
|
|
position: static;
|
|
}
|
|
|
|
.lifecycle-grid {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.architecture-flow {
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
}
|
|
}
|
|
|
|
@media (max-width: 820px) {
|
|
.site-header {
|
|
display: grid;
|
|
padding: 2rem 1rem 1.25rem;
|
|
}
|
|
|
|
.header-facts {
|
|
align-self: start;
|
|
min-width: 0;
|
|
}
|
|
|
|
.page-shell {
|
|
grid-template-columns: 1fr;
|
|
grid-template-areas:
|
|
"nav"
|
|
"quick"
|
|
"main";
|
|
padding: 1rem 1rem 3rem;
|
|
}
|
|
|
|
.side-nav {
|
|
position: static;
|
|
display: flex;
|
|
overflow-x: auto;
|
|
padding: 0.55rem;
|
|
}
|
|
|
|
.side-nav a {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.definition-grid,
|
|
.architecture-grid,
|
|
.lifecycle-grid,
|
|
.stage-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.architecture-flow {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.owner-table-wrap {
|
|
display: none;
|
|
}
|
|
|
|
.owner-cards {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.diagnostic-row {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.source-map div {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 520px) {
|
|
body {
|
|
font-size: 15px;
|
|
}
|
|
|
|
.manual-section {
|
|
padding: 1.6rem 0;
|
|
}
|
|
|
|
.path-proof > div {
|
|
align-items: flex-start;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.copy-button {
|
|
max-width: 100%;
|
|
overflow-wrap: anywhere;
|
|
text-align: left;
|
|
}
|
|
}
|
|
|
|
@media print {
|
|
.side-nav,
|
|
.quick-panel,
|
|
.copy-button {
|
|
display: none;
|
|
}
|
|
|
|
.site-header,
|
|
.manual-section,
|
|
.definition-grid > div,
|
|
.architecture-layer,
|
|
.lifecycle-node,
|
|
.stage-card,
|
|
.diagnostic-row {
|
|
box-shadow: none;
|
|
}
|
|
|
|
.page-shell {
|
|
display: block;
|
|
max-width: none;
|
|
padding: 0;
|
|
}
|
|
}
|