MediaWiki:Common.css

From DreamWeave Wiki
Revision as of 16:15, 19 July 2026 by Admin (talk | contribs) (wiki-sync: standardize site theme (brand palette))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.
/* ==========================================================================
 * DreamWeave wiki — site theme  (source of truth for MediaWiki:Common.css)
 * --------------------------------------------------------------------------
 * Applies to every skin; the default skin is Vector Legacy (`vector`).
 * Brand palette (matches the authored logo/mark and the infobox templates):
 *   ink       #241f3d   dark indigo — headings, wordmark
 *   purple    #6d5bd0   primary accent — rules, links, borders
 *   teal      #37d0c4   secondary accent
 *   parchment #efe6d0   panel / table background
 *   tan       #e3d7ba   table header cells
 *   gold      #d9b45b   highlight
 *   lavender  #7b6fb8   muted / visited
 * Keep content readable: the page stays light; we theme accents, headings,
 * links and content tables only. Chrome (sidebar, tabs) is left to the skin.
 * ========================================================================== */

/* --- Section headings: brand ink + a purple rule, serif like the wordmark - */
.mw-parser-output h1,
.mw-parser-output h2 {
	color: #241f3d;
	font-family: Georgia, "Times New Roman", serif;
	border-bottom: 2px solid #6d5bd0;
}
.mw-parser-output h3,
.mw-parser-output h4,
.mw-parser-output h5 {
	color: #322a5a;
	font-family: Georgia, "Times New Roman", serif;
}
/* The page title itself */
.firstHeading {
	color: #241f3d;
	border-bottom: 2px solid #6d5bd0;
}

/* --- Links in brand purple; red links and external links left legible ----- */
.mw-parser-output a:not(.new):not(.external):not(.image) {
	color: #5a49b8;
}
.mw-parser-output a:not(.new):not(.external):visited {
	color: #7b6fb8;
}

/* --- Content tables (wikitable): same palette as the infoboxes ------------ */
.mw-parser-output table.wikitable {
	border: 1px solid #6d5bd0;
	background: #efe6d0;
	color: #241f3d;
}
.mw-parser-output table.wikitable > * > tr > th {
	background: #e3d7ba;
	color: #241f3d;
	border: 1px solid #cbb98f;
}
.mw-parser-output table.wikitable > * > tr > td {
	border: 1px solid #cbb98f;
}
/* Item/ware icons dropped into a table cell: vertically centered, no wrap gap */
.mw-parser-output table.wikitable td .mw-file-element,
.mw-parser-output table.wikitable td img {
	vertical-align: middle;
}

/* --- Draft banner: make staged pages obviously not-live -------------------- */
.ns-118 .mw-parser-output::before {
	content: "Draft — staged for review, not a live article.";
	display: block;
	margin: 0 0 1em;
	padding: .5em .8em;
	background: #efe6d0;
	border-left: 4px solid #d9b45b;
	color: #5a4a1e;
	font-style: italic;
}

/* --- Category / footer accents kept subtle -------------------------------- */
.catlinks {
	border: 1px solid #d8cdb0;
	background: #f6f0e2;
}