:root { font-size: 16px; font-size: clamp(16px, 8px + 1.5vw, 24px); box-sizing: border-box; display: flex; flex-direction: column; min-height: 100vh; flex-grow: 1; padding: 0; line-height: 1.5; } body { --c-highlight: oklch(100% 0 0 / 0.875); --c-dark: oklch(32.1% 0.022 259.9); --c-accent: white; --c-body-background: oklch(85% 0 338); --c-bg1: oklch(85% 0.04 285); --c-bg2: oklch(85% 0.04 188); --c-text-background-light: oklch(96.2% 0 0 / 0.6); --c-text-light: var(--c-highlight); --c-text-dark: var(--c-dark); --ratio: 1.333; --s-5: calc(var(--s-4) / var(--ratio)); --s-4: calc(var(--s-3) / var(--ratio)); --s-3: calc(var(--s-2) / var(--ratio)); --s-2: calc(var(--s-1) / var(--ratio)); --s-1: calc(var(--s0) / var(--ratio)); --s0: 1rem; --s1: calc(var(--s0) * var(--ratio)); --s2: calc(var(--s1) * var(--ratio)); --s3: calc(var(--s2) * var(--ratio)); --s4: calc(var(--s3) * var(--ratio)); --s5: calc(var(--s4) * var(--ratio)); --content-width: clamp(75vw, 40rem, 100vw - 1rem); --sidebar-width: clamp( 10rem, calc(0.2 * var(--content-width)), calc(var(--content-width) * 0.5) ); --inset: calc(50vw - var(--content-width) / 2); background-image: url(/noise.png), radial-gradient(circle at -20% 20vmin, var(--c-bg1), transparent 60%), radial-gradient( circle at 120% calc(100% - 20vmin), var(--c-bg2), transparent 60% ); } body[data-theme="dark"] { background-color: var(--c-body-background); } [data-theme="dark"] { --c-highlight: oklch(40% 0.088 341.9 / 0.6); --c-accent: oklch(40% 0.088 341.9 / 0.8); --c-body-background: oklch(15% 0.05 262); --c-bg1: oklch(15% 0.05 285); --c-bg2: oklch(15% 0.05 188); --c-dark: oklch(19.1% 0.005 259.9); --c-text-background-light: oklch(30.6% 0.073 341.7 / 0.3); --c-text-light: oklch(94% 0.045 107.2); --c-text-dark: oklch(94% 0.045 107.2); } @media (prefers-color-scheme: dark) { body[data-theme="auto"] { background-color: var(--c-body-background); } [data-theme="auto"] { --c-highlight: oklch(40% 0.088 341.9 / 0.6); --c-accent: oklch(40% 0.088 341.9 / 0.8); --c-body-background: oklch(15% 0.05 262); --c-bg1: oklch(15% 0.05 285); --c-bg2: oklch(15% 0.05 188); --c-dark: oklch(19.1% 0.005 259.9); --c-text-background-light: oklch(30.6% 0.073 341.7 / 0.3); --c-text-light: oklch(94% 0.045 107.2); --c-text-dark: oklch(94% 0.045 107.2); } } ::selection { background: var(--c-highlight); color: var(--c-text-dark); } *, :after, :before { box-sizing: inherit; font-family: inherit; text-decoration-color: color-mix(in srgb, currentColor 50%, transparent); text-decoration-thickness: 0.1rem; } body { position: relative; display: flex; flex-direction: column; z-index: 1; flex-grow: 1; padding: 0; margin: 0; font-family: Inter, sans-serif; background-color: var(--c-body-background); color: var(--c-text-dark); } a { color: inherit; } a[href] { text-decoration-line: underline; box-decoration-break: clone; padding: 0.1em; margin: -0.1em; position: relative; } a[href]:hover, a[href]:focus-visible, nav label:hover, nav label:focus-visible, nav label:has(input:focus-visible), nav label:has(input:checked) { outline: none; background-color: var(--c-accent); box-shadow: 0 0 0.5rem var(--c-accent), 0 0 1rem var(--c-accent); text-decoration: none; border-radius: 0.5rem; } a[href]:focus-visible, nav label:focus-visible, nav label:has(input:focus-visible) { z-index: 1; outline: 2px solid var(--c-text-dark); } main p img { max-width: 100%; } section { margin-top: 1rem; } .footnote-item:target, .footnote-ref :target { animation: ping 1s ease-out; &, a { text-decoration-color: var(--c-accent); } } .footnotes-sep { position: relative; z-index: -1; margin: 4rem -1rem -4rem; height: 4.1rem; border: none; background-image: radial-gradient( ellipse farthest-side at 50% 0%, var(--c-highlight), transparent ); opacity: 0.5; } @keyframes ping { 0% { border-radius: 50%; background-color: var(--c-accent); box-shadow: var(--c-accent) 0 0 1rem 4rem; } 100% { border-radius: 50%; background-color: transparent; box-shadow: transparent 0 0 0rem 0rem; } 100% { border-radius: initial; } } li::marker { color: color-mix(in srgb, currentcolor 50%, transparent); } aside { display: inline-block; margin-left: 1ch; font-size: var(--s-1); } span.aside { float: right; clear: right; position: relative; width: var(--sidebar-width); padding: 0.5rem 0 0.5rem 1rem; font-size: var(--s-1); } @media (min-width: 40rem) { main:has(span.aside) { padding-right: calc(var(--inset) + var(--sidebar-width)); } span.aside { padding: 0 0 0 1rem; margin-right: calc(-1 * var(--sidebar-width)); &::after { content: ""; pointer-events: none; position: absolute; top: -0.5rem; left: 0.5rem; right: 0; bottom: -0.5rem; z-index: -1; opacity: 0.4; background: radial-gradient( ellipse farthest-side at 50% 0%, var(--c-highlight), transparent ); } } } ul.collection { padding-left: 0; > li { list-style-type: none; + li { margin-top: 1rem; } } } p { margin: 0; + p { margin-top: 1lh; } } blockquote { position: relative; margin: 1lh 0; padding: 0 1em; &::after { content: ""; pointer-events: none; position: absolute; z-index: -1; top: -1lh; bottom: -1lh; left: -0.1em; width: 15rem; max-width: 100%; background: radial-gradient( ellipse farthest-side at 0% 50%, var(--c-highlight), transparent ); opacity: 0.5; } } sup { font-size: var(--s-1); margin-top: -0.2em; } body > header { color: var(--c-text-dark); padding: 0 var(--inset) 0; border-radius: 0.5rem 0.5rem 0 0; padding-top: env(safe-area-inset-top, 0); } body > header > nav { margin: 0.5rem 0 3rem; } .nav-categories { display: flex; flex-direction: row; flex-wrap: wrap; gap: 0.5em; margin-right: auto; & > a { white-space: nowrap; display: inline-block; } } .nav-row { width: 100%; display: flex; flex-direction: row-reverse; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.25rem; } .nav-home { flex-grow: 1; order: 2; } .nav-home, .nav-active { font-weight: bold; } .nav-settings { display: flex; gap: 0.5em; flex-direction: row; justify-content: end; flex-wrap: wrap; } .nav-toggles { display: flex; flex-direction: row; font-size: var(--s-1); } @media print { :root { font-size: 10pt; } * { text-shadow: none !important; } body { --c-highlight: white --c-dark: white; --c-accent: black; --c-body-background: white; --c-text-light: black; --c-text-dark: black; --content-width: 100vw; } body { background: none; } h1, h2, h3, h4 { opacity: 0.8; } :is(h1, h2, h3, h4, blockquote, .aside)::after { content: none !important; } body > header > nav { display: none; } body > footer { display: none; } a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.75em; word-break: break-all; font-family: "Commit Mono", monospace; .footnotes & { display: block; } } .isso-postbox { display: none; } } body > footer { position: relative; text-align: right; font-size: var(--s-1); margin: auto var(--inset) 0; padding-top: 4rem; padding-bottom: max(env(safe-area-inset-bottom, 0), 0.5rem); & a { white-space: nowrap; } } footer section { margin-top: 0; } .nav-toggle-button { position: relative; cursor: pointer; text-decoration-line: underline; display: inline-block; border-radius: 0; padding: 0.1rem 0.25rem; margin: 0; border-radius: 0 !important; background-color: var(--c-text-background-light); > input[type="radio"] { z-index: -2; position: absolute; inset: 0; opacity: 0; } &:first-of-type { border-top-left-radius: 0.5rem !important; border-bottom-left-radius: 0.5rem !important; } &:last-of-type { border-top-right-radius: 0.5rem !important; border-bottom-right-radius: 0.5rem !important; } } [data-language="aurebesh"] { font-family: FTAurebesh; line-height: 1.25; ul:not(.collection) > li { list-style-type: square; } } [data-language="english"] { font-family: Inter; } h1, h2, h3, h4 { position: relative; font-weight: 700; text-shadow: 0 0 0.5em var(--c-highlight); margin-top: 0.75em; margin-bottom: 0.75em; &:hover .header-anchor { opacity: 1; } } :is(h1, h2, h3)::after { pointer-events: none; opacity: 0.5; content: ""; position: absolute; z-index: -1; bottom: 0; left: -4rem; height: 4em; width: 30rem; max-width: 100%; background: radial-gradient( ellipse farthest-side at 50% 100%, var(--c-highlight), transparent ); } h1 { margin-bottom: 0; } .header-meta { margin-bottom: calc(0.75 * var(--s3)); display: flex; flex-direction: row; flex-wrap: wrap; font-size: var(--s-1); > * + *::before { content: "-"; padding: 0 0.5ch; } } :where(ol li) { list-style-type: decimal; & :where(ol li) { list-style-type: lower-alpha; & :where(ol li) { list-style-type: upper-alpha; } } } main { h1, h2, h3, h4 { clear: both; margin-bottom: 0.25lh; } padding: 0 var(--inset); } h1 { font-size: var(--s3); } h2 { font-size: var(--s2); } h3 { font-size: var(--s1); } a.header-anchor { position: absolute; transform: translateX(-100%); left: -0.2ch; opacity: 0; transition: opacity ease-in 0.1s; &::before { content: "#"; } &:focus-visible { opacity: 1; } } .item-summary { margin-bottom: 1rem; } p > code { display: inline-block; font-family: "Commit Mono", monospace; background-color: var(--c-text-background-light); padding: 0.1em; margin: -0.1em; border-radius: 0.5em; } body #isso-thread { margin-top: 4rem; } body .isso-postbox { max-width: none; } body .isso-textarea { margin: 0; line-height: 1.4rem; } body h4.isso-thread-heading { color: inherit; } body .isso-auth-section { display: flex; align-items: end; justify-content: end; gap: 5px; margin-top: 0.5rem; } body .isso-input-wrapper { display: flex; flex-direction: column; font-size: var(--s-1); margin: 0; width: 100%; max-width: none; flex-shrink: 1; } body .isso-input-wrapper label { height: auto; } body .isso-input-wrapper input, body .isso-textarea, body .isso-preview { color: inherit; font-size: 1rem; background-color: transparent; padding: .5rem; width: 100%; border-radius: 0.2rem; line-height: 1.4rem; border: none; border-bottom: 2px solid var(--c-accent); box-shadow: inset 0 0 2rem -1rem var(--c-accent); outline: none; &:focus { box-shadow: inset 0 0 2rem -1rem var(--c-accent), inset 0 -1.5rem 2.5rem -1.5rem var(--c-accent); border-color: var(--c-accent); } } body .isso-textarea { line-height: 1.2; } body .isso-preview { background: repeating-linear-gradient( -45deg, transparent, transparent 10px, var(--c-text-background-light) 10px, var(--c-text-background-light) 20px ); } body .isso-post-action > input { color: inherit; background-color: var(--c-text-background-light); font-size: 1rem; padding: calc(0.5rem + 1px) 0.5rem; border-radius: 0.2rem; border: none; cursor: pointer; outline: 0; line-height: 1.4rem; &:hover, &:focus-visible { background-color: var(--c-accent); box-shadow: 0 0 0.5rem var(--c-accent), 0 0 1rem var(--c-accent); } } body .isso-post-action { margin: 0; } .isso-postbox:not(.isso-preview-mode) .isso-post-action:has(input[name="edit"]) { display: none; } @media (max-width: 60rem) { body .isso-auth-section { flex-wrap: wrap; } body .isso-input-wrapper { width: 100%; } } #effects { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 304 304' width='200' height='200'%3E%3Cpath fill='%23ffffff' fill-opacity='0.8' d='M44.1 224a5 5 0 1 1 0 2H0v-2h44.1zm160 48a5 5 0 1 1 0 2H82v-2h122.1zm57.8-46a5 5 0 1 1 0-2H304v2h-42.1zm0 16a5 5 0 1 1 0-2H304v2h-42.1zm6.2-114a5 5 0 1 1 0 2h-86.2a5 5 0 1 1 0-2h86.2zm-256-48a5 5 0 1 1 0 2H0v-2h12.1zm185.8 34a5 5 0 1 1 0-2h86.2a5 5 0 1 1 0 2h-86.2zM258 12.1a5 5 0 1 1-2 0V0h2v12.1zm-64 208a5 5 0 1 1-2 0v-54.2a5 5 0 1 1 2 0v54.2zm48-198.2V80h62v2h-64V21.9a5 5 0 1 1 2 0zm16 16V64h46v2h-48V37.9a5 5 0 1 1 2 0zm-128 96V208h16v12.1a5 5 0 1 1-2 0V210h-16v-76.1a5 5 0 1 1 2 0zm-5.9-21.9a5 5 0 1 1 0 2H114v48H85.9a5 5 0 1 1 0-2H112v-48h12.1zm-6.2 130a5 5 0 1 1 0-2H176v-74.1a5 5 0 1 1 2 0V242h-60.1zm-16-64a5 5 0 1 1 0-2H114v48h10.1a5 5 0 1 1 0 2H112v-48h-10.1zM66 284.1a5 5 0 1 1-2 0V274H50v30h-2v-32h18v12.1zM236.1 176a5 5 0 1 1 0 2H226v94h48v32h-2v-30h-48v-98h12.1zm25.8-30a5 5 0 1 1 0-2H274v44.1a5 5 0 1 1-2 0V146h-10.1zm-64 96a5 5 0 1 1 0-2H208v-80h16v-14h-42.1a5 5 0 1 1 0-2H226v18h-16v80h-12.1zm86.2-210a5 5 0 1 1 0 2H272V0h2v32h10.1zM98 101.9V146H53.9a5 5 0 1 1 0-2H96v-42.1a5 5 0 1 1 2 0zM53.9 34a5 5 0 1 1 0-2H80V0h2v34H53.9zm60.1 3.9V66H82v64H69.9a5 5 0 1 1 0-2H80V64h32V37.9a5 5 0 1 1 2 0zM101.9 82a5 5 0 1 1 0-2H128V37.9a5 5 0 1 1 2 0V82h-28.1zm16-64a5 5 0 1 1 0-2H146v44.1a5 5 0 1 1-2 0V18h-26.1zm102.2 270a5 5 0 1 1 0 2H98v14h-2v-16h124.1zM242 149.9V160h16v34h-16v62h48v48h-2v-46h-48v-66h16v-30h-16v-12.1a5 5 0 1 1 2 0zM53.9 18a5 5 0 1 1 0-2H64V2H48V0h18v18H53.9zm112 32a5 5 0 1 1 0-2H192V0h50v2h-48v48h-28.1zm-48-48a5 5 0 0 1-9.8-2h2.07a3 3 0 1 0 5.66 0H178v34h-18V21.9a5 5 0 1 1 2 0V32h14V2h-58.1zm0 96a5 5 0 1 1 0-2H137l32-32h39V21.9a5 5 0 1 1 2 0V66h-40.17l-32 32H117.9zm28.1 90.1a5 5 0 1 1-2 0v-76.51L175.59 80H224V21.9a5 5 0 1 1 2 0V82h-49.59L146 112.41v75.69zm16 32a5 5 0 1 1-2 0v-99.51L184.59 96H300.1a5 5 0 0 1 3.9-3.9v2.07a3 3 0 0 0 0 5.66v2.07a5 5 0 0 1-3.9-3.9H185.41L162 121.41v98.69zm-144-64a5 5 0 1 1-2 0v-3.51l48-48V48h32V0h2v50H66v55.41l-48 48v2.69zM50 53.9v43.51l-48 48V208h26.1a5 5 0 1 1 0 2H0v-65.41l48-48V53.9a5 5 0 1 1 2 0zm-16 16V89.41l-34 34v-2.82l32-32V69.9a5 5 0 1 1 2 0zM12.1 32a5 5 0 1 1 0 2H9.41L0 43.41V40.6L8.59 32h3.51zm265.8 18a5 5 0 1 1 0-2h18.69l7.41-7.41v2.82L297.41 50H277.9zm-16 160a5 5 0 1 1 0-2H288v-71.41l16-16v2.82l-14 14V210h-28.1zm-208 32a5 5 0 1 1 0-2H64v-22.59L40.59 194H21.9a5 5 0 1 1 0-2H41.41L66 216.59V242H53.9zm150.2 14a5 5 0 1 1 0 2H96v-56.6L56.6 162H37.9a5 5 0 1 1 0-2h19.5L98 200.6V256h106.1zm-150.2 2a5 5 0 1 1 0-2H80v-46.59L48.59 178H21.9a5 5 0 1 1 0-2H49.41L82 208.59V258H53.9zM34 39.8v1.61L9.41 66H0v-2h8.59L32 40.59V0h2v39.8zM2 300.1a5 5 0 0 1 3.9 3.9H3.83A3 3 0 0 0 0 302.17V256h18v48h-2v-46H2v42.1zM34 241v63h-2v-62H0v-2h34v1zM17 18H0v-2h16V0h2v18h-1zm273-2h14v2h-16V0h2v16zm-32 273v15h-2v-14h-14v14h-2v-16h18v1zM0 92.1A5.02 5.02 0 0 1 6 97a5 5 0 0 1-6 4.9v-2.07a3 3 0 1 0 0-5.66V92.1zM80 272h2v32h-2v-32zm37.9 32h-2.07a3 3 0 0 0-5.66 0h-2.07a5 5 0 0 1 9.8 0zM5.9 0A5.02 5.02 0 0 1 0 5.9V3.83A3 3 0 0 0 3.83 0H5.9zm294.2 0h2.07A3 3 0 0 0 304 3.83V5.9a5 5 0 0 1-3.9-5.9zm3.9 300.1v2.07a3 3 0 0 0-1.83 1.83h-2.07a5 5 0 0 1 3.9-3.9zM97 100a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-48 32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32 48a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16-64a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 0a3 3 0 1 0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3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32 48a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm112 176a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM17 180a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM17 84a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32 64a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6z'%3E%3C/path%3E%3C/svg%3E"); pointer-events: none; position: absolute; z-index: -1; inset: 0; overflow: hidden; } @keyframes ripple { 0% { opacity: 0; transform: scale(0.2) } 10% { opacity: 0.75; } 100% { opacity: 1; transform: scale(2); } } .effect-instance { position: absolute; border-radius: 0.5rem; background: radial-gradient(ellipse farthest-side at 50% 50%, var(--c-accent) 25%, transparent); animation: 5s ease normal forwards ripple; }