MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 260: | Line 260: | ||
font-family: 'Cinzel', serif; | font-family: 'Cinzel', serif; | ||
letter-spacing: 0.04em; | 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; | |||
} | } | ||
Revision as of 11:28, 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;
}