@import url("./reset.css"); :root { --font-family: monospace; --line-height: 1.15rem; --border-thickness: 2px; --font-weight-normal: 500; --font-weight-medium: 600; --font-weight-bold: 800; --text-color: #ddd; --background-color: #080808; --color-yellow: #e3c78a; --color-blue: #80a0ff; font-family: var(--font-family); font-optical-sizing: auto; font-weight: var(--font-weight-normal); font-style: normal; font-variant-numeric: tabular-nums lining-nums; font-size: 16px; } * { box-sizing: border-box; } * + * { margin-top: var(--line-height); } html { display: flex; width: 100%; margin: 0; padding: 0; flex-direction: column; align-items: center; } body { position: relative; width: 100%; margin: 0; padding: var(--line-height) 2ch; max-width: calc(min(90ch, round(down, 100%, 1ch))); line-height: var(--line-height); overflow-x: hidden; background-color: var(--background-color); color: var(--text-color); } @media screen and (max-width: 480px) { :root { font-size: 16px; } body { padding: var(--line-height) 1ch; } } img { max-width: 61.8%; height: auto; margin-left: auto; margin-right: auto; } h1, h2, h3, h4, h5, h6 { font-weight: var(--font-weight-bold); margin: calc(var(--line-height) * 2) 0 var(--line-height); line-height: var(--line-height); } h1 { font-size: 2rem; line-height: calc(2 * var(--line-height)); margin-bottom: calc(var(--line-height) * 2); text-transform: uppercase; } h2 { font-size: 1rem; text-transform: uppercase; } hr { position: relative; display: block; height: var(--line-height); margin: calc(var(--line-height) * 1.5) 0; border: none; color: var(--text-color); } hr:after { display: block; content: ""; position: absolute; top: calc(var(--line-height) / 2 - var(--border-thickness)); left: 0; width: 100%; border-top: calc(var(--border-thickness) * 3) double var(--text-color); height: 0; } a { text-decoration-thickness: var(--border-thickness); } a:link, a:visited { color: var(--text-color); } p { font-size: 1em; margin-bottom: var(--line-height); } strong { font-weight: var(--font-weight-bold); } em { font-style: italic; } sub { position: relative; display: inline-block; margin: 0; vertical-align: sub; line-height: 0; width: calc(1ch / 0.75); font-size: .75rem; } table { position: relative; border-collapse: collapse; top: calc(var(--line-height) / 2); width: calc(round(down, 100%, 1ch)); margin: 0 0 calc(var(--line-height) * 2); } th, td { border: var(--border-thickness) solid var(--text-color); padding: calc((var(--line-height) / 2)) calc(1ch - var(--border-thickness) / 2) calc((var(--line-height) / 2) - (var(--border-thickness))) ; line-height: var(--line-height); vertical-align: top; text-align: left; } table tbody tr:first-child > * { padding-top: calc((var(--line-height) / 2) - var(--border-thickness)); } th { font-weight: 700; } .width-min { width: 0%; } .width-auto { width: 100%; } .header { margin-bottom: calc(var(--line-height) * 2); } .header h1 { margin: 0; } .header tr td:last-child { text-align: right; } p { word-break: break-word; word-wrap: break-word; hyphens: auto; } img, video { display: block; object-fit: contain; overflow: hidden; } img { font-style: italic; color: var(--text-color-alt); } details { border: var(--border-thickness) solid var(--text-color); padding: calc(var(--line-height) - var(--border-thickness)) 2em; margin-bottom: calc(var(--line-height) + 1em); } summary { font-weight: var(--font-weight-medium); cursor: pointer; } details[open] summary { margin-bottom: var(--line-height); } details ::marker { display: inline-block; content: '▶'; margin: 0; } details[open] ::marker { content: '▼'; } details :last-child { margin-bottom: 0; } pre { white-space: pre; overflow-x: auto; margin: var(--line-height) 0; overflow-y: hidden; } figure pre { margin: 0; } pre, code { font-family: "IBM Plex Mono", monospace; font-variant-numeric: tabular-nums lining-nums; } code { font-weight: var(--font-weight-medium); } figure { margin: calc(var(--line-height) * 2) 3ch; overflow-x: auto; overflow-y: hidden; } figcaption { display: block; font-style: italic; margin-top: var(--line-height); } ul, ol { padding: 0; margin: 0 0 var(--line-height); } ul { list-style-type: square; padding: 0 0 0 2ch; } ol { list-style-type: none; counter-reset: item; padding: 0; } ol ul, ol ol, ul ol, ul ul { padding: 0 0 0 3ch; margin: 0; } ol li:before { content: counters(item, ".") ". "; counter-increment: item; font-weight: var(--font-weight-medium); } li { margin: 0; padding: 0; } li::marker { line-height: 0; } ::-webkit-scrollbar { height: var(--line-height); } input, button, textarea, select { border: var(--border-thickness) solid var(--text-color); padding: calc(var(--line-height) / 2 - var(--border-thickness)) calc(1ch - var(--border-thickness)); margin: 0; font: inherit; font-weight: inherit; height: calc(var(--line-height) * 2); width: auto; overflow: visible; background: var(--background-color); color: var(--text-color); line-height: normal; transition: 400ms; -webkit-font-smoothing: inherit; -moz-osx-font-smoothing: inherit; -webkit-appearance: none; } input:hover, button:hover, textarea:hover, select:hover { border-color: var(--color-blue); transition: 400ms; } input[type=checkbox] { display: inline-grid; place-content: center; vertical-align: top; width: 2ch; height: var(--line-height); cursor: pointer; } input[type=checkbox]:checked:before { content: ""; width: 1ch; height: calc(var(--line-height) / 2); background: var(--text-color); } button:focus, input:focus { --border-thickness: 3px; outline: none; transition: 100ms; } input { width: calc(round(down, 100%, 1ch)); } ::placeholder { color: var(--text-color-alt); opacity: 1; } ::-ms-input-placeholder { color: var(--text-color-alt); } button::-moz-focus-inner { padding: 0; border: 0; } button { text-transform: uppercase; font-weight: var(--font-weight-medium); cursor: pointer; } button:hover { background: var(--background-color-alt); } button:active { transform: translate(2px, 2px); } label { display: block; width: calc(round(down, 100%, 1ch)); height: auto; line-height: var(--line-height); font-weight: var(--font-weight-medium); margin: 0; } label input { width: 100%; } br { text-indent: 0; margin: 0; } #page-size { position: fixed; bottom: 5px; } .input-box { display: flex; align-items: center; border: 2px solid; } .input-box input { border: none; outline: none; } .input-box:focus-within, input:focus-within { border-color: #4f7df3; transition: 2ms; } .static { transition: 15s; background: repeating-radial-gradient(#000 0 0.0001%,#111 0 0.0002%) 50% 0/250px 250px, repeating-conic-gradient(#000 0 0.0001%,#111 0 0.0002%) 60% 60%/250px 250px !important; background-blend-mode: difference; animation: b .2s infinite alternate; @keyframes b{ 100% { background-position: 50% 0, 60% 50%; } } }