/* Deliberately bare; real styling comes later. */ :root { --bg: #0b0b0b; --fg: #d8d8d8; --dim: #2e2e2e; --muted: #777; color-scheme: dark; } * { box-sizing: border-box; } html, body { margin: 0; background: var(--bg); color: var(--fg); } body { font: 14px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; } a { color: var(--fg); text-decoration: none; } a:hover { text-decoration: underline; } button { font: inherit; color: var(--fg); background: none; border: 1px solid var(--dim); padding: 2px 10px; cursor: pointer; } button:hover { border-color: var(--muted); } .album { max-width: 640px; margin: 15vh auto; padding: 0 16px; } .album h1 { font-weight: normal; font-size: 18px; margin: 0 0 24px; } .tracks { padding-left: 1.5em; } .page { display: flex; min-height: 100vh; min-height: 100dvh; } /* the stage always fits the visible screen (dvh tracks mobile browser bars), so play is never below the fold */ .stage { flex: 1; min-width: 0; height: 100vh; height: 100dvh; display: flex; flex-direction: column; padding: 16px; gap: 12px; } header { color: var(--muted); } .notice { color: var(--muted); font-size: 12px; min-height: 1.4em; margin-top: -6px; } header a { color: var(--muted); } .sep { color: var(--dim); } /* the canvas is the largest square that fits the space left between header and transport */ .view { flex: 1; min-height: 0; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; } .view canvas { display: block; flex: none; } /* sized in main.ts to the largest square that fits */ @media (max-width: 720px) { .page { flex-direction: column; } } /* large play button over the plot until the piece starts */ .big-play { position: absolute; inset: 0; margin: auto; width: 88px; height: 88px; border-radius: 50%; border: 1px solid var(--muted); background: rgba(11, 11, 11, 0.55); color: var(--fg); font-size: 30px; line-height: 1; padding: 0 0 0 6px; cursor: pointer; } .big-play:hover { border-color: var(--fg); } .big-play[hidden] { display: none; } .transport { display: flex; align-items: center; gap: 12px; } .transport .play { min-width: 64px; } .progress { flex: 1; height: 1px; background: var(--dim); position: relative; } .progress.seekable { cursor: pointer; height: 9px; background: linear-gradient(var(--dim), var(--dim)) center / 100% 1px no-repeat; } .progress .bar { position: absolute; left: 0; top: 50%; height: 1px; margin-top: -0.5px; background: var(--fg); width: 0; } .edit { color: var(--muted); } .author { width: 360px; flex: none; height: 100vh; overflow-y: auto; position: sticky; top: 0; border-left: 1px solid var(--dim); padding: 12px; font-size: 12px; } @media (max-width: 720px) { .author { width: auto; height: auto; position: static; border-left: none; border-top: 1px solid var(--dim); } } .author .actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 10px; } .author .status { color: var(--muted); } .author fieldset { border: none; border-top: 1px solid var(--dim); margin: 10px 0 0; padding: 6px 0 0; } .author legend { color: var(--muted); padding: 0 6px 0 0; } .author .row { display: grid; grid-template-columns: 110px 1fr 64px 36px; gap: 6px; align-items: center; margin: 3px 0; } .author .row > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .author .row:has(select) , .author .row:has(input[type=checkbox]) { grid-template-columns: 110px 1fr; } .author .row:has(select) select { justify-self: start; } .author .row:has(input[type=checkbox]) input { justify-self: start; } .author > .row { grid-template-columns: 110px 80px; } .author input[type=number], .author select { font: inherit; color: var(--fg); background: var(--bg); border: 1px solid var(--dim); padding: 1px 3px; width: 100%; } .author input[type=range] { width: 100%; accent-color: var(--muted); } .author .unit { color: var(--muted); } .readouts { display: grid; grid-template-columns: 110px 1fr; gap: 2px 6px; margin: 8px 0; color: var(--muted); } .readouts dt, .readouts dd { margin: 0; } .readouts dd { color: var(--fg); } .author .row.text { grid-template-columns: 110px 1fr; align-items: start; } .author textarea { font: inherit; font-size: 11px; color: var(--fg); background: var(--bg); border: 1px solid var(--dim); width: 100%; resize: vertical; }