Jump to content

MediaWiki:Common.css: Difference between revisions

From cardbot.wiki
Created page with "CSS placed here will be applied to all skins: .portal-buttons { display: flex; gap: 1rem; }"
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
.portal-buttons {
.image-buttons, .image-buttons ul {
display: flex;
display: flex;
align-items: stretch;
justify-content: space-evenly;
gap: 1rem;
gap: 1rem;
list-style: none;
}
.image-buttons ul li {
width: 100%;
flex-shrink: 1;
flex-grow: 1;
}
.image-button-container {
display: flex;
border: 1px solid #aaa;
width: 100%;
height: 100%;
}
.image-button-container img {
width: 100%;
height: 100%;
object-fit: contain;
}
}

Latest revision as of 19:55, 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-buttons ul li {
	width: 100%;
	flex-shrink: 1;
	flex-grow: 1;
}
.image-button-container {
	display: flex;
	border: 1px solid #aaa;
	width: 100%;
	height: 100%;
}
.image-button-container img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}