MediaWiki:Citizen.css

From Digital Masters World
Revision as of 07:31, 23 July 2026 by Topshotta (talk | contribs)
Jump to navigation Jump to search

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.
/* DMW Citizen theme - safe layout pass */

/* Site background */
html,
body {
	background:
		radial-gradient(circle at 50% 0%, rgba(25, 170, 255, 0.18), transparent 34rem),
		linear-gradient(180deg, #07192d 0%, #eef3f8 42rem);
}

/* Keep Citizen content centered */
.citizen-page-container,
.citizen-body-container,
#content,
.mw-body,
.mw-body-content {
	margin-left: auto;
	margin-right: auto;
}

/* Main article width */
.citizen-page-container {
	max-width: 1320px;
}

/* Page content panel */
.citizen-body {
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(47, 120, 255, 0.18);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.10);
}

/* Center the old Main Page table/layout */
body.page-Main_Page .mw-parser-output {
	max-width: 1120px;
	margin-left: auto;
	margin-right: auto;
}

/* Stop old table layouts from being forced too far left */
body.page-Main_Page .mw-parser-output > table {
	margin-left: auto !important;
	margin-right: auto !important;
}

/* Images scale safely */
.mw-parser-output img {
	max-width: 100%;
	height: auto;
}

/* Keep old striped headers but tidy them slightly */
body.page-Main_Page .mw-parser-output td[style*="background"],
body.page-Main_Page .mw-parser-output th[style*="background"],
body.page-Main_Page .mw-parser-output div[style*="background"] {
	border-radius: 2px;
}

/* Link colour */
a {
	color: #246bff;
}

a:visited {
	color: #4d77d8;
}