:root { color-scheme: light dark; --bg: #1d2021; --bg-hard: #282828; --bg1: #3c3836; --bg2: #504945; --bg3: #665c54; --bg4: #7c6f64; --fg: #f9f5d7; --fg-hard: #fdf4c1; --fg1: #ebdbb2; --fg2: #d5c4a1; --fg3: #bdae93; --fg4: #a89984; --red: #cc2412; --green: #98971a; --yellow: #d79921; --blue: #458588; --purple: #b16286; --cyan: #689d6a; --gray: #a89984; --orange: #d65d0e; --bright-red: #fb4934; --bright-green: #b8bb26; --bright-yellow: #fabd2f; --bright-blue: #83a598; --bright-purple: #d3869b; --bright-cyan: #8ec07c; --bright-gray: #928374; --bright-orange: #fe8019; } @media (prefers-color-scheme: light) { :root { --bg: #f9f5d7; --bg-hard: #fdf4c1; --bg1: #ebdbb2; --bg2: #d5c4a1; --bg3: #bdae93; --bg4: #a89984; --fg: #1d2021; --fg-hard: #282828; --fg1: #3c3836; --fg2: #504945; --fg3: #665c54; --fg4: #7c6f64; --red: #9d0006; --green: #79740e; --yellow: #b57614; --blue: #076678; --purple: #8f3f71; --cyan: #427b58; --orange: #af3a03; --gray: #928374; --bright-red: #cc2412; --bright-green: #98971a; --bright-yellow: #d79921; --bright-blue: #458598; --bright-purple: #b16286; --bright-cyan: #689d6a; --bright-orange: #d65d0e; --bright-gray: #7c6f64; } } html { background: var(--bg); color: var(--fg); font-size: 12pt; font-family: monospace; display: flex; flex-direction: column; } body { height: calc(100vh - 1rem); width: calc(100vw - 4rem); max-width: 640px; margin: 0 2rem 1rem; align-self: center; } main { display: flex; flex-direction: column; } hgroup { text-align: center; } hr { border-width: 0; } table { width: 100%; max-width: 500px; align-self: center; border-collapse: collapse; background: var(--bg1); color: var(--fg1); } tbody { border: 2px solid var(--bg4); } td { padding: 5px; vertical-align: top; } td:first-of-type + td { text-align: right; } tr:first-of-type + tr { border-top: 1px solid var(--bg3); } .ok { color: var(--bright-green); } .warning { color: var(--bright-yellow); } .error { color: var(--bright-red); } .details { visibility: collapse; font-size: 8pt; color: var(--fg-hard); background: var(--bg-hard); } :hover + .details { visibility: visible; } :hover { visibility: visible; }