java-topology/whitepaper/gumyum/gumyum-style.css
russell@unturf.com 0a580b313d undefect. CWE-407 — 63 sites patched across 27 ecosystems
Authors: russell@unturf.com · brackishbert@gmail.com · foxhop.net · TimeHexOn.com

Patches, unit tests, benchmarks, whitepaper, and outreach briefs.
Public domain — no copyright claimed. Use freely.
2026-03-26 17:11:57 -04:00

419 lines
9.8 KiB
CSS

/* gumyum — minecraft enterprise java edition
Design principle: minimum black ink.
Grays, pastels, soft borders. Nothing solid black. */
@font-face {
font-family: 'ChunkFive';
src: url('../fonts/chunkfive.otf') format('opentype');
}
/* ── Letterhead — fixed, repeats on every page ───────── */
#letterhead {
position: fixed;
top: 0;
left: 0;
right: 0;
height: 12mm;
padding: 3mm 20mm 0 20mm;
border-bottom: 1px solid #e8e8e8;
background: white;
display: flex;
align-items: center;
justify-content: space-between;
z-index: 1000;
}
#letterhead .lh-brand {
font-family: 'ChunkFive', 'Rockwell', Georgia, serif;
font-size: 11pt;
font-weight: normal;
color: #333333;
letter-spacing: -0.01em;
}
#letterhead .lh-brand .dot { color: #88bb88; }
#letterhead .lh-right {
display: flex;
align-items: center;
gap: 6mm;
}
#letterhead .lh-tagline {
font-family: 'Helvetica Neue', Helvetica, sans-serif;
font-size: 7pt;
color: #bbbbbb;
letter-spacing: 0.04em;
}
#letterhead .lh-internal {
font-family: 'Helvetica Neue', Helvetica, sans-serif;
font-size: 6pt;
font-weight: 700;
letter-spacing: 0.18em;
text-transform: uppercase;
color: #cc8844;
border: 1px solid #e8c090;
padding: 1px 4px;
border-radius: 2px;
}
/* ── Base ──────────────────────────────────────────────── */
* { box-sizing: border-box; }
body {
font-family: 'Georgia', serif;
font-size: 10.5pt;
line-height: 1.65;
color: #2a2a2a;
background: white;
margin: 0;
padding: 0;
padding-top: 14mm; /* clear the fixed letterhead */
}
/* ── Cover ─────────────────────────────────────────────── */
.cover {
page-break-after: always;
padding: 36mm 0 20mm 0;
min-height: 240mm;
background: white;
}
.cover-tagline {
font-family: 'Helvetica Neue', Helvetica, sans-serif;
font-size: 9pt;
color: #666666;
line-height: 1.7;
margin: 0 0 0 0;
font-style: italic;
}
.cover-eyebrow {
font-family: 'Helvetica Neue', Helvetica, sans-serif;
font-size: 8pt;
letter-spacing: 0.25em;
text-transform: uppercase;
color: #aaaaaa;
margin-bottom: 6mm;
}
.cover-title {
font-family: 'ChunkFive', 'Rockwell', Georgia, serif;
font-size: 38pt;
line-height: 1.1;
color: #222222;
margin: 0 0 4mm 0;
font-weight: normal;
}
.cover-title .accent {
color: #88bb88;
}
.cover-subtitle {
font-family: 'Helvetica Neue', Helvetica, sans-serif;
font-size: 12pt;
color: #666666;
margin: 0 0 10mm 0;
font-weight: 300;
letter-spacing: 0.04em;
}
.cover-rule {
border: none;
border-top: 1.5px solid #dddddd;
margin: 8mm 0;
width: 40mm;
}
.cover-meta {
font-family: 'Helvetica Neue', Helvetica, sans-serif;
font-size: 8.5pt;
color: #999999;
line-height: 1.8;
}
.cover-label {
color: #bbbbbb;
font-size: 7.5pt;
text-transform: uppercase;
letter-spacing: 0.15em;
}
/* ── Headings ───────────────────────────────────────────── */
h1 {
font-family: 'Helvetica Neue', Helvetica, sans-serif;
font-size: 16pt;
font-weight: 500;
color: #333333;
border-bottom: 1px solid #e8e8e8;
padding-bottom: 2mm;
margin: 12mm 0 4mm 0;
page-break-after: avoid;
}
h2 {
font-family: 'Helvetica Neue', Helvetica, sans-serif;
font-size: 12pt;
font-weight: 500;
color: #444444;
margin: 8mm 0 3mm 0;
page-break-after: avoid;
}
h3 {
font-family: 'Helvetica Neue', Helvetica, sans-serif;
font-size: 10pt;
font-weight: 600;
color: #555555;
margin: 5mm 0 2mm 0;
page-break-after: avoid;
}
h4 {
font-family: 'Helvetica Neue', Helvetica, sans-serif;
font-size: 9pt;
font-weight: 600;
color: #777777;
text-transform: uppercase;
letter-spacing: 0.06em;
margin: 4mm 0 1.5mm 0;
}
/* ── Body text ──────────────────────────────────────────── */
p { margin: 0 0 3mm 0; }
strong { color: #333333; font-weight: 600; }
em { color: #555555; }
/* ── Code ───────────────────────────────────────────────── */
code, pre {
font-family: 'Menlo', 'Consolas', 'DejaVu Sans Mono', monospace;
font-size: 8.5pt;
}
code {
background: #f7f7f7;
color: #444444;
padding: 1px 4px;
border-radius: 2px;
border: 1px solid #eeeeee;
}
pre {
background: #f8f8f8;
border: 1px solid #ebebeb;
border-left: 2px solid #dddddd;
padding: 3mm 4mm;
margin: 3mm 0;
overflow-x: auto;
line-height: 1.45;
}
pre code {
background: none;
border: none;
padding: 0;
color: #333333;
}
/* ── Tables ─────────────────────────────────────────────── */
table {
border-collapse: collapse;
width: 100%;
margin: 3mm 0;
font-size: 9pt;
}
th {
background: #f5f5f5;
color: #555555;
font-family: 'Helvetica Neue', Helvetica, sans-serif;
font-size: 8pt;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.06em;
padding: 2mm 3mm;
border-bottom: 1px solid #dddddd;
text-align: left;
}
td {
padding: 1.5mm 3mm;
border-bottom: 1px solid #f0f0f0;
vertical-align: top;
color: #333333;
}
tr:last-child td { border-bottom: none; }
tr:nth-child(even) td { background: #fafafa; }
/* Severity color chips */
.sev-exp { color: #cc2222; font-weight: 600; }
.sev-high { color: #558855; font-weight: 600; }
.sev-med { color: #666688; }
.sev-low { color: #999999; }
.status-ok { color: #338833; }
.status-warn{ color: #cc6600; }
/* ── Diagrams ────────────────────────────────────────────── */
.diagram {
margin: 5mm 0;
text-align: center;
page-break-inside: avoid;
}
.diagram img, .diagram svg {
max-width: 100%;
height: auto;
}
.diagram-caption {
font-family: 'Helvetica Neue', Helvetica, sans-serif;
font-size: 8pt;
color: #888888;
margin-top: 2mm;
text-align: center;
font-style: italic;
}
/* ── Callout boxes ──────────────────────────────────────── */
.callout {
border-left: 2px solid #dddddd;
background: #fafafa;
padding: 3mm 4mm;
margin: 4mm 0;
font-size: 9.5pt;
color: #444444;
}
.callout.defect {
border-left-color: #e88888;
background: #fff8f8;
}
.callout.clean {
border-left-color: #88cc88;
background: #f8fff8;
}
.callout.bench {
border-left-color: #88aacc;
background: #f5f8ff;
}
/* ── Benchmark result blocks ────────────────────────────── */
.benchresult {
font-family: 'Menlo', 'Consolas', monospace;
font-size: 8pt;
background: #f8faff;
border: 1px solid #e8eef8;
border-left: 2px solid #88aacc;
padding: 3mm 4mm;
margin: 3mm 0;
line-height: 1.6;
white-space: pre;
color: #333355;
}
/* ── User stories ────────────────────────────────────────── */
.user-stories {
margin: 8mm 0 6mm 0;
page-break-after: always;
}
.user-stories-header {
font-family: 'Helvetica Neue', Helvetica, sans-serif;
font-size: 8pt;
font-weight: 600;
letter-spacing: 0.2em;
text-transform: uppercase;
color: #aaaaaa;
margin-bottom: 5mm;
border-bottom: 1px solid #eeeeee;
padding-bottom: 2mm;
}
.story-grid {
display: table;
width: 100%;
border-collapse: separate;
border-spacing: 0;
}
.story-card {
display: table-cell;
width: 25%;
vertical-align: top;
padding: 4mm 4mm 4mm 0;
border-top: 2px solid #ddeecc;
}
.story-card:last-child {
padding-right: 0;
}
.story-role {
font-family: 'Helvetica Neue', Helvetica, sans-serif;
font-size: 7pt;
color: #aaaaaa;
letter-spacing: 0.06em;
margin-bottom: 1.5mm;
}
.story-headline {
font-family: 'Helvetica Neue', Helvetica, sans-serif;
font-size: 11pt;
font-weight: 600;
color: #2a5a2a;
line-height: 1.25;
margin-bottom: 2.5mm;
}
.story-body {
font-family: 'Georgia', serif;
font-size: 8pt;
color: #555555;
line-height: 1.6;
margin-bottom: 3mm;
}
.story-body code {
font-family: 'Menlo', 'Consolas', monospace;
font-size: 7.5pt;
background: #f3f6f0;
padding: 0 2px;
border-radius: 2px;
color: #2a5a2a;
}
.story-metric {
font-family: 'Helvetica Neue', Helvetica, sans-serif;
font-size: 7.5pt;
color: #888888;
border-top: 1px solid #e8eee4;
padding-top: 2mm;
margin-top: 2mm;
}
.metric-num {
font-family: 'Helvetica Neue', Helvetica, sans-serif;
font-size: 14pt;
font-weight: 700;
color: #4a8844;
display: block;
line-height: 1.1;
margin-bottom: 0.5mm;
}
/* ── Page breaks ─────────────────────────────────────────── */
.page-break { page-break-after: always; }
/* ── Print ───────────────────────────────────────────────── */
@media print {
body { font-size: 10pt; }
a { color: inherit; text-decoration: none; }
}