Dashboard (infra/nginx/index.html, assets/css/dashboard.css)
- The emoji tile icons (octopus, eye, star, tree, ...) clashed with the
HTI-5 editorial system and read as toys. Each tile now shows one navy
Tabler 3.41.0 outline glyph (the set the marimo overlay already uses)
at a 1.5 stroke, in a 44px hairline plate — an inline <symbol> sprite,
so no extra requests. The sprite also carries i-file-invoice for the
BCDA tile on feat/bcda-v3.
- GPU / DATA badges move from 1.25rem to the 1.5rem tile padding so they
sit flush with the plate and text below.
marimo home (assets/css/marimo.css, loaded via custom_css)
- marimo mixed a 4px solid offset shadow (Create a new notebook) with
soft 2px ones (running / recent / workspace lists, search box); on the
flat palette they looked like smudged double borders. Shadows are
removed under the home container only, so editor cells are untouched.
- The blanket `input { padding: 8px 12px !important }` erased the inset
for the search box's magnifier, which sat on the placeholder; restore
28px left padding on input#search.
Checked headless (chromium, playwright 1.61) at 1440px and 390px: no
console errors, no horizontal scroll at phone width.
292 lines
6.9 KiB
CSS
292 lines
6.9 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 plate — one navy line glyph in a hairline square, like the
|
|
identification block on a technical drawing. Glyphs are the inline
|
|
Tabler sprite in index.html; stroke weight and size live here. */
|
|
.sprite {
|
|
position: absolute;
|
|
width: 0;
|
|
height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.tile .icon {
|
|
width: 44px;
|
|
height: 44px;
|
|
display: grid;
|
|
place-items: center;
|
|
border: 1px solid var(--border);
|
|
color: var(--primary);
|
|
margin-bottom: 0.9rem;
|
|
transition: border-color 0.15s ease;
|
|
}
|
|
|
|
.tile .icon svg {
|
|
width: 24px;
|
|
height: 24px;
|
|
fill: none;
|
|
stroke: currentColor;
|
|
stroke-width: 1.5;
|
|
stroke-linecap: round;
|
|
stroke-linejoin: round;
|
|
}
|
|
|
|
.tile:hover .icon {
|
|
border-color: var(--primary);
|
|
}
|
|
|
|
/* 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.5rem; /* the tile padding: flush with the icon plate below */
|
|
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);
|
|
}
|