MediaWiki:Common.css: Difference between revisions
No edit summary |
image box css |
||
| Line 628: | Line 628: | ||
border-left-color: var(--bs-purple-200); | border-left-color: var(--bs-purple-200); | ||
color: var(--bs-text-muted); | color: var(--bs-text-muted); | ||
} | |||
/* ── Image frames — darken background to match dark mode ── */ | |||
/* Using filter:invert then re-invert the image to keep photo colours correct */ | |||
.thumbinner, | |||
div.thumbinner { | |||
background-color: #2a2a28 !important; | |||
border-color: #3a3a38 !important; | |||
} | |||
.thumbcaption, | |||
div.thumbcaption { | |||
background-color: #2a2a28 !important; | |||
color: #e8e8e8 !important; | |||
} | |||
/* re-invert only the actual image so photos look normal */ | |||
.thumbinner img { | |||
filter: brightness(0.9); | |||
} | } | ||