Module:Infobox/styles.css: Difference between revisions
Fix phab:T281642, a pet peeve of mine. This copies across styles from MediaWiki:Minerva.css |
Apply night theme to infobox full data so links are accessible |
||
Line 40: | Line 40: | ||
body.skin-minerva .infobox-below { | body.skin-minerva .infobox-below { | ||
text-align: center; | text-align: center; | ||
} | |||
/* Dark theme: */ | |||
html.skin-theme-clientpref-night .infobox-full-data * { | |||
background: #37373e !important; | |||
} | |||
@media (prefers-color-scheme: dark) { | |||
html.skin-theme-clientpref-os .infobox-full-data * { | |||
background: #37373e !important; | |||
} | |||
} | } |