MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Line 144: Line 144:


/* ── IMAGE CAPTIONS ─────────────────────────────────── */
/* ── IMAGE CAPTIONS ─────────────────────────────────── */
/* Darken caption text so it's readable against the light frame background in all modes */
/* Force dark text frame background stays light even in dark mode */
.thumbcaption,
.thumbcaption,
div.thumbcaption {
div.thumbcaption {
     color: #202122;
     color: #202122 !important;
}
 
@media (prefers-color-scheme: dark) {
    .thumbcaption,
    div.thumbcaption {
        color: #202122 !important;
    }
}
}