:root { --black: #0f0f0f; --white: WhiteSmoke; --ac: MediumPurple; --fg: var(--black); --bg: var(--white); --body-spacing: 45px; --body-line-height: 1.3; color-scheme: light dark; } ::selection { background: var(--ac); opacity: 1.0; color: var(--black); padding: 10px; /* Safari */ } body { background: var(--bg); color: var(--fg); overflow-x: hidden; font-family: sans-serif; padding: var(--body-spacing); margin: 0; } body>*+* { margin-top: var(--body-spacing); } header { float: left; margin: 0 var(--body-spacing) 0 0; } header a { text-decoration: none; } header a img { max-height: 55px; vertical-align: bottom; } header+nav { margin-top: 0; } nav section { display: inline-block; line-height: var(--body-line-height); vertical-align: top; } nav section+* { margin-left: 1rem; } nav ul { margin: 0px; padding: 0px; } main { clear: both; max-width: 700px; } main img { width: 100%; max-width: 700px; margin-bottom: 15px; } main>* { margin-bottom: 30px } main>h1 { font-size: 1.5rem; text-transform: capitalize; } main>h2 { font-size: 1.3rem; text-transform: capitalize } main>h3 { font-size: 1.2rem; text-transform: capitalize } main>h4 { font-size: 1.1rem; text-transform: capitalize } main p { line-height: var(--body-line-height); margin-top: 0px; } main>ul { line-height: var(--body-line-height); } figure { margin: 0; padding-bottom: 20px } figcaption { font-size: smaller; padding: 2px } code.button { background: var(--fg); color: var(--bg); font-size: smaller; display: inline-block; padding: 0px 6px; font-weight: bold; border-radius: 2px; line-height: var(--body-line-height); } main hr { border-color: color-mix(in srgb, var(--fg) 20%, var(--bg)); clear: both; } main>ul.jump { columns: 2; line-height: var(--body-line-height); } main>ul.jump li { list-style-type: decimal-leading-zero; list-style-position: inside; text-transform: capitalize; } main img.medium { max-width: 300px; padding: 10px } main img.normal { max-width: 192px; } main img.sm { max-width: 88px } main>q { /*font-size: 20px;*/ max-width: 500px; display: block; margin-left: 30px; } main>pre { font-family: monospace; background: var(--fg); color: var(--bg); padding: 15px; } main>code { font-family: monospace; /*font-size: 12px;*/ margin-bottom: 30px; display: block; background: var(--fg); color: var(--bg); padding: 15px; white-space: pre } main>code comment { color: #777 } main ul.gallery { background: none } main ul.gallery li { clear: both; display: block; height: 260px; margin-top: -2px } main ul.gallery li:last-child { border-bottom: 0px } main ul.gallery li a { display: block; padding: 10px } main ul.gallery li img { width: 250px; display: block; margin-right: 15px; } main .project { border-left: 2px solid var(--fg); padding-left: 30px; max-width: 555px; } main .project>* { margin-bottom: 30px } main .project p { padding: 0px; margin-top: 0px; margin-bottom: 30px; } main .project img { display: block; max-width: 100%; } main .button { background-color: #000; border: 2px solid var(--fg); color: var(--bg); padding: 13px 28px; text-align: center; text-decoration: none; display: inline-block; /*font-size: 14px;*/ border-radius: 200px; font-weight: bold; margin-right: 15px; margin-bottom: 30px; } main .button:hover { background-color: #333 !important; color: var(--bg); cursor: pointer; } main .button small { color: var(--fg); } body select { color: var(--fg); margin-bottom: 20px } main table.drpdown { padding-bottom: 15px; /*font-size: 18px*/ } main table.drpdown td { padding-bottom: 15px; color: var(--fg); } main>table.col tr th { text-align: left } main>table.col tr td { border-right: 1.5px solid var(--fg) } main>table.col tr>* { padding: 5px 20px } main>table.col tr td:last-child { border-right: 0px } main>table.col tr>*:first-child { padding-left: 0px } main>table.col b { font-weight: bold } main .progress { padding: 2px; width: 100%; max-width: 100%; border: 1px solid grey } main .progress>div { height: 100%; width: 100%; background-color: var(--fg) } main .progress>div>span { color: var(--bg); padding: 0px 2px } main img.detail { max-width: 64px; border: 1px solid #777; padding: 20px; margin: 0px 20px 20px 0px; border-radius: 3px; } main .shortcut, main kbd { background: var(--bg); color: var(--fg); display: inline-block; padding: 2px 5px; margin: 0px; /*font-size: 12px;*/ line-height: var(--body-line-height); border-radius: 2px; font-weight: bold } main .shortcut-list dt, main .shortcut-list dd { display: inline; line-height: var(--body-line-height); margin-left: 0; margin-right: 10px; } main>table.logbook tr td { padding-bottom: 15px; padding-top: 15px; } main>table img { max-width: 100%; display: block; margin: 20px 0; } main>table tr th { text-align: left; font-weight: bold } main>table tr>* { padding: 5px 15px; vertical-align: top; } main span.date { font-family: monospace; display: inline-block; width: 100%; text-align: end; } main>nav.table-of-contents { /*max-width: 30ch;*/ position: sticky; top: 1rem; float: right; margin-right: -22ch; } main>nav.table-of-contents>ol>:first-child { text-transform: none; line-height: 2.0; } main>section#footnotes { margin-bottom: 0; font-size: smaller; } main>section#footnotes hr { display: none; } .footnote-back { margin-left: 1ch; } footer { border-top: 1px solid color-mix(in srgb, var(--fg) 20%, var(--bg)); padding-top: var(--body-spacing); line-height: var(--body-line-height); clear: both; } body>a[href="#top"]:last-child { float: right; margin-top: -2rem; } details[open]>*:not(summary) { margin: 1ex 0 0 0; } /* Modular */ a { color: var(--fg); } ol, ul { margin: 0px 0px 30px 0px; } .col2 { columns: 2 } .capital { text-transform: capitalize } .nocapital { text-transform: unset !important; } .notice { padding: 15px; border: 1px solid var(--ac); background-color: color-mix(in srgb, var(--ac) 10%, var(--bg)); color: color-mix(in srgb, var(--fg) 90%, var(--bg)); } .notice, .notice>* { font-size: 0.8rem; } .notice h1 { text-align: end; font-size: 0.9rem; text-transform: capitalize; } ul.nobull li { list-style-type: none } .hidden { display: none } /* Theme */ @media (prefers-color-scheme: dark) { :root { --fg: var(--white); --bg: var(--black); } .mono { filter: invert(1) } } /* Mobile */ @media (max-width: 1100px) { :root { --body-spacing: 25px; } ul a, ol a { line-height: 1.8; } } @media (max-width: 1100px) and (min-width: 651px) {} @media (max-width: 650px) and (min-width: 501px) {} @media (max-width: 500px) and (min-width: 351px) {} @media (max-width: 350px) {} /* typography */ :root { --vf-grad: 0; } @media (prefers-color-scheme: dark) { :root { --vf-grad: -50; } } html { font-synthesis: none; font-variation-settings: "GRAD" var(--vf-grad, 0); text-size-adjust: none; -moz-text-size-adjust: none; -webkit-text-size-adjust: none; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; text-align: justify; text-justify: inter-word; text-decoration-skip-ink: auto; } main { margin-block-start: var(--body-spacing); } main pre, main code, main var, main samp, main kbd, main h1, main h2, main h3, main h4, main h5, main h6 { -webkit-hyphens: manual; hyphens: manual; } h1 { font-variant-numeric: lining-nums; font-variant-ligatures: discretionary-ligatures; } td, math, time[datetime*=":"] { font-variant-numeric: tabular-nums lining-nums slashed-zero; }