oficina / estilo Public

Clone
git clone https://amadan.net/oficina/estilo

Plain git — no account needed to clone.

Download

Download this file

1/* credits/credits.css: the Colophon under Help (estilo/credits). The
2 section is a stack on estilo's terms, as the door's card is
3 (chrome.css): a column whose children bring no block margins of their
4 own, spaced by the table Fiesta's rst-stack uses (DESIGN.md, "The
5 stack"). It holds a heading and its list, and what follows a heading
6 is --rst-sp-2 under it, the column's gap; so the browser's own
7 margins (18.8px under the heading, 14px around the list) are gone.
8 The reset weighs (0,2,0), so an app's own rule on the heading or the
9 list, such as h1 { margin } at (0,1,1), cannot put a margin back.
10 An open entry is spaced by the same table: its first block, its
11 source, and each notice's name are anything else, --rst-sp-3; a
12 notice's text is its name's content, --rst-sp-2 under it. */
13[estilo-credits] { display: flex; flex-direction: column; gap: var(--rst-sp-2); min-inline-size: 0; overflow-wrap: anywhere; }
14[estilo-credits] > :not([hidden]) { margin-block: 0; }
15[estilo-credits] > ul { list-style: none; padding: 0; }
16[estilo-credits] > ul > li { border-block-end: 1px solid var(--rst-line); padding-block: var(--rst-sp-2); }
17[estilo-credits] summary { min-block-size: 24px; padding-block: var(--rst-sp-2); cursor: pointer; }
18[estilo-credits] details > :not(summary) { margin-block: var(--rst-sp-3) 0; }
19[estilo-credits] details > p + pre { margin-block-start: var(--rst-sp-2); }
20[estilo-credits] a { display: inline-block; min-block-size: 24px; max-inline-size: 100%; }
21[estilo-credits] pre { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; }
22[estilo-credits-version] { font-size: .875em; }
23