Template:Img/styles.css

Template page
Revision as of 09:15, 29 October 2023 by Gelthor (talk | contribs) (2 revisions imported: Imported from https://strategywiki.org/)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
/* 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%);
}