/ music / woodblock2
Sign in
music / woodblock2
woodblock2 / style.css
52 lines · 3.4 KBBlameHistoryRaw
1:root {
2 --bg: #f6f4f0; --panel: #ffffff; --fg: #1d1b18; --muted: #6f6a62; --line: #e2ddd4;
3 --accent: #a0522d; --grid: #ebe6dd; --mark: #b8b0a2;
4 --c-modal: #c2410c; --warn: #b45309;
5 color-scheme: light dark;
6}
7@media (prefers-color-scheme: dark) {
8 :root {
9 --bg: #151412; --panel: #1e1c19; --fg: #ece8e1; --muted: #9a948a; --line: #34302b;
10 --accent: #e0915c; --grid: #2a2723; --mark: #5c564e;
11 --c-modal: #fb923c; --warn: #fbbf24;
12 }
14* { box-sizing: border-box; }
15html, body { margin: 0; height: 100%; background: var(--bg); color: var(--fg); font: 13px/1.4 system-ui, -apple-system, sans-serif; }
16main { display: grid; grid-template-columns: 1fr 340px; height: 100vh; }
17.stage { display: grid; grid-template-rows: 1fr auto; grid-template-columns: minmax(0, 1fr); min-width: 0; position: relative; }
18#view { min-height: 300px; position: relative; overflow: hidden; }
19#view canvas { position: absolute; inset: 0; }
20.hint { position: absolute; top: 10px; left: 14px; color: var(--muted); font-size: 12px; pointer-events: none; }
21.plots { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px; border-top: 1px solid var(--line); }
22.plot { min-width: 0; }
23.plot canvas { width: 100%; height: 170px; display: block; }
24.ptitle { color: var(--muted); font-size: 12px; margin-bottom: 4px; }
25.panel { background: var(--panel); border-left: 1px solid var(--line); padding: 14px 16px; overflow-y: auto; }
26h1 { font-size: 17px; margin: 0 0 10px; }
27h2 { font-size: 13px; margin: 18px 0 6px; padding-top: 10px; border-top: 1px solid var(--line); }
28h2 small { color: var(--muted); font-weight: 400; margin-left: 6px; }
29.row { display: grid; grid-template-columns: 130px 1fr 64px; align-items: center; gap: 8px; margin: 3px 0; }
30.row .lab { color: var(--muted); font-size: 12px; }
31.row .val { text-align: right; font-variant-numeric: tabular-nums; font-size: 12px; }
32input[type=range] { width: 100%; accent-color: var(--accent); }
33input[type=text] { width: 100%; background: var(--bg); color: var(--fg); border: 1px solid var(--line); border-radius: 6px; padding: 3px 6px; font: inherit; }
34select { background: var(--bg); color: var(--fg); border: 1px solid var(--line); border-radius: 6px; padding: 3px 4px; }
35.actions { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0; }
36button { background: var(--accent); color: #fff; border: 0; border-radius: 7px; padding: 7px 11px; font: inherit; font-weight: 600; cursor: pointer; }
37button:disabled { opacity: 0.45; cursor: default; }
38button.small { padding: 2px 8px; font-size: 12px; background: var(--muted); }
39.progress { height: 4px; background: var(--grid); border-radius: 2px; overflow: hidden; margin-top: 8px; }
40#bar { height: 100%; width: 0; background: var(--accent); transition: width 0.2s; }
41.status { min-height: 36px; margin-top: 6px; font-size: 12px; color: var(--muted); }
42.kv { display: flex; justify-content: space-between; font-size: 12px; margin: 2px 0 4px; }
43.muted { color: var(--muted); }
44.info { font-size: 11px; color: var(--muted); margin: 6px 0; font-variant-numeric: tabular-nums; }
45.warn { color: var(--warn); font-size: 12px; margin: 4px 0; }
46.warn:empty { display: none; }
47@media (max-width: 800px) {
48 main { grid-template-columns: 1fr; height: auto; }
49 .stage { grid-template-rows: 55vh auto; }
50 .plots { grid-template-columns: 1fr; padding: 10px 16px; }
51 .panel { border-left: 0; border-top: 1px solid var(--line); padding: 14px 16px; }
↑↓ move↵openescclose