mirror of
https://github.com/db9979/uconsole_asw_game.git
synced 2026-12-06 04:44:18 +01:00
59 lines
3.0 KiB
CSS
59 lines
3.0 KiB
CSS
/* Script-free player manual page (/manual-en, /manual-de); generated by src/core/manual.py. */
|
|
:root {
|
|
color-scheme: dark;
|
|
--bg: #0b151c;
|
|
--panel: #111f29;
|
|
--line: #30434e;
|
|
--text: #e9eee8;
|
|
--muted: #a7b9bf;
|
|
--accent: #a1e7cc;
|
|
--amber: #f3c577;
|
|
--scope-bg: #071117;
|
|
--mono: "DejaVu Sans Mono", "Cascadia Mono", Consolas, monospace;
|
|
}
|
|
* { box-sizing: border-box; }
|
|
html { scroll-padding-top: 1rem; }
|
|
body { margin: 0; background: var(--bg); color: var(--text);
|
|
font: 1rem/1.55 system-ui, -apple-system, "Segoe UI", sans-serif; }
|
|
a { color: var(--accent); }
|
|
a:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
|
|
.manual-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
|
|
padding: 1rem 1.5rem; border-bottom: 1px solid var(--line); background: var(--panel); }
|
|
.manual-head h1 { margin: 0; font-size: 1.5rem; letter-spacing: .04em; }
|
|
.manual-layout { display: grid; grid-template-columns: 16rem minmax(0, 1fr); gap: 2rem;
|
|
max-width: 96rem; margin: 0 auto; padding: 1.5rem; }
|
|
.toc { position: sticky; top: 1rem; align-self: start; max-height: calc(100vh - 2rem);
|
|
overflow-y: auto; padding: 1rem; border: 1px solid var(--line); background: var(--panel); }
|
|
.toc h2 { margin: 0 0 .5rem; font-size: 1rem; color: var(--muted); text-transform: uppercase; }
|
|
.toc ol { margin: 0; padding-left: 1.4rem; }
|
|
.toc li { margin: .25rem 0; }
|
|
main { min-width: 0; }
|
|
article { padding-bottom: 2rem; margin-bottom: 2rem; border-bottom: 1px solid var(--line); }
|
|
article > h2 { margin-top: 0; font-size: 1.6rem; color: var(--accent); }
|
|
section h3 { margin: 1.6rem 0 .5rem; font-size: 1.2rem; }
|
|
section h4 { margin: 1.2rem 0 .4rem; font-size: 1.05rem; color: var(--muted); }
|
|
p, li { max-width: 70rem; }
|
|
kbd { display: inline-block; padding: 0 .35em; border: 1px solid var(--line); border-bottom-width: 2px;
|
|
border-radius: 4px; background: var(--scope-bg); font: .9em var(--mono); white-space: nowrap; }
|
|
.note { margin: 1rem 0; padding: .6rem 1rem; border-left: 4px solid var(--amber); background: var(--panel); }
|
|
.note p { margin: 0; }
|
|
pre.diagram { overflow-x: auto; padding: .8rem 1rem; border: 1px solid var(--line);
|
|
background: var(--scope-bg); color: var(--accent); font: .9rem/1.35 var(--mono); }
|
|
.table-wrap { overflow-x: auto; margin: 1rem 0; }
|
|
table { border-collapse: collapse; min-width: 50%; }
|
|
th, td { padding: .35rem .7rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
|
|
th { background: var(--panel); color: var(--muted); }
|
|
table.keys td:first-child { white-space: nowrap; }
|
|
ol.sop { padding-left: 1.6rem; }
|
|
ol.sop li { margin: .2rem 0; }
|
|
@media (max-width: 52rem) {
|
|
.manual-layout { grid-template-columns: minmax(0, 1fr); padding: 1rem; gap: 1rem; }
|
|
.toc { position: static; max-height: none; }
|
|
.manual-head { padding: .8rem 1rem; }
|
|
}
|
|
@media print {
|
|
:root { --bg: #fff; --panel: #fff; --text: #000; --muted: #333; --accent: #000; --scope-bg: #fff; --line: #999; }
|
|
.toc { display: none; }
|
|
.manual-layout { display: block; }
|
|
}
|