MediaWiki:Common.css: Difference between revisions

m PD index: give .n a fixed right margin instead of min-width so number→title spacing is consistent across all columns (8-char numbers were butting against the title)
m Hide {{Order info}} .ostat status span on article pages; keep visible inside .orderindex DPL tables
Line 432: Line 432:


/* Order index tables (DPL-built): tint superseded/rescinded/amended rows */
/* Order index tables (DPL-built): tint superseded/rescinded/amended rows */
/* {{Order info}} status span: metadata for the DPL index only — hide it on the article page, show it inside the index table */
.ostat { display: none; }
.orderindex .ostat { display: inline; }
.orderindex tr:has(.ostat-superseded), .orderindex tr:has(.ostat-rescinded) { background: rgba(190,47,36,0.30) !important; }
.orderindex tr:has(.ostat-superseded), .orderindex tr:has(.ostat-rescinded) { background: rgba(190,47,36,0.30) !important; }
.orderindex tr:has(.ostat-amended) { background: rgba(0,80,80,0.35) !important; }
.orderindex tr:has(.ostat-amended) { background: rgba(0,80,80,0.35) !important; }