MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 144: | Line 144: | ||
/* ── IMAGE CAPTIONS ─────────────────────────────────── */ | /* ── IMAGE CAPTIONS ─────────────────────────────────── */ | ||
/* | /* 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; | |||
} | |||
} | } | ||