| 1 | /* colophon/colophon.css: the Colophon and its licence pages. Chrome, so |
| 2 | it declares no face: everything inherits the system UI face (AGENTS.md |
| 3 | row 9), the licence texts included, and nothing here can flash. Links |
| 4 | are 24px targets, the measure keeps prose readable, and at 320px |
| 5 | everything reflows: long names and URLs break rather than scroll. */ |
| 6 | [estilo-colophon] { |
| 7 | max-inline-size: 46rem; |
| 8 | min-inline-size: 0; |
| 9 | overflow-wrap: anywhere; |
| 10 | } |
| 11 | [estilo-colophon] h2 { |
| 12 | margin-block-start: var(--rst-sp-6); |
| 13 | padding-block-end: var(--rst-sp-2); |
| 14 | border-block-end: 1px solid var(--rst-line); |
| 15 | } |
| 16 | [estilo-colophon] a { display: inline-block; min-block-size: 24px; max-inline-size: 100%; } |
| 17 | [estilo-colophon] ul[role="list"] { list-style: none; padding: 0; margin: 0; } |
| 18 | |
| 19 | [estilo-colophon-contents] ul { display: flex; flex-wrap: wrap; gap: var(--rst-sp-2) var(--rst-sp-4); } |
| 20 | [estilo-colophon-count] { color: var(--rst-text-muted); font-size: var(--rst-fs-sm); } |
| 21 | |
| 22 | [estilo-colophon-entry] { |
| 23 | padding-block: var(--rst-sp-3); |
| 24 | border-block-end: 1px solid var(--rst-line); |
| 25 | } |
| 26 | [estilo-colophon-entry] h3 { margin-block: 0 var(--rst-sp-2); font-size: 1.0625rem; } |
| 27 | [estilo-colophon-entry] p { margin-block: 0 var(--rst-sp-2); } |
| 28 | [estilo-colophon-entry] dl { |
| 29 | display: flex; |
| 30 | flex-wrap: wrap; |
| 31 | gap: 0 var(--rst-sp-4); |
| 32 | margin-block: 0 var(--rst-sp-2); |
| 33 | font-size: var(--rst-fs-sm); |
| 34 | } |
| 35 | [estilo-colophon-entry] dl > div { display: flex; gap: var(--rst-sp-2); align-items: baseline; min-inline-size: 0; } |
| 36 | /* The label never shrinks: under overflow-wrap: anywhere a flex item may |
| 37 | be squeezed to one character, and "Version" beside nine versions wrapped |
| 38 | to four lines at 320px. The value takes the rest and wraps instead. */ |
| 39 | [estilo-colophon-entry] dt { color: var(--rst-text-muted); flex: none; } |
| 40 | [estilo-colophon-entry] dd { margin: 0; min-inline-size: 0; flex: 1 1 auto; } |
| 41 | [estilo-colophon-links] { display: flex; flex-wrap: wrap; gap: var(--rst-sp-4); font-size: var(--rst-fs-sm); } |
| 42 | |
| 43 | [estilo-colophon-licence] pre { |
| 44 | white-space: pre-wrap; |
| 45 | overflow-wrap: anywhere; |
| 46 | font: inherit; |
| 47 | font-size: var(--rst-fs-sm); |
| 48 | padding: var(--rst-sp-3); |
| 49 | background: var(--rst-surface-2); |
| 50 | border-radius: var(--rst-radius-sm); |
| 51 | } |
| 52 | |
| 53 | /* A table in a colophon page (an app's own, such as Docs' font pairs): |
| 54 | rules between rows, labels at the start, the measure's width at most. */ |
| 55 | [estilo-colophon] table { border-collapse: collapse; margin-block: var(--rst-sp-3); min-inline-size: 0; } |
| 56 | [estilo-colophon] th, [estilo-colophon] td { |
| 57 | text-align: start; |
| 58 | vertical-align: top; |
| 59 | padding: var(--rst-sp-2) var(--rst-sp-4) var(--rst-sp-2) 0; |
| 60 | border-block-end: 1px solid var(--rst-line); |
| 61 | } |
| 62 | [estilo-colophon] thead th { color: var(--rst-text-muted); font-weight: inherit; font-size: var(--rst-fs-sm); } |
| 63 | [estilo-colophon] tbody th { font-weight: 600; } |
| 64 | |