MediaWiki:Common.css: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 2,114:
}
.infobox .infobox-data { color: var(--text-medium); padding: var(--wt-pad-y) 0.2em; }
 
/* ── Infobox BAND variant — Template:Infobox doc archive `wide=yes` wraps
the card in .ed-infobox-band. Same card language, re-flowed as a
full-width horizontal "dateline" strip for TABLE-FIRST pages
(financial supplements): no float, label-OVER-value pairs in a
responsive grid, content resumes full-width right below. ── */
.ed-infobox-band .infobox,
.ed-infobox-band table.infobox {
float: none !important;
clear: none !important;
width: 100% !important;
margin: 0.8em 0 1.8em !important;
}
.ed-infobox-band .infobox > tbody {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
gap: 0.7em 1.6em;
}
.ed-infobox-band .infobox > tbody > tr { display: block; min-width: 0; }
/* the DOCUMENT INFO eyebrow row spans the full band */
.ed-infobox-band .infobox > tbody > tr:has(.infobox-above) { grid-column: 1 / -1; }
.ed-infobox-band .infobox .infobox-above { display: block; }
/* each field = its two table cells stacked: small muted label over value */
.ed-infobox-band .infobox > tbody > tr > th.infobox-label,
.ed-infobox-band .infobox > tbody > tr > td.infobox-data {
display: block;
padding: 0;
overflow-wrap: anywhere;
}
.ed-infobox-band .infobox > tbody > tr > th.infobox-label {
font-size: 0.8rem;
color: var(--text-light);
margin-bottom: 0.15em;
}
/* no floated card on band pages → the prose measure is released */
.mw-parser-output:has(.ed-infobox-band) { --ed-measure: 100%; }
 
/* ── Blockquotes: ink bar, serif italic. The quote TEXT sits on the body-