MediaWiki:Vector.css: Difference between revisions

Jump to navigation Jump to search
No edit summary
(add drop shadow class for gallery)
Line 288: Line 288:
}
}


/* A helper class to add a drop shadow to white icons only on light theme */
/* Helper classes to add a drop shadow to white icons only on light theme */
body.theme-light .bg3wiki-lightmode-drop-shadow,
body.theme-light .bg3wiki-lightmode-drop-shadow,
body.theme-light .bg3wiki-lightmode-drop-shadow > img {
body.theme-light .bg3wiki-lightmode-drop-shadow > img {
filter: drop-shadow(0 0 2px black);;
filter: drop-shadow(0 0 2px black);
}
 
body.theme-light .gallery.bg3wiki-gallery-drop-shadow img {
filter: drop-shadow(0 0 2px black);
}
}