Files
stack/assets/css/dashboard.css
kert c81992184a
Some checks failed
CI / skinny-install (aco) (push) Successful in 54s
CI / skinny-install (api) (push) Successful in 32s
CI / skinny-install (bcda) (push) Successful in 33s
CI / skinny-install (bib) (push) Successful in 30s
CI / skinny-install (bls) (push) Successful in 26s
CI / lint-test (push) Successful in 3m19s
CI / skinny-install (ccw) (push) Successful in 27s
CI / skinny-install (cms) (push) Successful in 32s
CI / skinny-install (cli) (push) Successful in 38s
CI / skinny-install (conf) (push) Successful in 33s
CI / skinny-install (opps) (push) Successful in 43s
Infra CI / notebooks (push) Successful in 7s
Infra CI / zotero (push) Successful in 7s
Infra CI / docs (push) Failing after 10s
Infra CI / api (push) Successful in 13s
Infra CI / mc (push) Successful in 7s
CI / skinny-install (perf) (push) Successful in 31s
CI / skinny-install (pfs) (push) Successful in 30s
CI / skinny-install (rex) (push) Successful in 31s
Deploy / build-scan-report (push) Failing after 1m47s
feat: port fhirworx theme — editorial redesign based on hti5.org
Rip and replace nature/loch with fhirworx — a Federal Register / data
journalism aesthetic inspired by hti5.org.

Typography: Playfair Display for display headings, Source Serif 4 for
reading body, JetBrains Mono reserved for IDs, labels, metadata (docket
codes, commit hashes, query editors, file paths, ports). Stripped
carpet-bombed font-family: mono !important across inject.css and
per-service sheets; kept mono only where load-bearing (th, pre/code,
query editors, span IDs, badge/chip/tag, bucket names, query IDs).

