MediaWiki:Common.css: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 1,194:
table.wikitable.wt-freeze-2 td:first-child { background-color: #fff; }
table.wikitable.wt-freeze-2 th:first-child { background-color: var(--wt-th-bg); }
/* ── wt-bleed add-on: a .fintable that BREAKS OUT to the right instead of scrolling in its wrapper — it
differs from plain fintable ONLY in the overflow. The emitter wraps every table in an inline
<div style="overflow-x:auto">; for a .wt-bleed table we set that wrapper back to overflow:visible (via
:has), so a table wider than the content column paints past the right edge at its natural width and the
PAGE gains a horizontal scroll (default MediaWiki wide-table behavior) instead of a per-table scrollbar.
`!important` beats the wrapper's INLINE overflow-x:auto. Everything else — column widths, frame, header
tint, the frozen first column — stays exactly fintable. The TOC sits in the left grid column, so a
right-edge breakout never reaches it. Apply by adding `wt-bleed` to the table class (Module:TermMap does
this for the Datacheck review tables). ── */
.mw-parser-output div[style*="overflow-x"]:has(table.wikitable.wt-bleed) {
overflow-x: visible !important;
}
@media screen and (max-width: 719px) {
Line 2,027 ⟶ 2,040:
.rt-status-validated { background: #e6f3ea; color: #137333; }
.rt-status-redo { background: #faf0dc; color: #8a5300; }
.rt-btn {
| |||