/ simulated_instruments / aerophone
Sign in
simulated_instruments / aerophone
aerophone / src / style.css
84 lines · 1.2 KBBlameHistoryRaw
1:root {
2 color-scheme: dark;
3 --bg: #111317;
4 --fg: #d8dbe0;
5 --muted: #8a909a;
6}
7body {
8 margin: 0;
9 padding: 16px;
10 background: var(--bg);
11 color: var(--fg);
12 font: 14px/1.4 system-ui, sans-serif;
14header h1 {
15 display: inline;
16 font-size: 18px;
17 margin-right: 12px;
19.sub,
20#info {
21 color: var(--muted);
23#view {
24 display: block;
25 width: 100%;
26 max-width: 1024px;
27 aspect-ratio: 2 / 1;
28 margin: 12px 0 6px;
29 cursor: crosshair;
30 image-rendering: pixelated;
32#info {
33 font-variant-numeric: tabular-nums;
34 font-size: 12px;
35 margin-bottom: 10px;
37.controls {
38 display: flex;
39 flex-wrap: wrap;
40 gap: 8px 18px;
41 align-items: center;
43.controls input[type="number"] {
44 width: 70px;
46button {
47 padding: 4px 12px;
49.controls + .controls,
50details {
51 margin-top: 8px;
53summary {
54 cursor: pointer;
55 color: var(--muted);
57.group {
58 display: inline-flex;
59 gap: 2px;
61button.on {
62 background: #2f6b45;
63 color: #fff;
64 border-color: #3d8a59;
66.error:not(:empty) {
67 color: #ff8a7a;
68 margin-top: 8px;
70.muted {
71 color: var(--muted);
72 font-size: 12px;
73 font-variant-numeric: tabular-nums;
75.plot {
76 display: block;
77 width: 100%;
78 max-width: 1024px;
79 height: 90px;
80 margin-top: 8px;
82.plot.tall {
83 height: 140px;
↑↓ move↵openescclose