MediaWiki:Common.css: Difference between revisions

Content deleted Content added
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 2,050:
} /* matching the top/right/bottom edges (not the lighter inter-cell --wt-border). */
 
/* A Datacheck page is a single wide review TABLE, not prose, so give it the full content width. In Vector 2022
already lays the content in a grid track that fills all the room left of... beside the pinned TOC (the TOC
2022 the page body is a CSS grid (.mw-page-container-inner) whose FIRST track is a fixed ~196px column for
thetakes a fixed ~196px pinnedleft TOCcolumn; the content track is 1fr), andso alreadyon fillsa thewide rest.screen Sothat neithertrack max-widthis nor display:nonealready
large. The ONLY thing squeezing the table is the site's #content max-width cap (1200px desktop, §2) — lift
on the column widens content — a grid TRACK persists even when its item is hidden (verified: hiding the
it for this namespace and the table fills its track, TOC untouched. (Note: on a narrow ~1120px window the
column / un-capping .mw-content-container left content at 812px; only re-templating the grid moved it).
content track itself is small, which masks this — but on a wide monitor the 1200px cap is the real limit.)
The fix: collapse the left track to 0, drop the column gap, hide the now-empty TOC column, and pin content
to the wide track. Desktop only; prose thestays 2measure-columncapped grid(§10) existsso atonly >=1000px;the mobiletable keepswidens. its TOC and layout.*/
Body prose stays readable (.mw-parser-output p is measure-capped, §10), so only the table widens. */
@media screen and (min-width: 1000px) {
.ns-3006 .mw-page-container-inner {
grid-template-columns: 0 minmax(0, 1fr) !important;
column-gap: 0 !important;
}
.ns-3006 .vector-column-start { display: none !important; }
.ns-3006 .mw-content-container { grid-column: 2 !important; max-width: none !important; }
.ns-3006 #content { max-width: none !important; }
}