Jump to content

MediaWiki:Common.css: Difference between revisions

From Crucible Codex
No edit summary
No edit summary
Line 170: Line 170:
.codex-header {
.codex-header {
     margin-top: 0;
     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;
}
}

Revision as of 11:19, 23 March 2026

/* =========================
   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;
}