MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 992: | Line 992: | ||
padding: 20px; | padding: 20px; | ||
} | } | ||
} | |||
.bt-card { | |||
background: rgba(255, 248, 220, 0.85); | |||
border: 2px solid #8b6f3d; | |||
padding: 12px 16px; | |||
margin: 12px 0; | |||
border-radius: 6px; | |||
box-shadow: 2px 2px 6px rgba(0,0,0,0.25); | |||
} | |||
.bt-card em { | |||
display: block; | |||
font-style: italic; | |||
margin-bottom: 6px; | |||
color: #5a3e1b; | |||
} | |||
.ffbt-scroll h2 { | |||
border-bottom: 2px solid #8b6f3d; | |||
padding-bottom: 4px; | |||
margin-top: 24px; | |||
} | |||
.bt-table { | |||
background: rgba(255, 250, 235, 0.9); | |||
border: 1px solid #8b6f3d; | |||
} | } | ||
Revision as of 12:55, 28 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
Cleaned and consolidated master stylesheet
Includes:
- Global Codex styling
- Nightcats themed wrapper
- Five Fists of the Burning Temple themed wrapper
Notes:
- FFBT styles are scoped with the ffbt- prefix
- FFBT pages are designed to use:
<div class="ffbt-wrapper"><div class="ffbt-scroll texture">...</div></div>
========================================================= */
/* =========================
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 / TEXT
========================= */
#firstHeading,
.mw-first-heading,
.mw-parser-output h1,
.mw-parser-output h2,
.mw-parser-output h3,
.mw-parser-output h4,
.mw-parser-output h5,
.mw-parser-output h6,
h1, h2, h3, h4, h5, h6 {
color: #c9a15a !important;
font-family: 'Cinzel', Georgia, serif !important;
font-weight: 600;
letter-spacing: 0.04em;
visibility: visible !important;
opacity: 1 !important;
}
h1,
h2,
.mw-parser-output h1,
.mw-parser-output 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;
}
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;
}
.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 / FORM ELEMENTS
========================= */
.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;
}
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
========================= */
.thumb,
.image,
.thumbinner,
.thumbimage,
.gallerybox .thumb,
.gallerybox .thumbinner {
background: transparent !important;
border: 0 !important;
box-shadow: none !important;
}
.thumbinner,
.gallerybox .thumbinner {
padding: 0 !important;
margin: 0 !important;
box-sizing: border-box !important;
}
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;
}
.codex-header img,
.nightcats-header img,
.ffbt-header img {
max-width: 100% !important;
height: auto;
display: block;
margin: 0 auto;
}
.floatright,
.tright,
.thumb.tright,
.thumb.floatright {
float: right !important;
clear: right !important;
display: block !important;
margin: 28px 0 12px 16px !important;
}
.floatleft,
.tleft,
.thumb.tleft,
.thumb.floatleft {
float: left !important;
clear: left !important;
display: block !important;
margin: 12px 16px 12px 0 !important;
}
.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,
.nightcats-header,
.ffbt-header {
margin-top: 0;
max-width: 100%;
overflow: hidden;
}
/* =========================
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;
}
/* =========================
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.7;
font-size: 18px !important;
}
.nightcats-theme p,
.nightcats-theme li,
.nightcats-theme td,
.nightcats-theme th,
.nightcats-theme dt,
.nightcats-theme dd {
color: #e6d7b0;
font-size: 1em;
}
.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 {
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;
}
.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;
}
.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;
}
.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;
}
/* =========================
FIVE FISTS OF THE BURNING TEMPLE
Use on pages wrapped in:
<div class="ffbt-wrapper"><div class="ffbt-scroll texture">...</div></div>
========================= */
.ffbt-wrapper {
background:
linear-gradient(to bottom, #2a120e 0%, #3b1a14 40%, #1a0a07 100%);
background-image: url("/images/ash_texture.png");
background-blend-mode: multiply;
padding: 24px;
color: #1a1a1a;
font-family: Georgia, "Times New Roman", serif;
}
/* Main scroll panel */
.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.2),
0 0 40px rgba(255,120,40,0.15);
position: relative;
color: #1a1a1a;
}
/* Optional paper texture */
.ffbt-scroll.texture {
background-image: url("/images/ricepaper.png");
background-size: cover;
background-repeat: repeat;
}
/* 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;
}
.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%
);
}
/* Typography inside parchment */
.ffbt-scroll,
.ffbt-scroll p,
.ffbt-scroll li,
.ffbt-scroll td,
.ffbt-scroll th,
.ffbt-scroll dt,
.ffbt-scroll dd {
color: #2a1a12;
font-family: 'Libre Baskerville', Georgia, serif;
}
.ffbt-scroll h1,
.ffbt-scroll h2,
.ffbt-scroll h3,
.ffbt-scroll h4,
.ffbt-scroll h5,
.ffbt-scroll h6 {
font-family: 'Cinzel', Georgia, serif !important;
color: #1a1a1a !important;
font-weight: 600;
}
.ffbt-scroll h1 {
font-size: 2.3em;
border-bottom: 4px solid #8f2318;
padding-bottom: 8px;
margin-bottom: 18px;
letter-spacing: 0.04em;
text-transform: uppercase;
}
.ffbt-scroll h2 {
color: #1a1a1a !important;
border-left: 6px solid #8f2318;
border-bottom: 0;
padding-left: 12px;
margin-top: 32px;
margin-bottom: 12px;
font-weight: normal;
}
.ffbt-scroll h3 {
color: #5c2a18 !important;
margin-top: 24px;
margin-bottom: 8px;
font-weight: bold;
}
/* Links inside parchment */
.ffbt-scroll a,
.ffbt-scroll a:visited {
color: #8f2318;
text-decoration: none;
}
.ffbt-scroll a:hover,
.ffbt-scroll a:focus {
color: #c13a2a;
text-decoration: underline;
}
/* Callouts and boxes */
.ffbt-callout {
border: 1px solid #c79b4b;
background: #f9f1df;
color: #2a1a12;
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;
color: #2a1a12;
padding: 14px 16px;
margin: 18px 0;
}
.ffbt-statblock {
border: 2px solid #1a1a1a;
background: #fdf8ef;
color: #2a1a12;
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;
color: #2a1a12;
padding: 14px;
box-shadow: 0 0 6px rgba(0,0,0,0.06);
}
.ffbt-card h3 {
margin-top: 0;
color: #8f2318 !important;
}
.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;
color: #2a1a12;
}
.ffbt-table th {
background: #8f2318;
color: #fff;
padding: 8px;
text-align: left;
border: 1px solid #c9b08c;
}
.ffbt-table td {
border: 1px solid #c9b08c;
padding: 8px;
color: #2a1a12;
}
.ffbt-tag {
display: inline-block;
border: 1px solid #c79b4b;
background: #f9f1df;
color: #2a1a12;
padding: 2px 8px;
margin-right: 6px;
margin-bottom: 6px;
font-size: 0.85em;
}
.ffbt-navbox {
border: 1px solid #c9b08c;
background: #f8efe1;
color: #2a1a12;
padding: 12px 16px;
margin-top: 28px;
}
/* Outer chrome reskin for FFBT pages nested inside wrapper */
.ffbt-wrapper #content,
.ffbt-wrapper #mw-content-text {
background: transparent;
}
.ffbt-wrapper #mw-panel {
background: #2a140f;
border-right: 2px solid #6e1f16;
box-shadow: inset -2px 0 8px rgba(0,0,0,0.4);
}
.ffbt-wrapper #mw-panel a {
color: #e6d3a3;
}
.ffbt-wrapper #mw-panel a:hover {
color: #ffcc66;
}
.ffbt-wrapper #mw-panel h3 {
color: #ffcc66;
border-bottom: 1px solid #6e1f16;
padding-bottom: 3px;
}
.ffbt-wrapper #mw-head,
.ffbt-wrapper #mw-page-base {
background: #1a0a07;
border-bottom: 2px solid #6e1f16;
}
.ffbt-wrapper .vectorTabs li a {
color: #e6d3a3;
}
.ffbt-wrapper .vectorTabs li.selected a {
background: #3b1a14;
color: #ffcc66;
}
/* =========================
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;
}
.ffbt-wrapper {
padding: 16px;
}
.ffbt-scroll {
padding: 20px;
}
}
.bt-card {
background: rgba(255, 248, 220, 0.85);
border: 2px solid #8b6f3d;
padding: 12px 16px;
margin: 12px 0;
border-radius: 6px;
box-shadow: 2px 2px 6px rgba(0,0,0,0.25);
}
.bt-card em {
display: block;
font-style: italic;
margin-bottom: 6px;
color: #5a3e1b;
}
.ffbt-scroll h2 {
border-bottom: 2px solid #8b6f3d;
padding-bottom: 4px;
margin-top: 24px;
}
.bt-table {
background: rgba(255, 250, 235, 0.9);
border: 1px solid #8b6f3d;
}