Jump to content

MediaWiki:Common.css: Difference between revisions

From cardbot.wiki
No edit summary
No edit summary
Line 5: Line 5:
justify-content: space-evenly;
justify-content: space-evenly;
gap: 1rem;
gap: 1rem;
list-style: none;
}
}
.image-button-container {
.image-button-container {
display: flex;
display: flex;
border: 1px solid #aaa;
border: 1px solid #aaa;
width: 100%;
height: 100%;
}
}
.image-button-container img {
.image-button-container img {
width: 100%;
width: 100%;
height: 100%;
height: 100%;
object-fit: contain;
}
}

Revision as of 19:53, 15 April 2026

/* CSS placed here will be applied to all skins */
.image-buttons, .image-buttons ul {
	display: flex;
	align-items: stretch;
	justify-content: space-evenly;
	gap: 1rem;
	list-style: none;
}
.image-button-container {
	display: flex;
	border: 1px solid #aaa;
	width: 100%;
	height: 100%;
}
.image-button-container img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}