:root { --font-serif: 'SourceSerif4', Charter, 'Bitstream Charter', 'Sitka Text', Cambria, serif; /* Shift_JIS art font, so kaomoji and AA keep their intended proportions. Falls back to the classic 2ch stack, then any monospace. */ --font-aa: 'Saitamaar', 'MS PGothic', 'MS Pゴシック', 'IPAMonaPGothic', monospace; --outline: 2px solid var(--color-accent); } *, *:before, *:after { accent-color: var(--color-accent); } :focus-visible { outline: var(--outline); border-radius: 3px; } @font-face { font-family: 'SourceSerif4'; src: url('/font/SourceSerif4_18pt-Regular.ttf') format('truetype'); font-style: normal; font-display: swap; } @font-face { font-family: 'SourceSerif4'; src: url('/font/SourceSerif4_18pt-SemiBold.ttf') format('truetype'); font-weight: bold; font-display: swap; } @font-face { font-family: 'SourceSerif4'; src: url('/font/SourceSerif4_18pt-Italic.ttf') format('truetype'); font-style: italic; font-display: swap; } @font-face { font-family: 'Saitamaar'; src: url('/font/saitamaar_light.woff2') format('woff2'); font-display: swap; } .field-label { display: block; margin-bottom: 0.25em; font-size: 0.9em; } mark { color: inherit; background: color-mix(in srgb, var(--color-warn) 40%, transparent); } .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; } html { scrollbar-gutter: stable; } html:has(dialog:modal) { overflow: hidden; } body { background: var(--color-page-bg); background: linear-gradient(var(--color-header-bg) 0%, var(--color-page-bg) 100%) top / 100% 125px no-repeat, var(--color-page-bg); color: var(--color-text); font-size: 16px; margin: 0; font-family: var(--font-serif); } .page-width { max-width: 40em; } h1, h2, h3 { line-height: 1; margin: 2rem 0 1.5rem; text-wrap: balance; font-family: var(--font-serif); } h1 { font-size: 1.5rem; } h2 { font-size: 1.25rem; } h3 { font-size: 1.15rem; } p { margin: 1.25rem 0; line-height: 1.4; text-wrap: pretty; } a { color: var(--color-anchor); } a:visited { color: var(--color-anchor-visited); } main { padding: 0 1em; padding-bottom: 2em; } :any-link:not([role='menuitem']):hover { color: var(--color-anchor-hover) !important; } :any-link.static { color: var(--color-anchor); } :any-link.weak { text-decoration: none; } :any-link.weak:hover { text-decoration: underline; } :any-link.weak2 { color: inherit; } button, input, textarea, select { font: inherit; box-sizing: border-box; } input[type='file'], input[type='checkbox'] { font-size: 0.9em; } button, select, input[type='file']::file-selector-button, input[type='color'] { padding: 0.2em 0.4em; border: 1px solid var(--color-border); background: var(--color-button-bg); border-radius: 4px; font-size: 0.9em; color: var(--color-text); line-height: 1; } button { display: inline-flex; align-items: center; justify-content: center; gap: 0.4em; white-space: nowrap; user-select: none; } button:disabled, input[type='file']:disabled::file-selector-button, input[type='color']:disabled { opacity: 0.65; } input:not( [type='checkbox'], [type='radio'], [type='file'], [type='submit'], [type='button'], [type='reset'], [type='hidden'], [type='image'], [type='range'] ):disabled, input:not( [type='checkbox'], [type='radio'], [type='file'], [type='submit'], [type='button'], [type='reset'], [type='hidden'], [type='image'], [type='range'] ):read-only, select:disabled { color: var(--color-muted); background: color-mix(in srgb, var(--color-input-bg), var(--color-text) 8%); } button:not(:disabled):hover, select:not(:disabled):hover, input:not(:disabled):hover, input[type='file']:not(:disabled):hover::file-selector-button { border-color: var(--color-border-active); } button:not(:disabled):active, select:not(:disabled):active, input:not(:disabled):is( [type='checkbox'], [type='radio'], [type='submit'], [type='button'], [type='reset'], [type='image'], [type='color'] ):active, input[type='file']:not(:disabled):active::file-selector-button { background: var(--color-button-active-bg); } input[type='color']::-webkit-color-swatch-wrapper { padding: 0; } input[type='color']::-webkit-color-swatch { border: none; border-radius: 3px; } input[type='color']::-moz-color-swatch { border: none; border-radius: 3px; } input:not( [type='checkbox'], [type='radio'], [type='file'], [type='submit'], [type='button'], [type='reset'], [type='hidden'], [type='image'], [type='range'], [type='color'] ), textarea, select { max-width: 100%; min-width: 0; padding: 0.1rem 0.25rem; color: var(--color-text); background: var(--color-input-bg); border: 1px solid var(--color-border); border-radius: 3px; } textarea { padding-block: 0.25rem; } [type='checkbox'] { appearance: none; display: inline-grid; place-content: center; width: 0.95em; height: 0.95em; flex-shrink: 0; margin: 0; color: var(--color-text); background: var(--color-input-bg); border: 1px solid var(--color-border); border-radius: 3px; } [type='checkbox']::before { content: ''; width: 0.62em; height: 0.62em; transform: scale(0); background-color: var(--color-input-bg); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='2.5 3.5 11 9'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='2.5 3.5 11 9'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; } [type='checkbox']:checked { background: var(--color-accent); border-color: var(--color-accent); } [type='checkbox']:checked::before { transform: scale(1); } [type='checkbox']:not(:disabled):hover, [type='checkbox']:not(:disabled):active { border-color: var(--color-border-active); } div.notice { margin: 1.25rem 0; padding: 0.5em 1em; border: 1px solid var(--color-border); border-left-width: 3px; line-height: 1.5; } div.notice.ok { border-left-color: var(--color-ok); } div.notice.warn { border-left-color: var(--color-warn); } div.notice.danger { border-left-color: var(--color-danger); } ul, ol { margin: 1em 0; padding-left: 2em; } /* nested lists */ :is(ul, ol) :is(ul, ol) { margin: 0; } li { margin: 0.5em 0; } /* label/value grid: minmax(0, …) so a long unbroken value wraps instead of widening the track */ dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0.25rem 1rem; margin: 1.5rem 0; } dt { color: var(--color-muted); } dd { margin: 0; overflow-wrap: anywhere; } hr { border: none; height: 1px; background: var(--color-border); margin: 3em 0; clear: both; } table { border-collapse: collapse; margin: 1.25rem 0; display: block; width: fit-content; max-width: 100%; overflow-x: auto; } th { background: var(--color-post-bg); font-weight: bold; } th, td { padding: 0.1em 0.25em; border: 1px solid var(--color-border); text-align: left; vertical-align: middle; } /* numeric columns of a SortableTable: digits line up for comparison down the column, which is the whole point of sorting by one */ th.num, td.num { text-align: right; font-variant-numeric: tabular-nums; } th.num > a.sort { justify-content: flex-end; } th > a.sort { display: flex; align-items: center; gap: 0.5em; color: inherit; text-decoration: none; } th > a.sort:hover, th > a.sort:focus-visible { text-decoration: underline; } code { font-family: monospace; font-size: 0.85em; font-size-adjust: 0.5; border: 1px solid var(--color-border); padding: 1px; border-radius: 2px; } pre { margin: 0.3rem 0; padding: 0.25rem; border: 1px solid var(--color-border); border-radius: 2px; white-space: pre; overflow-x: auto; tab-size: 4; } pre code { border: none; padding: 0; } /* disclosure dropdown menu: */ .dropdown { display: inline-block; position: relative; --radius: 5px; } .dropdown > summary { display: inline-block; list-style: none; user-select: none; cursor: pointer; border-radius: var(--radius); padding: 0 0.1em; margin: 0 -0.1em; border: 1px solid transparent; } .dropdown > summary:hover, .dropdown[open] > summary { border-color: var(--color-border); } .dropdown > summary::after { content: '▸'; display: inline-block; width: 1em; text-align: center; border: 1px solid transparent; border-bottom: none; line-height: 1; } .dropdown[open] > summary::after { content: '▾'; position: relative; z-index: 2; } .dropdown [role='menu'] { position: absolute; z-index: 2; font-size: 0.85em; margin-top: 0.5em; min-width: max-content; background: var(--color-input-bg); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 0.25rem; left: 50%; transform: translateX(-50%); } .dropdown.cursor-menu { position: absolute; width: 0; height: 0; } .dropdown [role='menu'].at-cursor { margin-top: 0; transform: none; } .dropdown [role='menuitem'] { all: initial; cursor: revert; display: block; padding: 0.25rem 0.5rem; width: 100%; box-sizing: border-box; font: inherit; user-select: none; border-radius: var(--radius); color: var(--color-text); } .dropdown [role='menuitem']:hover { background: var(--color-button-active-bg); } .dropdown [role='menuitem']:focus { outline: revert; } .dropdown [role='menuitem']:disabled { opacity: 0.6; } .dropdown [role='menuitem']:disabled:hover { background: none; } .dropdown [role='menuitem'].danger { color: var(--color-danger); } .dropdown form { display: contents; } .dropdown hr { margin: 0.33rem 0.5rem; opacity: 0.75; } .dropdown .menu-header { margin: 0; padding: 0.125rem 0.5rem; font-size: 0.85em; color: var(--color-muted); user-select: none; } /* feed row list: