Jump to content

MediaWiki:Common.css: Difference between revisions

From Crucible Codex
No edit summary
No edit summary
Line 305: Line 305:
}
}


.nightcats-theme .mw-parser-output,
.nightcats-theme {
.nightcats-theme .nightcats-content {
   max-width: 900px;
   max-width: 900px;
   margin: auto;
   margin: 0 auto;
   background: rgba(20, 12, 6, 0.9);
   background: rgba(20, 12, 6, 0.9);
   padding: 20px 30px;
   padding: 20px 30px;
   border: 1px solid #5a3b1f;
   border: 1px solid #5a3b1f;
   border-radius: 6px;
   border-radius: 6px;
  font-family: 'Crimson Pro', Georgia, serif;
  color: #e6d7b0;
}
}



Revision as of 13:36, 23 March 2026

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600&family=Libre+Baskerville:wght@400;700&display=swap');

/* =========================
   Crucible Codex Master Theme
   ========================= */

body,
.mw-page-container,
.vector-body {
    background: #15110e;
    color: #e7dcc5;
    font-family: Georgia, "Times New Roman", serif;
}

/* Main content area */
.mw-body,
.vector-body {
    background: #211914;
    color: #e7dcc5;
    border: 1px solid #5c4630;
    box-shadow: 0 0 12px rgba(0,0,0,0.25);
}

/* Headings */
#firstHeading,
.mw-first-heading,
h1, h2, h3, h4, h5, h6 {
    color: #c9a15a;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: bold;
    letter-spacing: 0.02em;
}

h1, h2 {
    border-bottom: 1px solid #5c4630;
    padding-bottom: 0.2em;
}

/* Text */
p, li, dt, dd, td, th {
    color: #e7dcc5;
}

small,
.mw-footer,
#siteSub,
.catlinks {
    color: #bfae8e;
}

/* Links */
a {
    color: #d8b06a;
}

a:visited {
    color: #a88552;
}

a:hover,
a:focus {
    color: #e0bf7a;
    text-decoration: underline;
}

/* Sidebar / Vector nav */
.vector-pinned-container,
.vector-column-start,
#mw-panel,
.vector-menu,
.vector-user-links {
    background: #1a1410;
    color: #e7dcc5;
}

.vector-menu-heading,
#mw-panel h3 {
    color: #c9a15a;
}

/* Tabs / top UI */
.vector-page-toolbar,
.vector-sticky-header,
.vector-page-titlebar {
    background: #1a1410;
    border-bottom: 1px solid #5c4630;
}

/* Search */
input,
textarea,
select {
    background: #2a2018;
    color: #e7dcc5;
    border: 1px solid #5c4630;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #c9a15a;
    outline: none;
}

/* Tables */
table,
.wikitable {
    background: #211914;
    color: #e7dcc5;
    border: 1px solid #5c4630;
}

.wikitable th {
    background: #2a2018;
    color: #c9a15a;
    border: 1px solid #5c4630;
}

.wikitable td {
    border: 1px solid #5c4630;
}

/* Infoboxes */
.infobox {
    background: #1d1612;
    color: #e7dcc5;
    border: 1px solid #5c4630;
}

.infobox th {
    background: #2a2018;
    color: #c9a15a;
}

.infobox td {
    color: #e7dcc5;
}

/* Category and content boxes */
.catlinks,
#toc,
.toc,
.thumbinner {
    background: #1d1612;
    border: 1px solid #5c4630;
    color: #e7dcc5;
}

/* Code/pre */
pre,
code {
    background: #181311;
    color: #e7dcc5;
    border: 1px solid #4b3928;
}

/* Subtle page polish */
hr {
    border: 0;
    border-top: 1px solid #5c4630;
}

/* Hide title on Main Page */
.page-Main_Page #firstHeading {
    display: none;
}

.page-Main_Page .mw-body {
    margin-top: 0;
}

.codex-header {
    margin-top: 0;
}

/* =========================
   Top Header / Search Bar Fix
   ========================= */

.mw-header,
.vector-sticky-header,
.vector-page-toolbar,
.vector-page-titlebar {
    background-color: #15110e !important;
    border-bottom: 1px solid #5c4630;
}

/* Search box */
.vector-search-box input,
#searchInput {
    background-color: #2a2018 !important;
    color: #e7dcc5 !important;
    border: 1px solid #5c4630 !important;
}

/* Search placeholder text */
.vector-search-box input::placeholder {
    color: #bfae8e;
}

/* Top right links (user/tools) */
.vector-user-links,
.vector-user-links a {
    color: #e7dcc5 !important;
}

/* Buttons and icons */
.vector-page-toolbar button,
.vector-page-toolbar a {
    color: #e7dcc5 !important;
}

/* Fix any lingering white areas */
.mw-page-container {
    background-color: #15110e;
}

/* Very top header strip */
.vector-header-container,
.vector-header,
.mw-header {
    background: #15110e !important;
    background-color: #15110e !important;
    border-bottom: 1px solid #5c4630 !important;
}

/* Keep the search area dark too */
.vector-search-box,
.vector-search-box-vue,
.vector-typeahead-search-container {
    background: transparent !important;
}

.vector-search-box input,
#searchInput {
    background-color: #2a2018 !important;
    color: #e7dcc5 !important;
    border: 1px solid #5c4630 !important;
}

/* Wiki name and top links */
.vector-header a,
.vector-header span,
.mw-header a,
.mw-header span {
    color: #e7dcc5 !important;
}

/* Body text */
body,
.mw-body,
.vector-body {
    font-family: 'Libre Baskerville', Georgia, serif;
}

/* Headings */
#firstHeading,
.mw-first-heading,
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    letter-spacing: 0.04em;
}
/* Fix header image overflow */
.codex-header img {
    max-width: 100% !important;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Prevent container overflow */
.codex-header {
    max-width: 100%;
    overflow: hidden;
}

/* Search input field */
.vector-search-box input,
#searchInput {
    background-color: #2a2018 !important;
    color: #e7dcc5 !important;
    border: 1px solid #5c4630 !important;
}

/* Placeholder text */
.vector-search-box input::placeholder {
    color: #bfae8e !important;
}

/* Fix browser autofill (Chrome, Edge) */
input:-webkit-autofill,
input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #2a2018 inset !important;
    -webkit-text-fill-color: #e7dcc5 !important;
}
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600&family=Crimson+Pro:wght@400;600&display=swap');

/* =========================
   NIGHTCATS SECTION THEME
   ========================= */

.nightcats-theme {
  font-family: 'Crimson Pro', Georgia, serif;
  color: #e6d7b0;
}

.nightcats-theme {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(20, 12, 6, 0.9);
  padding: 20px 30px;
  border: 1px solid #5a3b1f;
  border-radius: 6px;
  font-family: 'Crimson Pro', Georgia, serif;
  color: #e6d7b0;
}

.nightcats-theme h1,
.nightcats-theme h2,
.nightcats-theme h3,
.nightcats-theme h4,
.nightcats-theme h5,
.nightcats-theme h6 {
  font-family: 'Cinzel', serif;
  color: #d7ad47;
  letter-spacing: 0.05em;
}

.nightcats-theme h1,
.nightcats-theme h2 {
  border-bottom: 1px solid #5a3b1f;
  padding-bottom: 2px;
}

.nightcats-theme p,
.nightcats-theme li,
.nightcats-theme td,
.nightcats-theme th {
  color: #e6d7b0;
}

.nightcats-theme a,
.nightcats-theme a:visited {
  color: #e6c76a;
  text-decoration: none;
}

.nightcats-theme a:hover,
.nightcats-theme a:focus {
  color: #ffd97d;
  text-decoration: underline;
}

.nightcats-theme table.wikitable,
.nightcats-theme .infobox,
.nightcats-theme table.infobox {
  background: #1f160f;
  color: #e6d7b0;
  border: 1px solid #5a3b1f;
}

.nightcats-theme table.wikitable th,
.nightcats-theme .infobox th,
.nightcats-theme table.infobox th {
  background: #5a2a12;
  color: #f0d38d;
  border: 1px solid #5a3b1f;
}

.nightcats-theme table.wikitable td {
  background: #1f160f;
  color: #e6d7b0;
  border: 1px solid #5a3b1f;
}

.nightcats-theme blockquote {
  background: #3a2414;
  border-left: 4px solid #b8842f;
  color: #e6d7b0;
  padding: 0.75em 1em;
  margin: 1em 0;
  font-style: italic;
}

.nightcats-theme pre,
.nightcats-theme code {
  background: #1a120c;
  color: #eadbb7;
  border: 1px solid #5a3b1f;
}

.nightcats-theme .catlinks,
.nightcats-theme #toc,
.nightcats-theme .toc {
  background: #1a120c;
  border: 1px solid #5a3b1f;
  color: #e6d7b0;
}

.nightcats-theme #toc .toctitle,
.nightcats-theme .toc .toctitle {
  color: #d7ad47;
}

.nightcats-header {
  text-align: center;
  margin: 0 0 20px 0;
}

.nightcats-header img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.nightcats-frame {
  padding: 12px;
  background: #f2e6c9;
  border: 6px solid #1a1a1a;
  box-shadow:
    0 0 0 2px #8a7a52 inset,
    0 8px 20px rgba(0,0,0,0.7);
  margin: 10px 0 20px 20px;
  width: fit-content;
}

.nightcats-frame img {
  display: block;
}

.nightcats-frame.right {
  float: right;
  clear: right;
}