MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 469: | Line 469: | ||
padding-bottom: 10px; | padding-bottom: 10px; | ||
margin-bottom: 14px; | margin-bottom: 14px; | ||
border-bottom: 1px solid # | border-bottom: 1px solid #d7ad47; | ||
} | } | ||
| Line 668: | Line 668: | ||
.mw-editsection-like { | .mw-editsection-like { | ||
display: none !important; | display: none !important; | ||
} | } | ||
Revision as of 16:28, 25 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 IMAGE SYSTEM
========================= */
/* Header image safety */
.nightcats-header {
text-align: center;
margin: 0 0 20px 0;
max-width: 100%;
overflow: hidden;
}
.nightcats-header img {
max-width: 100%;
height: auto;
display: block;
margin: 0 auto;
}
/* ---------------------------------
LARGE PULP FRAME
Use for Peoples page, feature art,
splash images, and larger portraits
--------------------------------- */
.nightcats-frame {
display: inline-block;
padding: 8px;
background: #f2e6c9;
border-top: 1px solid #d8c39a;
border-left: 1px solid #d8c39a;
border-right: 1px solid #3a2a1a;
border-bottom: 1px solid #3a2a1a;
box-shadow:
0 0 0 1px #8a7a52 inset,
0 4px 10px rgba(0,0,0,0.45);
margin: 8px 0 16px 16px;
max-width: 100%;
box-sizing: border-box;
}
.nightcats-frame img {
display: block;
max-width: 100%;
height: auto;
}
.nightcats-frame.right {
float: right;
clear: right;
}
.career-entry {
display: flow-root;
padding-bottom: 10px;
margin-bottom: 14px;
border-bottom: 1px solid #d7ad47;
}
.career-portrait {
float: right;
width: 100px;
height: 100px;
margin: 0 0 8px 12px;
border: 1px solid #d7ad47;
background: #000;
overflow: hidden;
box-sizing: border-box;
}
.career-portrait img,
.career-portrait .mw-file-element {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
object-position: right center; /* ← THIS is the change */
margin: 0;
padding: 0;
border: 0;
}
/* ---------------------------------
Tiny thumb treatment inside
Nightcats pages if needed
--------------------------------- */
.nightcats-theme .thumbinner {
background: #1a120c;
border: 1px solid #5a3b1f;
padding: 4px;
box-sizing: border-box;
}
.nightcats-theme .thumbimage {
display: block;
max-width: 100%;
height: auto;
}
/* Captions */
.nightcats-theme .thumbcaption,
.career-caption {
color: #d7c39a;
font-size: 0.85em;
line-height: 1.3;
margin-top: 4px;
}
/* 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;
}
/* Restore normal section edit links */
.mw-editsection,
.mw-editsection-bracket {
display: inline !important;
float: right !important;
margin-left: 0.5em !important;
font-size: 0.85em !important;
list-style: none !important;
}
.mw-editsection a {
display: inline !important;
list-style: none !important;
text-decoration: none;
}
/* Remove any bullets that may be appearing */
.mw-editsection,
.mw-editsection *,
.mw-headline + .mw-editsection {
list-style-type: none !important;
}
.mw-editsection::marker,
.mw-editsection li::marker {
content: "" !important;
}
h1 .mw-editsection,
h2 .mw-editsection,
h3 .mw-editsection,
h4 .mw-editsection,
h5 .mw-editsection,
h6 .mw-editsection {
float: right !important;
display: inline !important;
margin: 0 0 0 0.5em !important;
padding: 0 !important;
}
h1 .mw-editsection,
h2 .mw-editsection,
h3 .mw-editsection,
h4 .mw-editsection,
h5 .mw-editsection,
h6 .mw-editsection {
float: right !important;
display: inline !important;
margin: 0 0 0 0.5em !important;
padding: 0 !important;
}
/* Kill section edit links completely */
.mw-editsection,
.mw-editsection-like {
display: none !important;
}