MediaWiki:Common.css
Appearance
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.
@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;
}
/* Hide page titles only inside Nightcats */
.nightcats-theme #firstHeading {
display: none;
}
/* Codex landing page heading fix */
.mw-parser-output h1,
.mw-parser-output h2,
.mw-parser-output h3,
.mw-parser-output h4,
.mw-parser-output h5,
.mw-parser-output h6,
.mw-first-heading,
#firstHeading {
color: #c9a15a !important;
font-family: 'Cinzel', serif !important;
visibility: visible !important;
opacity: 1 !important;
}
/* Optional polish */
.mw-parser-output h1,
.mw-parser-output h2 {
border-bottom: 1px solid #5c4630;
padding-bottom: 0.2em;
}
/* Force page tabs above custom header layers */
.vector-page-toolbar,
.vector-page-titlebar,
.vector-menu-tabs,
.vector-menu-tabs .mw-list-item,
.vector-page-toolbar-container {
position: relative !important;
z-index: 50 !important;
pointer-events: auto !important;
}
/* Keep custom header/background layers underneath */
.codex-header,
.nightcats-header,
.vector-sticky-header,
.vector-header-container,
.vector-header,
.mw-header {
z-index: 1 !important;
}
/* Force page tabs above custom header layers */
.vector-page-toolbar,
.vector-page-titlebar,
.vector-menu-tabs,
.vector-menu-tabs .mw-list-item,
.vector-page-toolbar-container {
position: relative !important;
z-index: 50 !important;
pointer-events: auto !important;
}
/* Keep custom header/background layers underneath */
.codex-header,
.nightcats-header,
.vector-sticky-header,
.vector-header-container,
.vector-header,
.mw-header {
z-index: 1 !important;
position: relative !important;
}
/* Make edit/view-source tabs visible and clickable */
#ca-edit,
#ca-viewsource {
display: list-item !important;
visibility: visible !important;
opacity: 1 !important;
pointer-events: auto !important;
}
#ca-edit a,
#ca-viewsource a {
display: inline-block !important;
visibility: visible !important;
opacity: 1 !important;
color: #e7dcc5 !important;
pointer-events: auto !important;
}