← Files CutawayARCHIVED FILE

skills/cutaway/examples/style.css

6.15 KB · Nov 3, 2026 · 00:13 UTC

↓ Download file

* { box-sizing: border-box; }
html { color-scheme: light; }
body { margin: 0; background: var(--page); color: var(--ink); font: 15px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body.iso { --page: #f5f3ed; --panel: #fcfbf7; --ink: #282c2b; --muted: #666b65; --rule: #d8d8cc; }
body.iso[data-theme] { --anatomy-card: var(--panel); --anatomy-paper: var(--panel); }
body[data-theme="dark"] { color-scheme: dark; --page: #171b1a; --panel: #202523; --ink: #eeeede; --muted: #b2b7af; --rule: #414a43; }
body.iso[data-theme="dark"] { --anatomy-top: #38433e; --anatomy-shade-0: #1d2420; --anatomy-shade-1: #252d28; --anatomy-shade-2: #2d3730; --anatomy-shade-3: #344037; --anatomy-mid: #91a195; --anatomy-lo: #69796e; --anatomy-faint: #424e46; }
main { width: min(1200px, calc(100% - 56px)); margin: 32px auto 64px; }
.masthead { display: flex; justify-content: space-between; gap: 24px; padding: 0 0 18px; border-bottom: 1px solid var(--rule); font: 11px/1.5 ui-monospace, monospace; letter-spacing: .15em; text-transform: uppercase; }
.brand { color: var(--accent); font-weight: 700; }
header { max-width: 850px; padding: 40px 0 32px; }
h1 { font: 500 clamp(36px, 5vw, 62px)/1.04 Georgia, "Times New Roman", serif; letter-spacing: -.045em; margin: 0 0 20px; text-wrap: balance; }
.intro { font-size: 17px; color: var(--muted); max-width: 68ch; margin: 0; }
.appearance { display: flex; flex-wrap: wrap; align-items: end; gap: 12px 20px; margin-bottom: 20px; }
.appearance label { display: grid; grid-template-columns: 1fr; gap: 5px; margin: 0; }
.appearance p { color: var(--muted); font-size: 12px; max-width: 40ch; margin: 0 0 8px; }
select { font: inherit; font-size: 13px; color: var(--ink); background: var(--panel); border: 1px solid var(--rule); border-radius: 3px; padding: 9px 30px 9px 10px; min-height: 42px; }
select:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.glow-meaning { display: block; margin-top: 8px; }
.bench { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(290px, 1fr); border: 1px solid var(--rule); background: var(--panel); border-radius: 4px; overflow: hidden; }
figure { margin: 0; min-width: 0; display: flex; flex-direction: column; }
.figure-label { padding: 18px 22px 0; display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font: 10px/1.5 ui-monospace, monospace; letter-spacing: .09em; text-transform: uppercase; }
.stage { margin: auto 0; }
.stage svg { width: 100%; height: auto; display: block; overflow: hidden; }
figcaption { border-top: 1px solid var(--rule); padding: 18px 22px; color: var(--muted); font-size: 13px; }
.controls h2 { font: 500 16px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; margin: 0 0 18px; }
.controls { border-left: 1px solid var(--rule); padding: 24px; }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 16px; }
dt { color: var(--muted); font-size: 11px; margin-bottom: 8px; }
dd { font: 500 22px/1.2 ui-monospace, monospace; margin: 0; color: var(--accent); overflow-wrap: anywhere; }
.detail { font-size: 12px; color: var(--muted); min-height: 40px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
button { font: inherit; font-size: 12px; font-weight: 600; border: 1px solid var(--rule); color: var(--ink); background: var(--panel); padding: 10px 13px; border-radius: 3px; cursor: pointer; min-height: 42px; }
button.primary { background: var(--accent); color: var(--button-text); border-color: var(--accent); }
button:hover { filter: brightness(.94); }
button:disabled { opacity: .4; cursor: default; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
label { display: grid; grid-template-columns: 1fr auto; gap: 8px; font-size: 12px; margin: 14px 0; }
input[type="range"] { grid-column: 1 / -1; width: 100%; accent-color: var(--accent); margin: 4px 0; min-height: 24px; }
.clock { border-top: 1px solid var(--rule); margin-top: 20px; padding-top: 18px; }
.clock-head { display: flex; justify-content: space-between; gap: 12px; font: 12px/1.5 ui-monospace, monospace; }
.clock-head span { color: var(--muted); font: 11px/1.5 -apple-system, BlinkMacSystemFont, sans-serif; }
.clock .actions { margin: 12px 0 0; }
.message { min-height: 66px; border-left: 2px solid var(--accent); padding-left: 12px; margin: 20px 0 0; font-size: 12px; }
.slot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--rule); font-size: 12px; }
.slot strong { display: block; font-size: 10px; color: var(--muted); font-weight: 500; }
.notes { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 32px 0; }
h2 { font: 500 24px/1.2 Georgia, serif; margin: 0 0 12px; }
.notes p { color: var(--muted); margin: 0; max-width: 60ch; }
.assumptions { border-top: 1px solid var(--rule); padding-top: 22px; color: var(--muted); font-size: 12px; }
details { border-top: 1px solid var(--rule); margin-top: 22px; padding-top: 18px; font-size: 12px; color: var(--muted); }
summary { cursor: pointer; }
#events { padding-left: 20px; }
#events li { margin: 8px 0; }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; border-top: 1px solid var(--rule); margin-top: 32px; padding-top: 18px; font: 11px/1.6 ui-monospace, monospace; color: var(--muted); }
footer a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
noscript { display: block; border: 1px solid var(--accent); padding: 12px; }
@media (max-width: 820px) { main { width: min(620px, calc(100% - 32px)); margin-top: 22px; } header { padding-top: 28px; } .bench { grid-template-columns: 1fr; } .controls h2 { font: 500 16px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; margin: 0 0 18px; }
.controls { border-left: 0; border-top: 1px solid var(--rule); } .notes { grid-template-columns: 1fr; gap: 24px; } .masthead { font-size: 9px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

SHA-256: 066cd42544b98f9bd47539597978f36ad5efad9cf945e2b8b87748906575e881