Template:Img/styles.css: Difference between revisions

Template page
w:c:strategywiki>Prod
(greyscale)
m (2 revisions imported: Imported from https://strategywiki.org/)
 
(No difference)

Latest revision as of 09:15, 29 October 2023

/* Resize to fill its container div's width */
.img-maxwidth {
	max-width: 100%;
	height: auto;
}

/* Dark background for light images with transparent backgrounds */
.img-bgblack {
	background-color: black;
}

/* Convert images to greyscale */
.img-grayscale,
.img-greyscale {
	filter: grayscale(100%);
}