MediaWiki:Timeless.css

From Tuyin Archives
Revision as of 21:27, 6 July 2025 by Morrisj18 (talk | contribs)

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.
/* === Base background and font === */
body {
  background-color: #1a1a1a;
  color: #e2decf;
  font-family: "Garamond", "Georgia", serif;
}

/* === Main content area === */
#content, .mw-body {
  background-color: #2b2620;
  border: 1px solid #554433;
  padding: 20px;
  box-shadow: 0 0 15px #000;
}

/* === Headings === */
h1, h2, h3, h4, h5 {
  color: #ffcc66;
  text-shadow: 0 0 3px #aa8844;
  font-family: "Cinzel", "Georgia", serif;
}

/* === Table of Contents (TOC) === */
#toc {
  background-color: #2e2a25;
  border: 1px solid #665544;
  color: #e2decf;
}
#toc a {
  color: #88ccee;
}
#toc a:hover {
  color: #ffeeaa;
  text-decoration: underline;
}

/* === Links === */
a {
  color: #88ccee;
}
a:visited {
  color: #c088ff;
}
a:hover {
  color: #ffeeaa;
  text-decoration: underline;
}

/* === Sidebar panels (left + right) === */
#mw-content-block #mw-panel,
#mw-content-block .sidebar,
#mw-related-navigation,
#mw-data-navigation,
#p-logo,
#mw-footer {
  background-color: #2a2520 !important;
  border: 1px solid #40352b;
  color: #e2decf;
}

/* === Sidebar links === */
#mw-panel a,
#p-tb a,
#p-cactions a,
#p-personal a,
.sidebar a {
  color: #ffdd99 !important;
}
#mw-panel a:hover,
#p-tb a:hover,
#p-cactions a:hover,
#p-personal a:hover,
.sidebar a:hover {
  color: #ffeeaa !important;
  text-decoration: underline;
}

/* === Content header tabs (View, Edit, etc.) === */
.mw-portlet .mw-portlet-body li a {
  background-color: #2b2620;
  border: 1px solid #40352b;
  color: #ccc;
}
.mw-portlet .mw-portlet-body li a:hover {
  background-color: #3a2f23;
  color: #fff;
}

/* === Infoboxes and tables === */
table.infobox,
table.wikitable {
  background-color: #333029;
  border: 1px solid #665544;
  color: #e2decf;
}
table.infobox th,
table.wikitable th {
  background-color: #3d3328;
  color: #ffcc66;
}
table.infobox td,
table.wikitable td {
  border-color: #665544;
}

/* === Search bar & input fields === */
input,
textarea,
select {
  background-color: #1e1e1e;
  color: #e2decf;
  border: 1px solid #555;
}

/* === Category bar at bottom === */
.catlinks {
  background-color: #2e2a25;
  border: 1px solid #40352b;
  color: #ffdd99;
}

/* === Misc cleanup === */
pre, code {
  background-color: #292521;
  border: 1px solid #554433;
  color: #ddccaa;
}