MediaWiki:Common.css: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 2,130:
.rt-btn.is-active.rt-btn--reject { background: #a3001d; border-color: #a3001d; color: #fff; }
.rt-btn.is-active.rt-btn--override { background: #8a5300; border-color: #8a5300; color: #fff; }
 
/* ── Key figures card ({{Indexing}} f/v pairs, Template:Indexing): a
per-section stat card in the infobox voice (sans, small, white,
medium outer border), floated into the right gutter the prose
measure ALREADY reserves — same width token as the infobox, so
both cards sit on one axis and never squeeze the text column.
Emitted right after a unit's h6; prose wraps beside it. ── */
.mw-parser-output .unit-figures {
box-sizing: border-box;
width: var(--ed-infobox-w);
font-family: var(--ed-sans);
font-size: var(--ed-small);
line-height: 1.5;
background: #fff;
border: 1px solid var(--line-medium);
padding: 0.55em 0.9em 0.7em;
}
@media (min-width: 640px) {
.mw-parser-output .unit-figures { float: right; clear: right; margin: 0.4em 0 0.8em 1em; }
}
@media (max-width: 640px) {
.mw-parser-output .unit-figures { width: 100%; margin: 0.6em 0; }
}
.unit-figures-head { /* eyebrow, matches .infobox-above */
color: var(--text-medium);
font-size: 0.75rem;
font-weight: 600;
letter-spacing: 0.08em;
text-transform: uppercase;
border-bottom: 1px solid var(--line-medium);
padding-bottom: 0.45em;
margin-bottom: 0.35em;
}
.unit-figures-row {
display: flex;
gap: 0.8em;
justify-content: space-between;
padding: 0.28em 0;
border-bottom: 1px solid var(--line-light); /* interior dividers = light */
}
.unit-figures-row:last-child { border-bottom: none; padding-bottom: 0; }
.unit-figures-label { color: var(--text-medium); flex: 0 1 auto; }
.unit-figures-value { color: var(--text-dark); text-align: right; flex: 1 1 auto; }