MediaWiki:Common.css: Difference between revisions

An idea by Jeff Lawlor
Created on 2024-10-08
mNo edit summary
Tags: Mobile edit Mobile web edit
Turn the brightness to 10 for pictures in dark mode!
Tags: Mobile edit Mobile web edit
Line 233: Line 233:
.mw-parser-output figure[typeof='mw:File'] img {
.mw-parser-output figure[typeof='mw:File'] img {
background-color: transparent;
background-color: transparent;
}
/* Turn the brightness to 10 for pictures in dark mode */
html.skin-theme-clientpref-night .mw-parser-output > figure[typeof='mw:File/Thumb'] img {
filter: brightness(1);
}
}