:root { --main-color: #c6b6ee; --text-color: #e8e8d3; --dim-text: #bfbfae; --background-color: #121212; --select-background: #37232d; --list-blue: #8fbfdc; --dark-grey: #282828; --header-yellow: #fad07a; } ::-moz-selection { background: var(--select-background); } ::selection { background: var(--select-background); } html { -webkit-box-sizing: border-box; box-sizing: border-box; scrollbar-color: var(--main-color) var(--background-color); } body { font-family: monospace; line-height: 1.5; max-width: 50rem; margin: 0 auto; padding: 0.5rem; overflow-wrap: break-word; background: var(--background-color); color: var(--text-color); } /* navigation */ nav { display: flex; gap: 0.5rem 1.5rem; flex-wrap: wrap; } nav a { white-space: nowrap; } /* headers */ h1, h2, h3, h4, h5, h6 { margin: 1.5rem 0 0.5rem 0; } h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { color: var(--text-color); } h1:target a, h2:target a, h3:target a, h4:target a, h5:target a, h6:target a { text-decoration: underline; } h1::before, h2::before, h3::before, h4::before, h5::before, h6::before { color: var(--main-color); } h1::before { content: '# '; } h2::before { content: '## '; } h3::before { content: '### '; } h4::before { content: '#### '; } h5::before { content: '##### '; } h6::before { content: '###### '; } .headers .name { color: var(--header-yellow); } .headers .name::after { content: ': '; } /* links */ a { text-decoration: none; color: var(--main-color); } a:focus, a:hover { text-decoration: underline; } a[target="_blank"] { /* all external links are marked with `target="_blank"` */ /* using the external-link symbol from Wikipedia Vector 2022 skin, with color matched to link color */ background-image: url(/external-link.svg); background-position: center right; background-repeat: no-repeat; background-size: 0.857em; padding-right: 1em; } /* lists */ ul, ol { padding: 0 0 0 1.5rem; } li { margin: .25rem 0; } ul li::marker { content: '* '; } li::marker, .footnote-definition-label { color: var(--list-blue); } /* footnotes */ .footnote-reference { font-size: inherit; vertical-align: inherit; } .footnote-reference::before { content: '['; } .footnote-reference::after { content: ']'; } .footnote-definition { margin: 0 0 .25rem 0; padding: 0 .2rem; } .footnote-definition:target { background: var(--dark-grey); } .footnote-definition-label { margin: 0 0 0 -2rem; font-size: inherit; vertical-align: inherit; display: inline-block; width: 1.5rem; text-align: right; white-space: nowrap; } .footnote-definition-label::after { content: '.'; } .footnote-definition p { display: inline; } /* code */ pre { padding: 1rem; overflow-x: auto; font-style: monospace; white-space: pre-wrap; word-break: break-word; background-color: var(--dark-grey); } p code, li code, div code, td code { padding: 0 .2rem; background-color: var(--dark-grey); } pre code { padding: 0; color: inherit; background-color: inherit; white-space: pre; overflow: auto; scrollbar-width: thin; } /* tables */ table { border-collapse: collapse; border: none; margin-bottom: 1rem; line-height: 1.1; } table, tr, th, td { border: 0; } th, td { text-align: left; vertical-align: top; padding: 0.5rem; } td, th { text-align: left } /* aside note */ aside { padding: 1rem; background: #080808; color: var(--dim-text); } aside p:first-child { margin-top: 0; } aside p:last-child { margin-bottom: 0; } /* other content */ .red { color: #d75f5f; } .green { color: #87af5f; } blockquote { border-left: .25rem solid var(--dark-grey); margin: 1rem; padding: 0 0 0 1rem } hr { border: 0; border-bottom: .1rem solid var(--dark-grey); margin: 1rem 0; } figure { text-align: center; } img { max-width: min(40rem, 100%); max-height: 30rem; object-fit: contain; }