MediaWiki:Common.css: Difference between revisions

An idea by Jeff Lawlor
Created on 2024-10-08
Turn the brightness to 10 for pictures in dark mode!
Tags: Mobile edit Mobile web edit
Header is left-aligned in desktop
 
(2 intermediate revisions by the same user not shown)
Line 238: Line 238:
html.skin-theme-clientpref-night .mw-parser-output > figure[typeof='mw:File/Thumb'] img {
html.skin-theme-clientpref-night .mw-parser-output > figure[typeof='mw:File/Thumb'] img {
filter: brightness(1);
filter: brightness(1);
}
/* Remove filter on bottom logo in mobile dark mode */
html.skin-theme-clientpref-night .minerva-footer-logo > img {
filter: unset;
}
}


Line 520: Line 525:
}
}


/* Lastest Big Ideas Tweaks */
@media (max-width: 639px) {
/* Center and bold Latest Big Ideas text */
    .gallery .gallerybox {
        text-align: center;
        font-weight: bold;
    }
}
@media (min-width: 640px) {
/* Header is left-aligned in desktop */
li.gallerycaption {
text-align: unset;
}
}


/* Light/dark mode  
/* Light/dark mode