MediaWiki:Common.css

Revision as of 02:43, 20 October 2026 by Gameprog (talk | contribs) (Starter content)
(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.
/* Site-wide CSS, live at MediaWiki:Common.css; edit it on the wiki, not here.
   The var() names are Vector 2022's design tokens, so night mode recolours these too. */

.page-Main_Page .mw-first-heading {
	display: none;
}

.mp-banner {
	padding: 1.25em 1.5em;
	margin-bottom: 1em;
	border-radius: 4px;
	background: #3d78c4;
	color: #fff;
	text-align: center;
}

.mp-banner-title {
	font-size: 1.9em;
	font-weight: bold;
}

.mp-banner-sub a {
	color: #fff;
	text-decoration: underline;
}

.mp-grid {
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax( 16em, 1fr ) );
	gap: 1em;
}

.mp-box {
	padding: 0.75em 1em;
	border: 1px solid var( --border-color-base, #a2a9b1 );
	border-radius: 4px;
	background: var( --background-color-neutral-subtle, #f8f9fa );
}

.mp-box-title {
	margin-bottom: 0.4em;
	font-size: 1.2em;
	font-weight: bold;
	border-bottom: 1px solid var( --border-color-subtle, #c8ccd1 );
}