MediaWiki:Vector-2022.css: Difference between revisions
m CSS test |
Notice dark mode compatibility |
||
Line 176: | Line 176: | ||
background-color: #202122; | background-color: #202122; | ||
border-color: #404244; | border-color: #404244; | ||
} | |||
} | |||
/* For ambox and other notice dark mode compatibility */ | |||
@media screen { | |||
html.skin-theme-clientpref-night .mw-parser-output .ambox, html.skin-theme-clientpref-night .mw-parser-output .cmbox, html.skin-theme-clientpref-night .mw-parser-output .imbox, html.skin-theme-clientpref-night .mw-parser-output .tmbox, html.skin-theme-clientpref-night .mw-parser-output .fmbox, html.skin-theme-clientpref-night .mw-parser-output .ombox, html.skin-theme-clientpref-night .mw-parser-output .mbox, html.skin-theme-clientpref-night .mw-parser-output .asbox, html.skin-theme-clientpref-night .mw-parser-output .dmbox { | |||
border: 1px solid #54595d; | |||
background-color: #27292d; | |||
} | } | ||
} | } |