MediaWiki:Common.css

From PredictiveHistory
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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* Predictive History Wiki — Dark Scholarly Theme */
/* Main body background */
body {
  background-color: #1a1e29;
  color: #e8e4dc;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Main content area */
.mw-body {
  background-color: #232834;
  color: #e8e4dc;
  border: 1px solid #3a4155;
}

.mw-body h1,
.mw-body h2,
.mw-body h3,
.mw-body h4 {
  color: #c9a84c;
  font-family: 'Linux Libertine', Georgia, 'Times New Roman', serif;
  border-bottom-color: #3a4155;
}

/* Links */
a {
  color: #7eb8d4;
}
a:visited {
  color: #a08060;
}
a.new {
  color: #c06060;
}

/* Sidebar */
#mw-panel {
  background-color: #1a1e29;
}
.vector-menu-portal .vector-menu-heading {
  color: #c9a84c;
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Logo area */
#p-logo a {
  /* Logo uploaded separately via MediaWiki interface */
}

/* Table of Contents */
.toc {
  background: #2a2f3d;
  border: 1px solid #3a4155;
  border-radius: 6px;
  padding: 12px 16px;
  color: #e8e4dc;
}
.toc .toctitle {
  color: #c9a84c;
}
.tocnumber {
  color: #7eb8d4;
}
.toc a {
  color: #e8e4dc;
}
.toc a:hover {
  color: #c9a84c;
}

/* Content paragraphs — readable size */
.mw-body-content p {
  font-size: 1.0625rem;
  line-height: 1.8;
}

/* Infobox */
.infobox {
  background: #2a2f3d;
  border: 1px solid #3a4155;
  border-left: 3px solid #c9a84c;
  border-radius: 6px;
  color: #e8e4dc;
}
.infobox h2,
.infobox h3 {
  background-color: #1a1e29;
  color: #c9a84c;
  font-family: 'Linux Libertine', Georgia, serif;
}

/* Search box */
.mw-searchInput {
  background-color: #2a2f3d;
  color: #e8e4dc;
  border: 1px solid #3a4155;
}

/* Buttons */
.mw-ui-button {
  background-color: #2a2f3d;
  color: #e8e4dc;
  border: 1px solid #3a4155;
}

/* Site notice */
.site-notice {
  background-color: #2a2f3d;
  border: 1px solid #c9a84c;
}

/* Footer */
#footer {
  background-color: #1a1e29;
  color: #888;
}