/* default / light */ :root { --background: white; --font: black; --quote: #eee; --link: #0303ee; --linkv: #551a8b; --linkf: #f02727; --articleborder: #060606; --tableborder: #aaa; --tablehead: #ebcfff; --tablez: #eee; } @media (prefers-color-scheme: dark) { :root { --background: #1e1e1e; --font: #eee; --quote: #444; --link: #00d3d3; --linkv: #cd78f4; --linkf: #f02727; --articleborder: #23ed9b; --tableborder: #aaa; --tablehead: #6f5a7e; --tablez: #313131; } } html,body { margin: 0; font-family: sans-serif; background-color: var(--background); color: var(--font); } a { color: var(--link); } a:visited { color: var(--linkv); } a:focus { color: var(--linkf); } #body { margin: 16px auto; max-width: 700px; } @media only screen and (max-width: 800px) { #body { margin: 16px 10%; max-width: 700px; } } #body article { border-bottom: 1px solid var(--articleborder); } #body article:last { border-bottom: none; } #body table { border-collapse: collapse; border: 1px solid var(--tableborder); } #body table thead tr { background-color: var(--tablehead); } #body table td, #body table th { border: 1px solid var(--tableborder); padding: 2px 8px; } #body table tr:nth-child(even) { background-color: var(--tablez); } #body ul.compact { columns: 2; } #body blockquote { background-color: var(--quote); border-radius: 2px; padding: 4px; } #body blockquote p { font-style: italic; } #body figure blockquote { margin: 0; } #header { background-color: #060606; color: #67ff79; border-bottom: 4px solid #23ed9b; line-height: 2em; margin: 0; padding: 8px 10%; display: flex; flex-direction: row; justify-content: space-between; } @media only screen and (max-width: 800px) { #header { flex-direction: column; align-items: center; } } #header > nav { flex: initial; } #header > nav > a:link { color: #81b7ff } #header > nav > a:visited { color: #cd78f4; } #header > nav > a:focus, #header > nav > a:active, #header > nav > a:hover { color: #6005dd; } #header > .title { flex: auto; font-family: monospace; font-size: 1.5em; } #header > a.title:link, #header > a.title:visited, #header > a.title:hover, #header > a.title:focus, #header > a.title:active { color:inherit; text-decoration: none; } #footer { font-size: 0.90em; float:right; } #copyright { font-size: 0.80em; float:left; } article .footer { font-size: 0.90em; float:right; } .footnote { /* always shift the footnotes a bit below whats above */ margin: 24px 0 0 0; font-size: 0.75em; } code { font-family: monospace; background-color: var(--quote); padding: 4px 4px; border-radius: 5px 5px; display: inline-block; } code.inline { display: inline; padding: 2px 2px; } .scaled-half { display:inline; } .scaled-half > img { width: 25%; height: 25%; } .scaled-half:hover > img { width: auto; height: auto; } #tutorial { margin: 2% }