MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 939: | Line 939: | ||
background-blend-mode: multiply; | background-blend-mode: multiply; | ||
} | } | ||
.ffbt-scroll { | |||
box-shadow: | |||
0 0 18px rgba(0,0,0,0.2), | |||
0 0 40px rgba(255,120,40,0.15); | |||
Revision as of 22:07, 27 March 2026
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Libre+Baskerville:wght@400;700&family=Crimson+Pro:wght@400;600;700&display=swap');
/* =========================================================
CRUCIBLE CODEX - FULL SITE CSS
Simplified replacement stylesheet
========================================================= */
/* =========================
GLOBAL PAGE / BODY
========================= */
html,
body,
.mw-page-container,
.vector-body {
background: #15110e;
color: #e7dcc5;
font-family: 'Libre Baskerville', Georgia, "Times New Roman", serif;
}
body {
margin: 0;
padding: 0;
}
/* 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);
}
/* =========================
GLOBAL HEADINGS
========================= */
#firstHeading,
.mw-first-heading,
h1, h2, h3, h4, h5, h6 {
color: #c9a15a;
font-family: 'Cinzel', Georgia, serif;
font-weight: 600;
letter-spacing: 0.04em;
}
h1,
h2 {
border-bottom: 1px solid #5c4630;
padding-bottom: 0.2em;
}
h1 {
font-size: 2em;
}
h2 {
font-size: 1.6em;
}
h3 {
font-size: 1.25em;
}
h4 {
font-size: 1.1em;
}
/* Text */
p, li, dt, dd, td, th {
color: #e7dcc5;
}
small,
.mw-footer,
#siteSub,
.catlinks {
color: #bfae8e;
}
/* Links */
a {
color: #d8b06a;
text-decoration: none;
}
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;
}
/* =========================
TOP HEADER / TOOLBAR / TABS
========================= */
.vector-header-container,
.vector-header,
.mw-header,
.vector-page-toolbar,
.vector-sticky-header,
.vector-page-titlebar {
background: #15110e !important;
background-color: #15110e !important;
border-bottom: 1px solid #5c4630 !important;
}
/* Header text / links */
.vector-header a,
.vector-header span,
.mw-header a,
.mw-header span,
.vector-user-links,
.vector-user-links a,
.vector-page-toolbar button,
.vector-page-toolbar a {
color: #e7dcc5 !important;
}
/* =========================
SEARCH
========================= */
.vector-search-box,
.vector-search-box-vue,
.vector-typeahead-search-container {
background: transparent !important;
}
input,
textarea,
select,
.vector-search-box input,
#searchInput {
background: #2a2018 !important;
color: #e7dcc5 !important;
border: 1px solid #5c4630 !important;
font-family: 'Libre Baskerville', Georgia, serif;
}
input:focus,
textarea:focus,
select:focus {
border-color: #c9a15a !important;
outline: none;
}
.vector-search-box input::placeholder,
#searchInput::placeholder {
color: #bfae8e !important;
}
/* Autofill fix */
input:-webkit-autofill,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
-webkit-box-shadow: 0 0 0 1000px #2a2018 inset !important;
-webkit-text-fill-color: #e7dcc5 !important;
}
/* =========================
TABLES / WIKITABLES
========================= */
table,
.wikitable {
background: #211914;
color: #e7dcc5;
border: 1px solid #5c4630;
border-collapse: collapse;
}
.wikitable th {
background: #2a2018;
color: #c9a15a;
border: 1px solid #5c4630;
}
.wikitable td {
border: 1px solid #5c4630;
}
/* =========================
INFOBOXES
========================= */
.infobox,
table.infobox,
.portable-infobox {
background: #1d1612;
color: #e7dcc5;
border: 1px solid #5c4630;
}
.infobox th,
table.infobox th,
.portable-infobox .pi-title {
background: #2a2018;
color: #c9a15a;
}
.infobox td,
table.infobox td,
.portable-infobox .pi-data {
color: #e7dcc5;
}
/* =========================
TOC / CATEGORY
========================= */
.catlinks,
#toc,
.toc {
background: #1d1612;
border: 1px solid #5c4630;
color: #e7dcc5;
}
#toc .toctitle,
.toc .toctitle,
#toc .toctitle h2,
.toc .toctitle h2 {
color: #c9a15a;
border-bottom: 0;
}
#toc a,
.toc a {
color: #d8b06a;
}
/* =========================
IMAGE HANDLING - GLOBAL
Drop all frames and use a simple 2px gold border
========================= */
/* Remove MediaWiki thumb/frame styling globally */
.thumb,
.image,
.thumbinner,
.thumbimage,
.gallerybox .thumb,
.gallerybox .thumbinner {
background: transparent !important;
border: 0 !important;
box-shadow: none !important;
}
/* Remove padding and margins from inner wrappers */
.thumbinner,
.gallerybox .thumbinner {
padding: 0 !important;
margin: 0 !important;
box-sizing: border-box !important;
}
/* Apply a simple gold border to all images */
img,
.mw-file-element {
display: inline-block;
max-width: 100%;
height: auto;
border: 2px solid #d7ad47 !important;
background: transparent !important;
box-sizing: border-box !important;
box-shadow: none !important;
}
/* Keep header/banner images responsive and centered */
.codex-header img,
.nightcats-header img {
max-width: 100% !important;
height: auto;
display: block;
margin: 0 auto;
}
/* Right-aligned MediaWiki images */
.floatright,
.tright,
.thumb.tright,
.thumb.floatright,
.nightcats-theme .floatright,
.nightcats-theme .tright,
.nightcats-theme .thumb.tright,
.nightcats-theme .thumb.floatright {
float: right !important;
clear: right !important;
display: block !important;
margin: 28px 0 12px 16px !important;
}
/* Left-aligned MediaWiki images, if used */
.floatleft,
.tleft,
.thumb.tleft,
.thumb.floatleft,
.nightcats-theme .floatleft,
.nightcats-theme .tleft,
.nightcats-theme .thumb.tleft,
.nightcats-theme .thumb.floatleft {
float: left !important;
clear: left !important;
display: block !important;
margin: 12px 16px 12px 0 !important;
}
/* Ensure the actual image inside right/left wrappers behaves */
.floatright img,
.tright img,
.thumb.tright img,
.thumb.floatright img,
.floatleft img,
.tleft img,
.thumb.tleft img,
.thumb.floatleft img,
.floatright .mw-file-element,
.tright .mw-file-element,
.thumb.tright .mw-file-element,
.thumb.floatright .mw-file-element,
.floatleft .mw-file-element,
.tleft .mw-file-element,
.thumb.tleft .mw-file-element,
.thumb.floatleft .mw-file-element {
display: block !important;
float: none !important;
margin: 0 !important;
padding: 0 !important;
}
/* =========================
CODE / PRE
========================= */
pre,
code {
background: #181311;
color: #e7dcc5;
border: 1px solid #4b3928;
}
pre {
padding: 10px;
overflow: auto;
}
/* =========================
HR / PAGE POLISH
========================= */
hr {
border: 0;
border-top: 1px solid #5c4630;
clear: both;
}
/* =========================
MAIN PAGE
========================= */
.page-Main_Page #firstHeading {
display: none;
}
.page-Main_Page .mw-body {
margin-top: 0;
}
.codex-header {
margin-top: 0;
max-width: 100%;
overflow: hidden;
}
.codex-header img {
max-width: 100% !important;
height: auto;
display: block;
margin: 0 auto;
}
/* =========================
NIGHTCATS SECTION THEME
Use on pages wrapped in <div class="nightcats-theme">
========================= */
.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;
line-height: 1.6;
}
.nightcats-theme p,
.nightcats-theme li,
.nightcats-theme td,
.nightcats-theme th,
.nightcats-theme dt,
.nightcats-theme dd {
color: #e6d7b0;
}
.nightcats-theme h1,
.nightcats-theme h2,
.nightcats-theme h3,
.nightcats-theme h4,
.nightcats-theme h5,
.nightcats-theme h6,
.nightcats-theme .mw-headline {
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 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,
.nightcats-theme .portable-infobox {
background: #1f160f;
color: #e6d7b0;
border: 1px solid #5a3b1f;
}
.nightcats-theme table.wikitable th,
.nightcats-theme .infobox th,
.nightcats-theme table.infobox th,
.nightcats-theme .portable-infobox .pi-title {
background: #5a2a12;
color: #f0d38d;
border: 1px solid #5a3b1f;
}
.nightcats-theme table.wikitable td,
.nightcats-theme table.infobox td,
.nightcats-theme .portable-infobox .pi-data {
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 1em 1.5em;
font-style: italic;
}
.nightcats-theme hr,
.nightcats-theme .mw-parser-output hr {
border: 0;
border-top: 1px solid #5a3b1f;
margin: 14px 0;
clear: both;
}
.nightcats-theme #toc,
.nightcats-theme .toc,
.nightcats-theme .catlinks {
background: #1f160f;
border: 1px solid #5a3b1f;
color: #e6d7b0;
}
.nightcats-theme #toc .toctitle,
.nightcats-theme .toc .toctitle,
.nightcats-theme #toc .toctitle h2,
.nightcats-theme .toc .toctitle h2 {
color: #d7ad47;
}
.nightcats-theme #toc a,
.nightcats-theme .toc a {
color: #e6c76a;
}
.nightcats-theme pre,
.nightcats-theme code {
background: #120d09;
color: #e6d7b0;
border: 1px solid #5a3b1f;
}
/* 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;
}
/* Remove old custom frame styling from use */
.nightcats-frame {
display: inline-block;
padding: 0 !important;
background: transparent !important;
border: 0 !important;
box-shadow: none !important;
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;
}
/* Legacy custom careers markup support */
.career-entry {
clear: both;
overflow: auto;
margin-bottom: 16px;
padding-bottom: 10px;
border-bottom: 1px solid #5a3b1f;
}
.career-text {
display: block;
}
.career-portrait {
float: right;
width: auto;
height: auto;
margin: 28px 0 12px 16px;
border: 0 !important;
background: transparent !important;
overflow: visible;
box-sizing: border-box;
padding: 0 !important;
}
.career-portrait img,
.career-portrait .mw-file-element {
display: block;
width: auto;
height: auto;
margin: 0;
padding: 0;
box-shadow: none;
background: transparent !important;
}
.career-portrait .thumb,
.career-portrait .thumbinner,
.career-portrait .thumbimage,
.career-portrait .image {
background: transparent !important;
border: 0 !important;
padding: 0 !important;
margin: 0 !important;
box-shadow: none !important;
}
/* =========================
HIDE SECTION EDIT LINKS
========================= */
.mw-editsection,
.mw-editsection-like,
.mw-editsection-bracket,
.mw-editsection-divider,
.mw-parser-output .mw-editsection,
.mw-parser-output .mw-editsection-like,
.vector-body .mw-editsection,
.vector-body .mw-editsection-like,
h1 .mw-editsection,
h2 .mw-editsection,
h3 .mw-editsection,
h4 .mw-editsection,
h5 .mw-editsection,
h6 .mw-editsection,
h1 .mw-editsection-like,
h2 .mw-editsection-like,
h3 .mw-editsection-like,
h4 .mw-editsection-like,
h5 .mw-editsection-like,
h6 .mw-editsection-like {
display: none !important;
}
.mw-editsection::before,
.mw-editsection::after,
.mw-editsection-like::before,
.mw-editsection-like::after {
display: none !important;
content: none !important;
}
/* =========================
RESPONSIVE
========================= */
@media screen and (max-width: 720px) {
.nightcats-frame.right,
.floatright,
.tright,
.thumb.tright,
.thumb.floatright,
.career-portrait {
float: none !important;
clear: both !important;
display: block !important;
margin: 12px auto !important;
text-align: center;
}
.nightcats-frame.right img,
.floatright img,
.tright img,
.thumb.tright img,
.thumb.floatright img,
.floatright .mw-file-element,
.tright .mw-file-element,
.career-portrait img,
.career-portrait .mw-file-element {
margin: 0 auto !important;
}
.nightcats-theme {
padding: 16px 18px;
}
}
/* =========================
GLOBAL CODEX 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; /* gold */
font-family: 'Cinzel', serif !important;
visibility: visible !important;
opacity: 1 !important;
}
/* Add subtle divider for top headings */
.mw-parser-output h1,
.mw-parser-output h2 {
border-bottom: 1px solid #5c4630;
padding-bottom: 0.2em;
}
/* =========================
NIGHTCATS TYPOGRAPHY FIX (STRONG)
========================= */
/* Force readable base size */
.nightcats-theme {
font-size: 18px !important;
line-height: 1.7;
}
/* Body text */
.nightcats-theme p,
.nightcats-theme li,
.nightcats-theme td,
.nightcats-theme th {
font-size: 1em;
}
/* Headings scale */
.nightcats-theme h1 {
font-size: 2.4em;
}
.nightcats-theme h2 {
font-size: 1.9em;
}
.nightcats-theme h3 {
font-size: 1.5em;
}
.nightcats-theme h4 {
font-size: 1.25em;
}
/* =========================
FIVE FISTS OF THE BURNING TEMPLE
========================= */
.ffbt-wrapper {
background: #f5efe2;
padding: 24px;
color: #1a1a1a;
font-family: Georgia, "Times New Roman", serif;
}
.ffbt-scroll {
max-width: 960px;
margin: 0 auto;
padding: 32px;
background: #fffaf0;
border: 2px solid #6e1f16;
box-shadow: 0 0 18px rgba(0,0,0,0.18);
position: relative;
}
/* Optional texture */
.ffbt-scroll.texture {
background-image: url("/images/ricepaper.png");
background-size: cover;
background-repeat: repeat;
}
.ffbt-scroll h1 {
color: #1a1a1a;
font-size: 2.3em;
border-bottom: 4px solid #8f2318;
padding-bottom: 8px;
margin-bottom: 18px;
font-weight: normal;
letter-spacing: 0.04em;
text-transform: uppercase;
}
.ffbt-scroll h2 {
color: #1a1a1a;
border-left: 6px solid #8f2318;
padding-left: 12px;
margin-top: 32px;
margin-bottom: 12px;
font-weight: normal;
}
.ffbt-scroll h3 {
color: #5c2a18;
margin-top: 24px;
margin-bottom: 8px;
font-weight: bold;
}
.ffbt-callout {
border: 1px solid #c79b4b;
background: #f9f1df;
padding: 14px 16px;
margin: 18px 0;
font-style: italic;
}
.ffbt-seal {
display: inline-block;
background: #8f2318;
color: #fff;
padding: 4px 10px;
font-size: 0.8em;
letter-spacing: 0.08em;
text-transform: uppercase;
border-radius: 2px;
margin-bottom: 10px;
}
.ffbt-stylebox {
border: 2px solid #5c2a18;
background: #f8f0e2;
padding: 14px 16px;
margin: 18px 0;
}
.ffbt-statblock {
border: 2px solid #1a1a1a;
background: #fdf8ef;
padding: 14px 16px;
margin: 18px 0;
line-height: 1.5;
}
.ffbt-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 16px;
margin: 20px 0;
}
.ffbt-card {
background: #fbf4e8;
border: 1px solid #c9b08c;
padding: 14px;
box-shadow: 0 0 6px rgba(0,0,0,0.06);
}
.ffbt-card h3 {
margin-top: 0;
color: #8f2318;
}
.ffbt-divider {
border-bottom: 2px solid rgba(0,0,0,0.15);
margin: 28px 0;
}
.ffbt-quicklinks ul {
list-style: none;
padding-left: 0;
}
.ffbt-quicklinks li {
margin: 6px 0;
}
.ffbt-quote {
font-style: italic;
color: #444;
}
.ffbt-table table {
width: 100%;
border-collapse: collapse;
background: #fffaf0;
}
.ffbt-table th {
background: #8f2318;
color: #fff;
padding: 8px;
text-align: left;
}
.ffbt-table td {
border: 1px solid #c9b08c;
padding: 8px;
}
.ffbt-tag {
display: inline-block;
border: 1px solid #c79b4b;
background: #f9f1df;
padding: 2px 8px;
margin-right: 6px;
margin-bottom: 6px;
font-size: 0.85em;
}
.ffbt-navbox {
border: 1px solid #c9b08c;
background: #f8efe1;
padding: 12px 16px;
margin-top: 28px;
}
/* === BURNED EDGE OVERLAY === */
.ffbt-scroll::before {
content: "";
position: absolute;
inset: 0;
pointer-events: none;
background-image: url("/images/burned_edges.png");
background-size: 100% 100%;
background-repeat: no-repeat;
opacity: 0.9;
}
/* Slight darkening toward edges */
.ffbt-scroll::after {
content: "";
position: absolute;
inset: 0;
pointer-events: none;
background: radial-gradient(
ellipse at center,
rgba(0,0,0,0) 60%,
rgba(0,0,0,0.25) 100%
);
}
.ffbt-wrapper {
background-image: url("/images/ash_texture.png");
background-blend-mode: multiply;
}
.ffbt-scroll {
box-shadow:
0 0 18px rgba(0,0,0,0.2),
0 0 40px rgba(255,120,40,0.15);