MediaWiki:Common.css: Porovnání verzí
Vzhled
Bez shrnutí editace značky: ruční vrácení zpět revertováno |
Bez shrnutí editace značka: revertováno |
||
| Řádek 25: | Řádek 25: | ||
} | } | ||
/* | /* DarkMode fix: undo inversion for images */ | ||
img. | html.client-darkmode img, | ||
filter: | html.client-darkmode video, | ||
html.client-darkmode iframe, | |||
html.client-darkmode svg { | |||
filter: invert(1) hue-rotate(180deg) !important; | |||
} | } | ||
Verze z 20. 12. 2025, 20:40
/* Zde uvedené CSS bude ovlivňovat všechny vzhledy */
/* Default tables: no borders, background, shadows unless specified */
table {
border: none;
background: transparent;
box-shadow: none;
border-collapse: collapse;
}
/* Table cells default */
table td, table th {
border: none;
background: transparent;
box-shadow: none;
}
/* Only apply styles if explicitly defined */
table[style*="border"],
table[style*="background"],
td[style*="border"],
td[style*="background"],
th[style*="border"],
th[style*="background"] {
all: revert;
}
/* DarkMode fix: undo inversion for images */
html.client-darkmode img,
html.client-darkmode video,
html.client-darkmode iframe,
html.client-darkmode svg {
filter: invert(1) hue-rotate(180deg) !important;
}