Модуль:Infobox/styles.css: различия между версиями

м
1 версия импортирована
(For completeness.. use table-row-group for tbody element)
 
м (1 версия импортирована)
 
(не показаны 2 промежуточные версии 2 участников)
Строка 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] {
 
    background: #1f1f23 !important;
@media screen {
      /* switch with var( --color-base ) when supported. */
    html.skin-theme-clientpref-night .infobox-full-data:not(.notheme) > div:not(.notheme)[style] {
      color: #f8f9fa;
    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;