MediaWiki:Common.css

From zFairs Contest Management
Revision as of 15:24, 31 July 2026 by Trent (talk | contribs) (Use official zFairs website logo (/images/c/ce/ZFairs_Logo.png))
(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.
/* zFairs branding: match website logo (zfairs.com) */
/* Uploaded File:ZFairs_Logo.png — dark wordmark for light Timeless chrome */

#p-logo {
	text-align: center;
}

.mw-wiki-logo {
	/* Official website wordmark (navy + orange F) */
	background-image: url(/images/c/ce/ZFairs_Logo.png) !important;
	background-size: contain !important;
	background-repeat: no-repeat !important;
	background-position: center center !important;
	/* Wide wordmark (site logo is ~2.4:1), not default 11em square */
	width: 12em !important;
	height: 5em !important;
	margin: 0.75em auto 0.35em !important;
}

/* Slightly tighter logo area on narrow sidebars */
@media screen and (max-width: 850px) {
	.mw-wiki-logo {
		width: 10em !important;
		height: 4.2em !important;
	}
}