Module:Infobox/styles.css: Difference between revisions
Appearance
For completeness.. use table-row-group for tbody element |
Fixes phab:T369874 via automated script |
||
Line 44: | Line 44: | ||
/* Dark theme: [[William_Wragg]], [[Coral_Castle]] */ | /* Dark theme: [[William_Wragg]], [[Coral_Castle]] */ | ||
html.skin-theme-clientpref-night .infobox-full-data:not(.notheme) > div:not(.notheme)[style] { | |||
@media screen { | |||
html.skin-theme-clientpref-night .infobox-full-data:not(.notheme) > div:not(.notheme)[style] { | |||
background: #1f1f23 !important; | |||
/* switch with var( --color-base ) when supported. */ | |||
color: #f8f9fa; | |||
} | |||
} | } | ||
@media (prefers-color-scheme: dark) { | |||
@media screen and ( prefers-color-scheme: dark) { | |||
html.skin-theme-clientpref-os .infobox-full-data:not(.notheme) div:not(.notheme) { | html.skin-theme-clientpref-os .infobox-full-data:not(.notheme) div:not(.notheme) { | ||
background: #1f1f23 !important; | background: #1f1f23 !important; |