MediaWiki:Common.css

From Wizards & Warlords Wiki
Revision as of 03:44, 19 March 2026 by Aurelian (talk | contribs)

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.
/* This style is loaded on all media. */

/* HEADING RULES */


/* GRID RULES */
.wiz-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	width: 100%;
	text-align: center;
	align-items: start;
}

.wiz-grid-item h3 {
	font-variant: small-caps;
font-weight: bold;
}

.wiz-grid-item {
	width: 100%;
}

.wiz-grid-item img {
	display: block;
	width: 100%;
	height: auto;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.wiz-grid-text {
	margin-top: 8px;
}

@media (max-width: 1100px) {
	.wiz-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.wiz-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}