MediaWiki:Common.css: Difference between revisions
m Add special-page dark catch-all (body.ns-special): force content/tables/lists dark so light text isn't left on white backgrounds |
m Add visible gold-tinted hover highlight for special-page rows/lists (part-4 !important had flattened hover) |
||
| Line 534: | Line 534: | ||
body.ns-special #mw-content-text a.new, | body.ns-special #mw-content-text a.new, | ||
body.ns-special #mw-content-text a.new:visited { color: var(--d-red) !important; } | body.ns-special #mw-content-text a.new:visited { color: var(--d-red) !important; } | ||
/* Special-page hover highlight — the part-4 catch-all fixes cell bg with | |||
!important, which flattened the row hover. Restore a clearly visible, | |||
gold-tinted highlight (higher specificity via :hover so it wins). */ | |||
body.ns-special #mw-content-text tr:hover td, | |||
body.ns-special #mw-content-text tr:hover th, | |||
body.ns-special #mw-content-text table.mw-datatable tr:hover td, | |||
body.ns-special #mw-content-text .TablePager tr:hover td, | |||
body.ns-special #mw-content-text li:hover, | |||
body.ns-special #mw-content-text .mw-specialpages-list li:hover, | |||
body.ns-special #mw-content-text .mw-changeslist li:hover { | |||
background-color: #3a3421 !important; /* warm gold-tinted, ~3x brighter than #141416 */ | |||
color: var(--d-text) !important; | |||
} | |||