*, *::before, *::after { box-sizing: border-box; } body { margin: 0; background: var(--color-surface-auxiliary-background); color: var(--color-surface-auxiliary-foreground); } /* Anything given a display of its own outranks the hidden attribute and stays on screen. */ [hidden] { display: none !important; } :where(h1, h2, h3, summary, .text-primary) { /* Never wraps into a lonely last word, as on mode.place. */ text-wrap: balance; font-family: var(--typography-text-primary-family); font-weight: var(--typography-text-primary-weight); line-height: var(--typography-text-primary-line-height); font-size: var(--typography-text-primary-size); margin: 0; } :where(body, table, input, button, label, legend, p, li, details, .text-secondary) { font-family: var(--typography-text-secondary-family); font-size: var(--typography-text-secondary-size); font-weight: var(--typography-text-secondary-weight); line-height: var(--typography-text-secondary-line-height); } :where(small, .text-auxiliary) { font-family: var(--typography-text-auxiliary-family); font-size: var(--typography-text-auxiliary-size); font-weight: var(--typography-text-auxiliary-weight); line-height: var(--typography-text-auxiliary-line-height); } :where(a) { color: var(--color-action-auxiliary-foreground); text-decoration: underline; } :where(p, small) { text-wrap: balance; max-width: 60ch; display: block; } :where(pre) { margin: 0; max-height: 20lh; overflow: auto; padding: 16px; border-radius: 4px; border: 1px solid var(--color-control-border); background: var(--color-control-background); color: var(--color-control-foreground); font-family: ui-monospace, monospace; } :where(ul, ol) { padding-inline-start: 1em; } .button[aria-pressed]::before, .checkbox input { content: ''; padding: 0; flex: none; inline-size: 0.85rem; block-size: 0.85rem; border: 1px solid var(--color-control-border); border-radius: 2px; background: var(--color-control-background); /* Only ever used as a mask, so the color in it is irrelevant — a mask reads alpha. */ --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.25 4.75 8.5 9.5 3.5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); } .button[aria-pressed='true']::before, .checkbox input:checked { border-color: var(--color-action-primary-border); background: var(--color-action-primary-background); -webkit-mask-image: var(--tick), linear-gradient(#000, #000); -webkit-mask-position: center, center; -webkit-mask-size: 0.7rem, auto; -webkit-mask-repeat: no-repeat, no-repeat; -webkit-mask-composite: xor; mask-image: var(--tick), linear-gradient(#000, #000); mask-position: center, center; mask-size: 0.7rem, auto; mask-repeat: no-repeat, no-repeat; mask-composite: exclude; } .hero { background: linear-gradient( color-mix(in srgb, var(--color-surface-auxiliary-background) 80%, transparent), var(--color-surface-auxiliary-background) ), url('/colored-geometric.svg') center top / 400px repeat var(--color-surface-auxiliary-background); color: var(--color-surface-auxiliary-foreground); border-top: 1px solid var(--color-surface-auxiliary-border); border-bottom: 1px solid var(--color-surface-auxiliary-border); padding-block: 64px; } /* `line-height: 1` is honoured here for the text, but it never shortens the box: a single-line input floors its content at the font's *normal* line box, around 1.3em, and discards anything smaller. A button has no such floor and obeys the 1, so this same declaration on both is one value meaning two heights — which is why the box and the button in .signin-form stand 5px apart while agreeing about font, padding, border and this. */ :where(input) { padding: .5em 1em; border-radius: 4px; border: 1px solid var(--color-control-border); background: var(--color-control-background); color: var(--color-control-foreground); line-height: 1; } :where(summary) { cursor: pointer; } .max-width { max-inline-size: 1200px; margin-inline: auto; padding: 16px; } .button-group { display: flex; flex-wrap: wrap; gap: 8px; }