Модуль:Infobox/styles.css: различия между версиями
Модуль:Infobox/styles.css (посмотреть исходный код)
Версия от 00:21, 1 августа 2024
, 1 августа 2024Fixes phab:T369874 via automated script
Neotrit (обсуждение | вклад) м (1 версия импортирована) |
(Fixes phab:T369874 via automated script) |
||
| Строка 44: | Строка 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; | ||