Palette: warm cream (#F7F5F0) background, near-black warm foreground,
deep federal navy (#1C2B3A) primary/sidebar, indigo chart scale +
teal (support) + amber (opposition) semantic accents. PALETTE extended
to 8 colours (+ plum, gray, sepia) for categorical notebook charts.

Rename (no backwards compat):
- assets/nature.py → assets/fhirworx.py
- assets/css/loch.css → assets/css/fhirworx.css
- theme-loch.css → theme-fhirworx.css (Gitea)
- Altair theme registered as "fhirworx" via new alt.theme.register
  decorator API, eliminating the altair 5.5 deprecation warning
- Traefik inject-loch middleware → inject-fhirworx
- Gitea DEFAULT_THEME=fhirworx
- Delete empty theme-throwback.css stub

Rewrote infra/nginx/index.html and infra/gitea/custom/templates/home.tmpl
with editorial masthead (rule-line + Playfair headline + mono identifier
+ serif tagline + rule-line-thin), SERVICES eyebrow + Infrastructure h2,
tiles with .tile-eyebrow / .tile-title / .tile-desc / .tile-port
structure. Stripped letter-spacing: 2-4px tricks and text-transform:
uppercase from non-metadata elements across all per-service sheets.

Propagated import renames: src/conf/connect.py, src/aco/dag.py,
notebooks/acodb_explorer.py, tests/conf/test_connect.py,
tests/test_notebook_layout.py, docs/src/css/custom.css, README.md,
README.md.j2, compose.yml, infra/traefik/dynamic/services.yml.
2026-04-10 14:37:20 -04:00

265 lines
6.3 KiB
CSS

/* HTI-5 — Federal Register editorial design system for Dashboard (nginx landing page) */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Source+Serif+4:ital,wght@0,300;0,400;0,600;1,400&family=JetBrains+Mono:wght@400;500;600&display=swap');
:root {
--background: #F7F5F0;
--foreground: #1A1A18;
--card: #FAFAF7;
--card-foreground: #1A1A18;
--primary: #1C2B3A;
--primary-foreground: #F7F5F0;
--secondary: #EDEBE6;
--muted-foreground: #6B6B68;
--border: #D4D0C8;
--sidebar: #1C2B3A;
--sidebar-foreground: #B8C5D0;
--sidebar-accent: #253748;
--chart-4: #2E8B6E;
--chart-5: #C8702A;
--destructive: #C0392B;
--font-display: "Playfair Display", Georgia, serif;
--font-body: "Source Serif 4", Georgia, serif;
--font-mono: "JetBrains Mono", "Fira Code", monospace;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: var(--font-body);
font-size: 16px;
line-height: 1.65;
background: var(--background);
color: var(--foreground);
min-height: 100vh;
overflow-x: hidden;
-webkit-font-smoothing: antialiased;
}
.container {
max-width: 1180px;
margin: 0 auto;
padding: 3rem 1.5rem;
}
/* ── Masthead ──────────────────────────────────────────────── */
.masthead {
margin-bottom: 1.5rem;
}
.rule-line {
border: none;
border-top: 3px solid var(--foreground);
margin-bottom: 1rem;
}
.rule-line-thin {
border: none;
border-top: 1px solid var(--border);
margin-bottom: 1rem;
}
.masthead-row {
display: flex;
align-items: baseline;
justify-content: space-between;
flex-wrap: wrap;
gap: 0.5rem;
margin-bottom: 1rem;
}
h1 {
font-family: var(--font-display);
font-weight: 800;
font-size: clamp(2.5rem, 5vw, 3.5rem);
line-height: 1.1;
letter-spacing: -0.02em;
color: var(--foreground);
}
.masthead-eyebrow {
font-family: var(--font-mono);
font-size: 0.7rem;
text-transform: uppercase;
letter-spacing: 0.12em;
color: var(--muted-foreground);
align-self: flex-end;
padding-bottom: 0.35rem;
}
.tagline {
font-family: var(--font-body);
font-size: 1.125rem;
color: var(--muted-foreground);
max-width: 65ch;
line-height: 1.65;
margin-bottom: 1.5rem;
}
/* ── Services section ─────────────────────────────────────── */
.section-header {
margin-bottom: 1.5rem;
}
.section-eyebrow {
font-family: var(--font-mono);
font-size: 0.7rem;
text-transform: uppercase;
letter-spacing: 0.12em;
color: var(--muted-foreground);
margin-bottom: 0.4rem;
display: block;
}
h2 {
font-family: var(--font-display);
font-weight: 700;
font-size: 1.75rem;
line-height: 1.2;
letter-spacing: -0.01em;
color: var(--foreground);
}
/* ── Tile grid ────────────────────────────────────────────── */
.grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 1.25rem;
padding: 0;
margin-top: 0;
}
.tile {
background: var(--card);
border: 1px solid var(--border);
border-top: 3px solid var(--foreground);
padding: 1.5rem;
position: relative;
overflow: hidden;
transition: border-color 0.15s ease, background 0.15s ease;
cursor: pointer;
text-decoration: none;
display: block;
}
.tile:hover {
border-color: var(--primary);
background: var(--card);
}
.tile:hover .tile-title {
color: var(--primary);
}
/* Status dot */
.status {
position: absolute;
top: 1rem;
right: 1rem;
width: 8px;
height: 8px;
background: var(--chart-4);
border-radius: 50%;
}
/* Icon — decorative, not oversized */
.tile .icon {
font-size: 1.5rem;
margin-bottom: 0.75rem;
display: block;
line-height: 1;
}
/* Tile eyebrow — mono metadata label (category, service type) */
.tile-eyebrow {
font-family: var(--font-mono);
font-size: 0.7rem;
text-transform: uppercase;
letter-spacing: 0.12em;
color: var(--muted-foreground);
margin-bottom: 0.25rem;
}
/* Tile title — Playfair Display, editorial display size */
.tile-title {
font-family: var(--font-display);
font-size: 1.25rem;
font-weight: 700;
line-height: 1.2;
letter-spacing: -0.01em;
color: var(--foreground);
margin: 0.25rem 0 0.5rem;
transition: color 0.15s ease;
}
/* Tile description — Source Serif 4, reading body */
.tile-desc {
font-family: var(--font-body);
font-size: 0.95rem;
color: var(--muted-foreground);
line-height: 1.55;
margin-bottom: 1rem;
}
/* Tile port/metadata — mono, muted, small */
.tile-port {
font-family: var(--font-mono);
font-size: 0.65rem;
color: var(--muted-foreground);
opacity: 0.7;
display: inline-block;
}
/* Bottom accent line */
.stripe {
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 2px;
background: var(--border);
}
/* ── Badge labels ─────────────────────────────────────────── */
.badge {
position: absolute;
top: -1px;
left: 1.25rem;
font-family: var(--font-mono);
color: var(--primary-foreground);
font-size: 0.6rem;
padding: 3px 7px;
text-transform: uppercase;
letter-spacing: 0.08em;
}
.badge.new { background: var(--chart-5); }
.badge.gpu { background: var(--primary); }
.badge.data { background: var(--primary); }
/* ── Footer ───────────────────────────────────────────────── */
footer {
margin-top: 3rem;
padding-top: 1rem;
border-top: 3px solid var(--foreground);
text-align: left;
color: var(--muted-foreground);
font-family: var(--font-mono);
font-size: 0.65rem;
letter-spacing: 0.08em;
}
footer span {
color: var(--chart-5);
}