Download this file
| 1 | /* Oficina brand artwork. Source: oficina/estilo brand/. The icons carry |
| 2 | their own squircle and transparent corners, so nothing here rounds them. */ |
| 3 | [estilo-brand] { |
| 4 | display: inline-flex; |
| 5 | align-items: center; |
| 6 | gap: var(--rst-sp-2); |
| 7 | min-block-size: 24px; |
| 8 | } |
| 9 | [estilo-brand-icon] { |
| 10 | display: inline-block; |
| 11 | flex-shrink: 0; |
| 12 | inline-size: 1.75rem; |
| 13 | block-size: 1.75rem; |
| 14 | vertical-align: middle; |
| 15 | } |
| 16 | [estilo-brand-icon="listing"] { |
| 17 | inline-size: 2.5rem; |
| 18 | block-size: 2.5rem; |
| 19 | } |
| 20 | |
| 21 | /* Images in a published document (Docs images spec §4.1): at most the |
| 22 | text's width, in their own proportions; one that cannot be drawn is a |
| 23 | box saying so, its alt text inside. The editor's page has its own |
| 24 | rules (views/show.html). */ |
| 25 | [docs-public-body] img { |
| 26 | max-inline-size: 100%; |
| 27 | block-size: auto; |
| 28 | } |
| 29 | [docs-public-body] .docs-image-missing { |
| 30 | display: inline-block; |
| 31 | padding: var(--rst-sp-3); |
| 32 | border: 1px dashed var(--rst-line); |
| 33 | border-radius: var(--rst-radius-sm); |
| 34 | color: var(--rst-text-muted, inherit); |
| 35 | font-style: italic; |
| 36 | } |
| 37 | |