MediaWiki:Common.css: Difference between revisions
No edit summary |
Fix more infobox stuff |
||
| Line 206: | Line 206: | ||
html.skin-theme-clientpref-os .hatnote:not(.notheme), html.skin-theme-clientpref-os .dablink:not(.notheme), html.skin-theme-clientpref-os .rellink:not(.notheme), html.skin-theme-clientpref-os .infobox:not(.notheme) { | html.skin-theme-clientpref-os .hatnote:not(.notheme), html.skin-theme-clientpref-os .dablink:not(.notheme), html.skin-theme-clientpref-os .rellink:not(.notheme), html.skin-theme-clientpref-os .infobox:not(.notheme) { | ||
color: var(--color-base,#202122) !important; | color: var(--color-base,#202122) !important; | ||
} | |||
} | |||
@media screen and (prefers-color-scheme: dark) { | |||
html.skin-theme-clientpref-os .infobox td:not(.notheme), html.skin-theme-clientpref-os .infobox th:not(.notheme), html.skin-theme-clientpref-os .infobox-above:not(.notheme), html.skin-theme-clientpref-os .infobox p:not(.notheme), html.skin-theme-clientpref-os .infobox > div:not(.notheme), html.skin-theme-clientpref-os .infobox caption:not(.notheme), html.skin-theme-clientpref-os .infobox--frwiki td:not(.notheme), html.skin-theme-clientpref-os .infobox--frwiki th:not(.notheme), html.skin-theme-clientpref-os .infobox--frwiki p:not(.notheme), html.skin-theme-clientpref-os .infobox--frwiki > div:not(.notheme), html.skin-theme-clientpref-os .infobox--frwiki caption:not(.notheme), html.skin-theme-clientpref-os .sinottico th:not(.notheme), html.skin-theme-clientpref-os .infobox-header:not(.notheme), html.skin-theme-clientpref-os .skin-nightmode-reset-color:not(.notheme), html.skin-theme-clientpref-os .navigation-box:not(.notheme), html.skin-theme-clientpref-os .metadata:not(.notheme), html.skin-theme-clientpref-os .quotebox:not(.notheme), html.skin-theme-clientpref-os .side-box:not(.notheme), html.skin-theme-clientpref-os .side-box div:not(.notheme), html.skin-theme-clientpref-os .navbox:not(.notheme), html.skin-theme-clientpref-os .navbox-subgroup:not(.notheme), html.skin-theme-clientpref-os .navbox-group:not(.notheme), html.skin-theme-clientpref-os .navbox-even:not(.notheme), html.skin-theme-clientpref-os .navbox-abovebelow:not(.notheme), html.skin-theme-clientpref-os .navbox-title:not(.notheme) { | |||
background: inherit !important; | |||
color: inherit !important; | |||
border-color: var(--border-color-subtle,#c8ccd1) !important; | |||
} | } | ||
} | } | ||