MediaWiki:Common.css: Różnice pomiędzy wersjami
Przejdź do nawigacji
Przejdź do wyszukiwania
Nie podano opisu zmian Znacznik: Wycofane |
Nie podano opisu zmian Znacznik: Wycofane |
||
| Linia 16: | Linia 16: | ||
/* Zachowanie pełnych kolorów dla miniaturek w dark mode */ | /* Zachowanie pełnych kolorów dla miniaturek w dark mode */ | ||
.client-darkmode img.thumbimage, | /* --- Miniatury w dark mode --- */ | ||
.client-darkmode .thumb | .client-darkmode .thumb img.thumbimage, | ||
.client-darkmode .thumb .thumbimage { | |||
filter: invert(1) hue-rotate(180deg) !important; | filter: invert(1) hue-rotate(180deg) !important; | ||
-webkit-filter: invert(1) hue-rotate(180deg) !important; | -webkit-filter: invert(1) hue-rotate(180deg) !important; | ||
mix-blend-mode: normal !important; | mix-blend-mode: normal !important; | ||
} | } | ||
Wersja z 19:52, 11 wrz 2025
/* Umieszczony tutaj kod CSS zostanie zastosowany we wszystkich skórkach */
/* --- 2) logo ustawione przez $wgLogos w LocalSettings.php --- */
/* dopasuj selektory jeśli Twoja skórka używa innych klas/id */
.client-darkmode #p-logo img,
.client-darkmode .mw-wiki-logo,
.client-darkmode .site-logo,
.client-darkmode .mw-logo {
/* pre-invertujemy, aby skompensować filtr aplikowany na html */
filter: invert(1) hue-rotate(180deg) !important;
-webkit-filter: invert(1) hue-rotate(180deg) !important;
mix-blend-mode: normal !important;
opacity: 1 !important;
}
/* Zachowanie pełnych kolorów dla miniaturek w dark mode */
/* --- Miniatury w dark mode --- */
.client-darkmode .thumb img.thumbimage,
.client-darkmode .thumb .thumbimage {
filter: invert(1) hue-rotate(180deg) !important;
-webkit-filter: invert(1) hue-rotate(180deg) !important;
mix-blend-mode: normal !important;
}