Jump to content

MediaWiki:Common.css

From cardbot.wiki
Revision as of 19:55, 15 April 2026 by Cabalex (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* 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;
}