Files
uconsole_asw_game/data/commander/manual.css
T
db9979andClaude Opus 5.5 f6b1223c8e Web radio room, admin room and manual pages in the CIC design
- Radio station without the chart: HF/DF bearing scope (strobe fan per
  intercept, logged bearings dashed, own course), HF receiver channels with
  digital frequency, ground/sky-wave badge, S-meter and log button, and a
  message teletype. No contact dock; the contact detail opens under the
  station panel when a channel is selected.
- Radio projection publishes the measured HF carrier (frequency_khz) and
  propagation mode, as the uConsole tooltip already shows; browser validator,
  projection test and schema test updated.
- /admin (setup, login, room, crew, options) and /manual-en|de restyled on the
  shared tokens and fonts; the PDF build keeps its own print stylesheet.
- Fix: the CIC grid now always fills the viewport height (the operations grid
  row no longer collapses to content when the tab list is hidden).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-26 13:13:54 +02:00

70 lines
4.7 KiB
CSS

/* Script-free player manual page (/manual-en, /manual-de); generated by
src/core/manual.py. Colours and fonts come from css/tokens.css and
css/fonts.css (the Remote Crew design system), linked before this file. */
* { box-sizing: border-box; }
html { scroll-padding-top: 4rem; font-size: clamp(14px, .2vw + 11px, 18px); }
body { margin: 0; background: var(--bg-0); color: var(--text); font: 1rem/1.6 var(--font-ui); }
a { color: var(--live); text-decoration-color: color-mix(in srgb, var(--live) 45%, transparent); text-underline-offset: .18em; }
a:hover { color: var(--live-strong); }
a:focus-visible { outline: 2px solid var(--caution); outline-offset: 2px; }
* { scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
/* Slim header bar like the crew client's status bar. */
.manual-head {
position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
min-height: var(--bar-h); padding: .35rem 1.2rem; background: var(--bg-1); border-bottom: 1px solid var(--line);
}
.manual-head h1 { margin: 0; font-size: var(--font-lg); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.lang-switch { padding: .25rem .7rem; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg-3); color: var(--text); font-size: var(--font-sm); font-weight: 600; text-decoration: none; }
.lang-switch:hover { border-color: var(--live); color: var(--live-strong); }
.manual-layout { display: grid; grid-template-columns: minmax(14rem, 18rem) minmax(0, 1fr); gap: 2rem; max-width: 110rem; margin: 0 auto; padding: 1.5rem; }
.toc {
position: sticky; top: calc(var(--bar-h) + 1rem); align-self: start; max-height: calc(100vh - var(--bar-h) - 2rem); overflow-y: auto;
padding: .8rem; background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius);
}
.toc h2 { margin: 0 0 .5rem; color: var(--text-dim); font-size: var(--font-xs); letter-spacing: .14em; text-transform: uppercase; }
.toc ol { margin: 0; padding-left: 1.3rem; color: var(--text-faint); }
.toc li { margin: .2rem 0; font-size: var(--font-sm); }
.toc a { color: var(--text-dim); text-decoration: none; }
.toc a:hover { color: var(--live); }
main { min-width: 0; }
/* Chapters read like cards on the console. */
article { margin-bottom: 1.5rem; padding: 1.2rem 1.5rem 1.5rem; background: var(--bg-1); border: 1px solid var(--line); border-top: 2px solid var(--live); border-radius: var(--radius); }
article > h2 { margin-top: 0; color: var(--live); font-size: 1.5rem; letter-spacing: -.01em; }
section h3 { margin: 1.6rem 0 .5rem; padding-bottom: .25rem; border-bottom: 1px solid var(--line-faint); font-size: 1.15rem; }
section h4 { margin: 1.2rem 0 .4rem; color: var(--text-dim); font-size: 1rem; }
p, li { max-width: 75ch; }
code { padding: 0 .3em; background: var(--bg-3); border-radius: 2px; font: .9em var(--font-mono); }
kbd {
display: inline-block; padding: 0 .4em; background: var(--bg-3); border: 1px solid var(--line-strong); border-bottom-width: 2px;
border-radius: 4px; color: var(--live-strong); font: .88em var(--font-mono); white-space: nowrap;
}
.note { margin: 1rem 0; padding: .6rem 1rem; background: var(--caution-bg); border-left: 3px solid var(--caution); border-radius: 0 var(--radius) var(--radius) 0; }
.note p { margin: 0; }
pre.diagram { overflow-x: auto; padding: .8rem 1rem; background: var(--scope); border: 1px solid var(--line); border-radius: var(--radius); color: var(--live); font: .88rem/1.35 var(--font-mono); }
.table-wrap { overflow-x: auto; margin: 1rem 0; }
table { min-width: 50%; border-collapse: collapse; font-size: var(--font-md); }
th, td { padding: .35rem .7rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--bg-3); color: var(--text-dim); font-size: var(--font-sm); text-transform: uppercase; letter-spacing: .06em; }
tr:nth-child(even) td { background: var(--bg-2); }
table.keys td:first-child { white-space: nowrap; }
ol.sop { padding-left: 1.6rem; }
ol.sop li { margin: .2rem 0; }
ol.sop li::marker { color: var(--live); font-family: var(--font-mono); }
@media (max-width: 52rem) {
.manual-layout { grid-template-columns: minmax(0, 1fr); gap: 1rem; padding: 1rem; }
.toc { position: static; max-height: none; }
article { padding: 1rem; }
}
@media print {
:root { --bg-0: white; --bg-1: white; --bg-2: white; --bg-3: white; --text: black; --text-dim: black; --text-faint: black;
--live: black; --live-strong: black; --line: gray; --line-faint: silver; --line-strong: gray; --scope: white; --caution-bg: white; }
.toc, .lang-switch { display: none; }
.manual-head { position: static; }
.manual-layout { display: block; }
article { border: 0; padding: 0; }
}