/* ###### Semantic Pact CSS ###### */ /* ----- Selection ----- */ ::selection { color: #fff; background-color: #000; text-shadow: 0 0 currentColor; } ::-webkit-selection { color: #fff; background-color: #000; text-shadow: 0 0 currentColor; } ::-moz-selection { color: #fff; background-color: #000; text-shadow: 0 0 currentColor; } /* ----- Colors ----- */ :root { color-scheme: light dark; --active-background-alternate: #cce1ff; --background-bolder: #fff; --background-transparent: rgba(255, 255, 255, 0.9); --background: #fefefe; --border-darker: #ccc; --border-darkest: #aaa; --border-lighter: #eee; --button-background: #fff; --danger-background-lighter: #fff5f5; --danger-background: #fcd2cf; --danger: #8f0000; --disabled: #999; --fade: #555; --focus-within-background: #f0ecf9; --foreground: #111; --hover-background-alternate: #ebf3ff; --hover-background: #eee; --input-background: #eff3f4; --link: #0149bc; --shadow: #999; --spoiler: #333; --success-background: #d5f3c4; --success: #1d3c0c; --table-row-even-background: #f9f9f9; --table-row-odd-background: #f3f3f3; --warning-background: #ffe699; --warning: #332600; --widget-background: #f9f9f9; } @media (prefers-color-scheme: dark) { :root { --active-background-alternate: #425a8a; --background-bolder: #0d0d0d; --background-transparent: rgba(28, 28, 28, 0.9); --background: #111; --border-darker: #555; --border-darkest: #999; --border-lighter: #262626; --button-background: #333; --danger-background-lighter: #1b0404; --danger-background: #4f1c1c; --danger: #ff9494; --disabled: #999; --fade: #aaa; --focus-within-background: #291933; --foreground: #ddd; --hover-background-alternate: #1c263a; --hover-background: #303030; --input-background: #333; --link: #a3c3ff; --shadow: #000; --spoiler: #aaa; --success-background: #2d3e0f; --success: #d5f3c4; --table-row-even-background: #273030; --table-row-odd-background: #2e3838; --warning-background: #a89700; --warning: #000; --widget-background: #171717; } img { filter: brightness(75%); } code-block { filter: invert(90%); display: block; } } /* ----- Pseudo ----- */ *, ::before, ::after { box-sizing: border-box; } ::before, ::after { text-decoration: inherit; vertical-align: inherit; } :target::before { content: ""; display: block; height: 4rem; margin-top: -4rem; visibility: hidden; } :not(#main):target micro-summary, :not(#main):target micro-summary:hover { background-color: transparent; border-radius: 0.5rem; outline-offset: -6px; outline: 2px dashed #ccc; outline: 2px dashed var(--border-darker); } :focus:not(html):not(body):not(svg) { outline: 0.15rem solid; outline-offset: -0.15rem; text-decoration: none; } :focus:not(html):not(body):not(pre):not(svg):not(button):not(input) { background-color: #ffe699; background-color: var(--warning-background); color: #111; color: var(--warning); } :hover:not(a):not(s):not(img):not(summary):not(nav):not(abbr):not(form):not(code):not(mark):not(tab-list):not(tab-list aside) { border-radius: 0.5rem; } /* ----- Skip link ----- */ skip-link a { position: absolute; left: -9999em; } skip-link a:focus { z-index: 200; position: fixed; left: 50%; transform: translate(-50%, 0); top: 0.5rem; padding: 0.75rem; border-radius: 0.5rem; } /* ----- Typography ----- */ h1, h2, h3 { font-size: 100%; margin: 0; } p, ul, dd, ol, figure, blockquote { margin: 0; } p:not(:last-child), ol:not(:last-child), ul:not(:last-child), dl:not(:last-child), table:not(:last-child), figure:not(:last-child), code-block:not(:last-child), blockquote:not(:last-child) { margin-bottom: 0.75rem; } dl { margin: 0 0 0 1rem; } dt { font-weight: 700; } dt:not(:first-child) { margin-top: 0.5rem; } footer, figcaption { color: #444; color: var(--fade); font-size: 85%; margin: 0.5rem 0; text-align: center; } sup { vertical-align: super; font-size: 85%; } sub { vertical-align: sub; font-size: 85%; } s, del, mark, ins { padding: 0 0.15rem; line-height: 1.5; border-radius: 0.5rem; } mark { background-color: #ffe699; background-color: var(--warning-background); color: #332600; color: var(--warning); } ins { background-color: #d5f3c4; background-color: var(--success-background); color: #1d3c0c; color: var(--success); text-decoration: none; } del { background-color: #fcd2cf; background-color: var(--danger-background); color: #8f0000; color: var(--danger); } s { text-decoration: none; background-color: #333; background-color: var(--spoiler); color: transparent; } input[type="checkbox"]:checked ~ s { background-color: inherit; color: inherit; } blockquote { padding-left: 2rem; } blockquote p { font-size: 125%; } blockquote p span { display: block; text-align: right; font-style: normal; font-size: 80%; margin-top: 0.75rem; } video { border-radius: 0.5rem; background-color: #000; } video:hover { box-shadow: 0 0 14px #999; box-shadow: 0 0 14px var(--shadow); } video[data-orientation="portrait"] { width: 50%; } video-container { display: block; text-align: center; } kbd { background-color: #eee; border-radius: 0.25rem; border: 1px solid #b4b4b4; box-shadow: 0 1px 1px #737373, 0 2px 0 0 #f2f2f2 inset; color: #333; display: inline-block; font-size: 0.85em; font-weight: 700; line-height: 1; padding: 2px 4px; white-space: nowrap; } /* ----- Elements ----- */ html { font-size: 95%; line-height: 1.5; word-break: break-word; text-rendering: optimizeSpeed; margin-left: calc(100vw - 100%); margin-right: 0; } html, samp, blockquote span { font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; } blockquote p { font-family: Charter, Georgia, "Book Antiqua", serif; } pre, kbd, code, svg text { font-family: "Fira Code", "Lucida Console", "Andale Mono", "Roboto Mono", "Ubuntu Monospace", "Noto Mono", "Oxygen Mono", "Liberation Mono", monospace, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; } body, button, input, select, textarea { margin: 0; } ol { counter-reset: ol; padding-left: 3.5rem; } ol li { overflow-wrap: break-word; word-break: break-word; list-style: none; } ol li:before { border-radius: 100%; border: 1px solid; content: counter(ol); counter-increment: ol; margin-left: -2rem; font-size: 85%; padding: 0 0.35rem; position: absolute; } ol li + li { margin-top: 0.5rem; } main { min-height: 100%; } main, details, code-block, diagram-container { display: block; } summary { display: list-item; } cite { font-style: normal; } ul { list-style: disc; padding-left: 2rem; } nav ol, nav ul { list-style: none; display: inline-block; padding: 0; } footer a, figcaption a { color: inherit; } q a { color: inherit; } q:before { content: "\201C"; } q:after { content: "\201D"; } object { width: 100%; border: 1px solid #ccc; border: 1px solid var(--border-lighter); min-height: 16rem; border-radius: 0.5rem; } details, micro-metadata-menu context-control label { cursor: pointer; } details:hover summary span { text-decoration: underline; } a { color: #0149bc; color: var(--link); text-decoration: underline; text-underline-offset: 0.05rem; } a:hover { color: #111; color: var(--foreground); } a:hover, micro-metadata-menu:hover span, micro-metadata-view a:hover span, micro-metadata-draft a:hover span, micro-metadata-handle a:hover span { text-decoration-thickness: 0.15rem !important; } column-left nav { position: sticky; position: -webkit-sticky; align-self: flex-start; top: 0.5rem; text-align: right; } column-left nav a { align-items: center; color: inherit; color: var(--foreground); display: flex; flex-wrap: wrap; justify-content: flex-end; padding: 0.5rem; text-decoration: none; border-radius: 0.5rem; } column-left nav li { margin-bottom: 0.25rem; } column-left nav li:hover a { background-color: #eee; background-color: var(--hover-background); border-radius: 0.5rem; } column-left nav li:hover svg { fill: #cce1ff; fill: var(--active-background-alternate); } column-left nav a span { padding: 0 1rem; } abbr[title] { border-bottom: 1px dashed; text-decoration: none; } abbr[title]:hover { border-bottom: 2px dashed; } input[type="checkbox"]:checked ~ abbr[title]::after { content: " (" attr(title) ")"; } samp { font-variant: all-small-caps; letter-spacing: 0.05rem; } b, strong { font-weight: 700; } small { font-size: 80%; opacity: 0.85; } audio, canvas, iframe, img, svg, video { vertical-align: middle; } video, audio { width: 100%; } audio { margin: 0.75rem 0; } figure { text-align: center; } iframe { width: 100%; border: 2px solid #ccc; border: 2px solid var(--border-darker); background-color: #fefefe; border-radius: 0.5rem !important; min-height: 16rem; } self-embed iframe { min-height: 11rem; max-height: 11rem; } img { height: auto; max-width: 100%; border: 1px solid; border-color: #ccc; border-color: var(--border-darker); border-radius: 0.5rem; object-fit: cover; display: block; background-color: #fefefe; } img:hover { box-shadow: 0 0 14px #999; box-shadow: 0 0 14px var(--shadow); filter: unset; } img, iframe { user-select: none; } p { line-height: 1.4; } svg { stroke-width: 0.08rem; } svg:not([fill]) { fill: currentColor; } svg:not(:root) { overflow: hidden; } button, input { overflow: visible; } button, select { text-transform: none; } button, [type="reset"], [type="button"], [type="submit"], micro-tags a, micro-expand label, paginator-navigation a, micro-author micro-summary > a { align-items: center; appearance: none; background-color: #fff; background-color: var(--button-background); border-radius: 0.5rem; border: 1px solid #ccc; border: 1px solid var(--border-lighter); box-shadow: 0 1px 1px #999; color: inherit; cursor: pointer; display: flex; font-size: 100%; height: 1.95rem; padding: 0.125rem 0.5rem; text-decoration: none; } button:hover, [type="reset"]:hover, [type="button"]:hover, [type="submit"]:hover, micro-tags a:hover, micro-expand label:hover, paginator-navigation a:hover, micro-author micro-summary > a:hover { border: 1px solid; border-color: #aaa; border-color: var(--border-darkest); } button svg, micro-author micro-summary > a svg { height: 1.25rem; margin: 0 0.25rem; } hr { border-top: 1px solid; } /* ----- Tables ----- */ table { border-radius: 0.5rem; border-spacing: 0; border: 1px solid #ccc; border: 1px solid var(--border-darker); padding: 0.5rem 0 0 0; width: 100%; background-color: #fefefe; background-color: var(--background); } th { border-bottom: 1px solid #ccc; border-bottom: 1px solid var(--border-darker); padding: 0 0.5rem 0.5rem 0.5rem; text-align: left; } td { padding: 0.5rem 0 0.5rem 0.5rem; border-right: 1px solid #ccc; border-right: 1px solid var(--border-darker); border-bottom: 1px solid #ccc; border-bottom: 1px solid var(--border-darker); } td:last-child { padding-right: 0.5rem; border-right: none; } tr:last-child td { border-bottom: none; } tbody tr:nth-child(odd) td { background-color: #f3f3f3; background-color: var(--table-row-odd-background); } tbody tr:nth-child(even) td { background-color: #f9f9f9; background-color: var(--table-row-even-background); } tbody tr:hover td { background-color: #eee; background-color: var(--hover-background); } tr:last-child td:first-child { border-bottom-left-radius: 0.5rem; } tr:last-child td:last-child { border-bottom-right-radius: 0.5rem; } /* ----- Print ----- */ @media print { a[href^="http"]::after { content: " (" attr(href) ")"; } abbr[title]::after { content: " (" attr(title) ")"; } } /* ----- Base ----- */ body { background-color: #fefefe; background-color: var(--background); color: #111; color: var(--foreground); display: flex; margin: 0 auto; max-width: 1250px; min-height: 100%; overflow-x: hidden; -webkit-text-size-adjust: none; } column-left { display: flex; width: 14.25%; justify-content: flex-end; } column-right { width: 28%; } column-left, column-right { margin: 0.5rem 2rem; } column-middle { flex: 6; max-width: 600px; min-height: 100vh; width: 100%; } micro-card, micro-tags, micro-expires, micro-article { display: block; } micro-card[limit] micro-thumbnail, micro-card[limit] micro-content > :not(micro-overlay) { opacity: 0.4; pointer-events: none; } micro-card[limit] micro-content { border-radius: 0.5rem; max-height: 25rem; overflow: hidden; position: relative; } micro-card[limit] micro-overlay { position: absolute; width: 100%; height: 100%; z-index: 1; display: flex; align-items: center; justify-content: center; } [data-kind="page"] micro-card[limit] micro-thumbnail, [data-kind="page"] micro-card[limit] micro-content, [data-kind="page"] micro-card[limit] micro-content > *, input[type="checkbox"]:checked + micro-card[limit] micro-thumbnail, input[type="checkbox"]:checked + micro-card[limit] micro-content, input[type="checkbox"]:checked + micro-card[limit] micro-content > * { max-height: 100%; opacity: 1; overflow: initial; pointer-events: auto; position: unset; } [data-kind="page"] micro-card[limit] micro-overlay, input[type="checkbox"]:checked + micro-card[limit] micro-overlay { display: none; } message-archive h1 { text-align: center; font-weight: 400; font-size: 150%; } micro-tags { margin-bottom: -0.5rem; margin-top: 0.5rem; } micro-tags a { color: #0149bc; color: var(--link); display: inline-block; margin: 0 0.25rem 0.5rem 0; } micro-summary, micro-article { border-bottom: 1px solid; border-color: #eee; border-color: var(--border-lighter); display: flex; padding: 1rem; position: relative; } micro-summary:hover { background-color: #f5f9ff; background-color: var(--hover-background-alternate); } micro-summary:focus-within { background-color: #f0ecf9; background-color: var(--focus-within-background); } micro-author micro-summary { justify-content: start; align-items: center; border: none; } micro-author micro-thumbnail { flex: none; margin-right: 0.5rem; } micro-author micro-header { flex: 1; min-width: 3rem; margin-right: 0.75rem; } micro-author micro-header h2, micro-author micro-header h3 { line-height: 1.25rem; height: 1.25rem; } micro-author micro-summary p:not(:last-child) { flex: 4; margin: 0 0.75rem 0 0; color: #555; color: var(--fade); max-width: 20rem; } author-list p { display: none; } micro-thumbnail a { display: block; } micro-thumbnail figure { margin: 0 0.75rem 0 0; } micro-thumbnail figure img { border-radius: 100%; min-width: 3.5rem; min-height: 3.5rem; max-width: 3.5rem; max-height: 3.5rem; } micro-content { flex: 8; width: 0; } [data-kind] micro-content h1 a, [data-kind] micro-content h2 a, [data-kind] micro-content h3 a { color: inherit; } micro-content > figure img { border: none; margin: 0 auto; box-shadow: 0 0 3px var(--shadow); } micro-content > figure > a { background-color: #000; border-radius: 0.5rem; display: block; } micro-metadata { align-items: center; color: #444; color: var(--fade); display: flex; line-height: 1.4; margin-bottom: 0.5rem; } micro-metadata h2 { display: inline; } micro-metadata header { word-break: break-all; word-break: break-word; } micro-metadata header a { color: inherit; } micro-metadata header > *:not(:last-child) { margin-right: 0.5rem; } micro-metadata header > *:hover { color: #111; color: var(--foreground); } micro-metadata-expiry, micro-metadata-draft em, micro-metadata word-limit em { color: #8f0000; color: var(--danger); font-style: normal; } micro-metadata-draft em { font-variant: all-small-caps; } micro-header footer svg, micro-metadata header svg { height: 1rem; width: 1rem; stroke-width: 0.1rem; } micro-metadata unlisted-entry { font-variant: all-small-caps; } s label, abbr[title], abbr[title] label, micro-metadata-expiry, micro-metadata-readtime, micro-metadata-datetime, micro-metadata word-limit, micro-metadata unlisted-entry { cursor: help; } micro-metadata-anchored { color: #111; color: var(--foreground); display: flex; margin-bottom: 0.25rem; width: 100%; } micro-metadata-anchored > * { margin-right: 0.5rem; display: flex; flex-wrap: wrap; align-items: center; } micro-metadata-anchored svg { margin-right: 0.25rem; } micro-metadata-menu { display: inline-block; position: relative; } micro-metadata-menu context-menu { min-width: 10rem; } micro-metadata-menu context-menu svg { margin-right: 0.25rem; } micro-metadata-menu context-menu a { display: block; padding: 0.5rem 1rem; } micro-metadata-menu context-menu a:hover { background-color: #eee; background-color: var(--hover-background); border-radius: 0.25rem; } [data-kind] micro-content h1 a, [data-kind] micro-content h2 a, [data-kind] micro-content h3 a, micro-metadata-view a, micro-metadata-name a, micro-metadata-draft a, micro-metadata-handle a, micro-metadata a:focus > span, micro-metadata context-menu a, micro-metadata context-menu a span { text-decoration: none; } [data-kind] micro-content h1 a:hover, [data-kind] micro-content h2 a:hover, [data-kind] micro-content h3 a:hover, micro-metadata-menu span, micro-metadata-view a span, micro-metadata-name a:hover, micro-metadata-draft a span, micro-metadata-handle a span { text-decoration: underline; } anchored-via { color: #444; color: var(--fade); } anchored-pinned svg { fill: #9ed1fa; } anchored-liked svg { fill: #cd5c5c; } micro-header micro-header-image img { background-color: transparent; border-radius: 0.125rem; height: 12rem; width: 100%; border: none; } micro-header micro-header-picture img { border-radius: 100%; height: 8rem; margin: -4rem 2rem 0 2rem; position: relative; width: 8rem; padding: 0.25rem; } micro-header section { margin: 1rem 2rem 0 2rem; line-height: 1; display: flex; align-items: baseline; } micro-header-title { margin-right: 1rem; flex: 1; } micro-header-description { flex: 6; } micro-header h3 { font-weight: 400; color: #444; color: var(--fade); } micro-header footer, micro-header footer code { color: #444; color: var(--fade); } micro-header footer { margin: 1.25rem 2rem 0.25rem 2rem; text-align: center; font-size: 95%; } micro-header footer p { margin: 0.75rem 0.5rem 0.25em 0; display: inline; } micro-unsafe-content { border-radius: 0.5rem; display: block; background: repeating-linear-gradient( 45deg, #ff9999, #ff9999 1rem, #eee 1rem, #eee 2rem ); box-shadow: 0 0 3px var(--shadow); opacity: 0.5; } micro-unsafe-content * { visibility: hidden; opacity: 0; pointer-events: none; } micro-unsafe details { margin-bottom: 0.5rem; } micro-unsafe details svg { stroke-width: 0.1rem; margin-right: 0.5rem; } micro-unsafe details summary { font-variant: all-small-caps; letter-spacing: 0.025rem; line-height: 1.25; color: #8f0000; color: var(--danger); list-style: none; } micro-unsafe details summary header { display: flex; } micro-unsafe details > summary::-webkit-details-marker { display: none; } micro-unsafe details[open] + micro-unsafe-content { background: none; box-shadow: none; opacity: 1; } micro-unsafe details[open] + micro-unsafe-content * { transition: 1s; visibility: visible; opacity: 1; background: none; outline: none; pointer-events: auto; } tab-list { display: inline-block; overflow-x: auto; overflow-y: hidden; text-overflow: ellipsis; vertical-align: top; white-space: nowrap; width: 100%; } tab-list aside { display: flex; justify-content: center; border-bottom: 1px solid; border-color: #ddd; border-color: var(--border-darker); min-width: 450px; } tab-list aside a { border-left: 1px solid; border-right: 1px solid; border-top-left-radius: 0.5rem; border-top-right-radius: 0.5rem; border-top: 1px solid; border-color: #ddd; border-color: var(--border-darker); color: #555; color: var(--fade); padding: 0.5rem 1rem; margin-top: 0.5rem; position: relative; text-decoration: none; top: 1px; border-bottom: 2px solid var(--background); } tab-list aside a:not(:last-child) { margin-right: 0.5rem; } tab-list aside a:last-child { color: #8f0000; color: var(--danger); } tab-list aside a:hover { text-decoration: underline; } column-middle nav { align-items: center; background-color: #fefefe; background-color: var(--background); border-bottom: 1px solid; border-color: #eee; border-color: var(--border-lighter); display: flex; position: sticky; position: -webkit-sticky; top: 0; width: 100%; z-index: 100; height: 4rem; } column-middle nav section h2, column-middle nav section small { margin: 0; } micro-author micro-header h2, micro-author micro-header h3, column-middle nav section h2, column-middle nav section small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } column-middle nav section { line-height: 1.25; padding: 0 0.5rem; } column-middle main > footer { margin: 1rem 0; } icon-button a { color: inherit; display: flex; justify-content: center; align-items: center; width: 4rem; flex-wrap: wrap; text-decoration: none; height: 100%; padding: 0.5rem 0; } icon-button, icon-navigator { height: 4rem; } icon-button a:hover { background-color: #eee; background-color: var(--hover-background); } icon-button svg { width: 100%; } icon-button p { margin: 0; } code-block pre { border-radius: 0.5rem; border: 1px solid #ccc; border: 1px solid var(--border-darker); display: block; font-size: 95%; margin: 0; overflow-x: auto; overflow-y: hidden; padding: 2.65rem 0 0 0; tab-size: 2; word-break: break-word; white-space: pre; } code-block pre code { display: inline-block; min-width: 100%; border-top: 1px solid #bbb; padding: 0.75rem; } code-block[data-lines] pre code { padding: 0.1rem 0.75rem; } code-block header { position: relative; top: 1.85rem; margin-top: -1rem; height: 1rem; padding: 0 0.5rem; display: flex; justify-content: space-between; align-items: center; } code-block header language-label { padding: 0.125rem 1rem; font-variant: all-small-caps; } code-block header language-label a { text-decoration: none; } code-block header language-label a:hover { text-decoration: underline; } paginator-navigation { padding: 1rem 1rem 0 1rem; display: flex; align-items: center; justify-content: center; } paginator-navigation a, paginator-navigation button { margin: 0 0.25rem; font-size: 85%; display: flex; align-items: center; justify-content: center; } paginator-navigation svg { height: 1.316rem; } web-ring, author-list, following-list, gallery-images { padding-bottom: 1rem; display: block; } web-ring > h1, author-list > h1, following-list > h1, gallery-images > h1 { font-size: 95%; margin: 0.5rem 0 1rem 0; text-align: center; text-transform: uppercase; } gallery-images aside { display: flex; flex-wrap: wrap; justify-content: center; position: relative; } gallery-images a { display: flex; flex-basis: 33.33%; flex-grow: 1; height: 6rem; width: 33.333%; } gallery-images picture, gallery-images picture img { border-radius: 0; width: 100%; height: 100%; } gallery-overlay { background-color: transparent; border-radius: 0.5rem; height: 100%; outline: 4px solid #fefefe; outline: 4px solid var(--background); position: absolute; width: 100%; z-index: 1; pointer-events: none; border: 1px solid; border-color: #ccc; border-color: var(--border-darker); } main web-ring { display: none; } web-ring { border-radius: 1rem; position: sticky; position: -webkit-sticky; top: 1rem; } web-ring a { text-decoration: none; } micro-metadata-anchored a:hover, web-ring a[href^="http"]:hover { text-decoration: underline; } web-ring time { font-variant: small-caps; color: #444; color: var(--fade); } web-ring header { font-weight: 700; } web-ring p { margin-bottom: 0 !important; } web-ring-item:not(:last-child) { margin-bottom: 2rem; display: block; } web-ring aside, author-list aside, following-list aside { background-color: #f9f9f9; background-color: var(--widget-background); border-radius: 1rem; } web-ring aside { padding: 1rem; } author-list aside { display: block; } search-entry { display: inherit; width: 100%; } search-entry[data-focus], search-entry:focus-within { position: absolute; } search-entry:focus-within form { border-bottom-left-radius: 0; border-bottom-right-radius: 0; } search-entry form { background-color: #fefefe; background-color: var(--background); border-radius: 0.5rem; border: 1px solid; border-color: #ccc; border-color: var(--border-darker); display: inline-flex; margin: 0 1rem; width: 100%; position: relative; } search-entry form button { background-color: transparent; border: none; box-shadow: none; cursor: pointer; display: block; padding: 0; border-radius: 0; border-top-right-radius: 0.5rem; border-bottom-right-radius: 0.5rem; min-width: 4rem; max-width: 4rem; height: 2.85rem; line-height: 1; } search-entry form input { -webkit-appearance: none; background-color: #fefefe; background-color: var(--background); border-bottom-left-radius: 0.5rem; border-top-left-radius: 0.5rem; border: none; font-size: 100%; line-height: 1.5; padding-left: 1rem; padding-right: 1rem; width: 100%; color: inherit; } search-entry form button svg { stroke-width: 0.1rem; } search-entry form input:focus { outline: none; background-color: #fefefe !important; background-color: var(--background) !important; } search-entry ul { position: absolute; background-color: inherit; padding-top: 2.9rem; border: 1px solid #ccc; border: 1px solid var(--border-darker); border-radius: 0.5rem; z-index: -1; margin-right: 1rem; margin-left: -0.05rem; width: 100.3%; } search-entry ul li a span { font-weight: 400; } search-entry ul li a { font-weight: 700; color: inherit; text-decoration: none; display: block; padding: 0.25rem 0.75rem; } search-entry ul li:first-child a { background-color: #ebf3ff; background-color: var(--hover-background-alternate); } search-entry ul li a:hover { background-color: #eee; background-color: var(--hover-background); } item-list { font-size: 100%; } item-list h1 { padding: 1rem; } item-list ul { padding: 0 0.5rem 0 0.5rem; list-style: none; } item-list li:hover { background-color: #eee; background-color: var(--hover-background); } item-list li:hover span:last-child { text-decoration: underline; } item-list li a { display: flex; text-decoration: none; align-items: baseline; margin: 0.25rem 0; padding: 0.5rem; } item-list a span:first-child { flex: 1; text-transform: uppercase; } item-list a span:nth-child(2) { flex: 3; margin: 0 0.5rem; } item-list a span:last-child { flex: 1; text-align: right; } item-list a span:first-child, item-list a span:last-child { color: #444; color: var(--fade); } item-list a:focus span:first-child, item-list a:focus span:last-child { color: inherit; } source-files footer { padding: 0 1rem; } source-files li a { padding: 0.25rem 0.5rem; } source-files item-list a span:first-child { flex: 3; } source-files item-list a span:nth-child(2) { flex: 4; } context-menu { background-color: #fff; background-color: var(--background-bolder); border: 1px solid; border-color: #ddd; border-color: var(--border-lighter); border-radius: 0.5rem; box-shadow: 0 0 1rem -0.5rem var(--shadow); min-width: 6.25rem; position: absolute; z-index: 99; visibility: hidden; opacity: 0; } context-menu[right] { right: 0; } context-menu[left] { left: 0; } context-menu[anchor] { left: -125%; top: 0; } context-menu[left], context-menu[right] { top: 1rem; } context-profile a { display: inline; } context-profile aside p { color: #555; color: var(--fade); margin: 0; } context-profile div { display: flex; align-items: center; margin-bottom: 0.5rem; } context-profile aside:nth-child(2) { line-height: 1.25; } context-profile context-menu { color: #111; color: var(--foreground); display: block; padding: 1rem; text-align: left; max-width: 20rem; } micro-card figure:hover context-menu, input[type="checkbox"]:checked + context-menu { margin-right: 1rem; opacity: 1; visibility: visible; } diagram-container svg { border: 2px solid; border-radius: 0.5rem; border-color: #ccc; border-color: var(--border-darker); margin: 0.5rem 0; background-color: #fefefe; background-color: var(--background); } twitter-tweet { min-height: 20rem; max-height: 20rem; display: block; overflow-y: auto; } twitter-tweet iframe { border: none; } reaction-tip { text-decoration: underline; text-decoration-style: wavy; cursor: pointer; position: relative; display: inline-block; } reaction-tip:hover { text-decoration-thickness: 0.15rem; } reaction-tip:hover img { opacity: 1; visibility: visible; width: 100%; } reaction-tip img { position: absolute; z-index: 99; visibility: hidden; opacity: 0; max-height: 80px; object-fit: cover; bottom: 100%; left: 50%; transform: translateX(-50%); max-width: fit-content; border: none; } main micro-card:first-of-type reaction-tip img { bottom: 0; top: 100%; } /* ----- Attributes ----- */ [tabindex="-1"]:focus { outline: none; } [hidden], [data-kind="page"] micro-metadata-view { display: none; } [data-invisible] { visibility: hidden; } [data-hover] { text-decoration: none; } [draft] { background-color: #fff5f5; background-color: var(--danger-background-lighter); border-color: var(--danger-background); } [disabled] { cursor: not-allowed; border-color: #ddd; border-color: var(--border-lighter); color: #999; color: var(--disabled); } [role="doc-endnotes"] { margin-bottom: 0.75rem; } [role="doc-endnotes"] hr { border-top: 1px solid #ccc; margin-bottom: 0.75rem; } [role="doc-endnotes"] ol { padding-left: 2rem; } [xmlns] micro-thumbnail { display: block; } /* ----- Responsive ----- */ @media screen and (max-width: 1220px) { column-left { flex: none; margin: 0.5rem; } column-left nav a { flex-direction: column-reverse; justify-content: center; white-space: nowrap; overflow: hidden; } column-left nav a span { padding-top: 0.5rem; } } @media screen and (max-width: 1055px) { column-left, search-entry, column-middle nav section { display: none; } column-middle nav { justify-content: space-between; overflow-x: auto; overflow-y: hidden; } icon-navigator { display: inline !important; } } @media screen and (max-width: 925px) { column-right { display: none; } column-middle { display: block; max-width: 100%; } column-middle nav { position: fixed; } micro-card { max-width: 600px; margin: 0 auto; } micro-metadata { line-height: inherit; } micro-header section { display: block; } micro-author micro-summary { flex-direction: column; } micro-author micro-summary micro-header, micro-author micro-summary micro-thumbnail, micro-author micro-summary p:not(:last-child) { flex: auto; margin: 0 0 0.75rem 0; } navigation-separator hr[hidden] { border-color: transparent; display: flex; height: 0; margin: 0; padding-top: 4rem; border: none; } html { margin: 0; } body { display: block; overflow-y: scroll; } nav { box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2); } nav:active, nav:hover, nav:focus, nav:focus-within, nav:focus-visible { box-shadow: 15px 0 15px -15px inset, -15px 0 15px -15px inset; } } @media screen and (max-width: 460px) { micro-card micro-summary > micro-thumbnail { display: none; } micro-metadata micro-thumbnail[hidden], micro-author micro-card micro-summary > micro-thumbnail { display: block; } } /* ----- Self Frames ----- */ @media (max-height: 12rem) { micro-card { width: 100vw; padding-right: 1rem; } micro-summary { min-height: 14rem; } :not(#main):target micro-summary, :not(#main):target micro-summary:hover { outline: none; } :target::before { display: none; } main > footer, column-middle nav, navigation-separator hr[hidden] { display: none; } }