Editing Module:Infobox/styles.css
Appearance
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
/* {{pp|small=y}} */ | |||
/* | |||
* This TemplateStyles sheet deliberately does NOT include the full set of | |||
* infobox styles. We are still working to migrate all of the manual | |||
* infoboxes. See [[MediaWiki talk:Common.css/to do#Infobox]] | |||
* DO NOT ADD THEM HERE | |||
*/ | |||
/* | |||
* not strictly certain these styles are necessary since the modules now | |||
* exclusively output infobox-subbox or infobox, not both | |||
* just replicating the module faithfully | |||
*/ | |||
.infobox-subbox { | .infobox-subbox { | ||
padding: 0; | padding: 0; | ||
Line 30: | Line 42: | ||
} | } | ||
/* | /* Dark theme: [[William_Wragg]], [[Coral_Castle]] */ | ||
. | html.skin-theme-clientpref-night .infobox-full-data:not(.notheme) div:not(.notheme) { | ||
background: #1f1f23 !important; | |||
/* switch with var( --color-base ) when supported. */ | |||
color: #f8f9fa; | |||
. | |||
/* | |||
. | |||
} | } | ||
@media (prefers-color-scheme: dark) { | |||
. | html.skin-theme-clientpref-os .infobox-full-data:not(.notheme) div:not(.notheme) { | ||
background: #1f1f23 !important; | |||
/* switch with var( --color-base ) when supported. */ | |||
color: #f8f9fa; | |||
} | |||
} | } |