MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
/* ========================================================= | /* ========================================================= | ||
CRUCIBLE CODEX | CRUCIBLE CODEX - FULL SITE CSS | ||
Clean replacement stylesheet | |||
========================================================= */ | ========================================================= */ | ||
| Line 30: | Line 30: | ||
color: #e7dcc5; | color: #e7dcc5; | ||
border: 1px solid #5c4630; | border: 1px solid #5c4630; | ||
box-shadow: 0 0 12px rgba(0,0,0,0.25); | box-shadow: 0 0 12px rgba(0, 0, 0, 0.25); | ||
} | } | ||
| Line 472: | Line 472: | ||
box-shadow: | box-shadow: | ||
0 0 0 1px #8a7a52 inset, | 0 0 0 1px #8a7a52 inset, | ||
0 4px 10px rgba(0,0,0,0.45); | 0 4px 10px rgba(0, 0, 0, 0.45); | ||
margin: 8px 0 16px 16px; | margin: 8px 0 16px 16px; | ||
max-width: 100%; | max-width: 100%; | ||
| Line 512: | Line 512: | ||
/* ========================= | /* ========================= | ||
NIGHTCATS CAREERS | NIGHTCATS CAREERS | ||
Supports BOTH patterns: | |||
[[File:Assassin.jpg|150x150px|right|link=]] | 1) [[File:Assassin.jpg|150x150px|right|link=]] | ||
2) <div class="career-entry"><div class="career-portrait">...</div>... | |||
========================= */ | ========================= */ | ||
/* Built-in MediaWiki right-aligned images */ | |||
.nightcats-theme .floatright, | .nightcats-theme .floatright, | ||
.nightcats-theme .tright { | .nightcats-theme .tright, | ||
clear: right; | .nightcats-theme .thumb.tright, | ||
margin: 28px 0 12px 16px; | .nightcats-theme .thumb.floatright { | ||
float: right !important; | |||
clear: right !important; | |||
display: block !important; | |||
margin: 28px 0 12px 16px !important; | |||
} | } | ||
/* Remove bulky thumb frame for Nightcats career images */ | |||
.nightcats-theme .floatright .thumbinner, | .nightcats-theme .floatright .thumbinner, | ||
.nightcats-theme .tright .thumbinner { | .nightcats-theme .tright .thumbinner, | ||
.nightcats-theme .thumb.tright .thumbinner, | |||
.nightcats-theme .thumb.floatright .thumbinner { | |||
padding: 0 !important; | padding: 0 !important; | ||
border: 0 !important; | border: 0 !important; | ||
| Line 531: | Line 540: | ||
} | } | ||
/* Gold border on right-aligned career images */ | |||
.nightcats-theme .floatright img, | .nightcats-theme .floatright img, | ||
.nightcats-theme .tright img, | .nightcats-theme .tright img, | ||
.nightcats-theme .thumb.tright img, | |||
.nightcats-theme .thumb.floatright img, | |||
.nightcats-theme .floatright .mw-file-element, | .nightcats-theme .floatright .mw-file-element, | ||
.nightcats-theme .tright .mw-file-element { | .nightcats-theme .tright .mw-file-element, | ||
display: block; | .nightcats-theme .thumb.tright .mw-file-element, | ||
border: 1px solid #d7ad47; | .nightcats-theme .thumb.floatright .mw-file-element { | ||
background: #000; | display: block !important; | ||
box-sizing: border-box | float: none !important; | ||
border: 1px solid #d7ad47 !important; | |||
background: #000 !important; | |||
box-sizing: border-box !important; | |||
margin: 0 !important; | margin: 0 !important; | ||
padding: 0 !important; | padding: 0 !important; | ||
box-shadow: none !important; | box-shadow: none !important; | ||
} | } | ||
/* | /* 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: 150px; | |||
height: 150px; | |||
margin: 28px 0 12px 16px; | |||
border: 1px solid #d7ad47; | |||
background: #000; | |||
overflow: hidden; | |||
box-sizing: border-box; | |||
padding: 0; | |||
} | } | ||
.career-portrait img, | |||
. | .career-portrait .mw-file-element { | ||
. | display: block; | ||
width: 100%; | |||
height: 100%; | |||
object-fit: cover; | |||
object-position: center center; | |||
margin: 0; | |||
padding: 0; | |||
border: 0; | |||
box-shadow: none; | |||
background: #000; | |||
} | } | ||
.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, | ||
.mw-editsection-like, | .mw-editsection-like, | ||
.mw-editsection-bracket, | .mw-editsection-bracket, | ||
.mw-editsection-divider, | .mw-editsection-divider, | ||
.mw-parser-output .mw-editsection, | |||
.mw-parser-output .mw-editsection-like, | |||
.vector-body .mw-editsection, | .vector-body .mw-editsection, | ||
.vector-body .mw-editsection-like, | .vector-body .mw-editsection-like, | ||
h1 .mw-editsection, | h1 .mw-editsection, | ||
h2 .mw-editsection, | h2 .mw-editsection, | ||
| Line 724: | Line 633: | ||
h5 .mw-editsection-like, | h5 .mw-editsection-like, | ||
h6 .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) { | @media screen and (max-width: 720px) { | ||
.nightcats-frame.right, | |||
.nightcats-theme .floatright, | |||
.nightcats-theme .tright, | |||
.nightcats-theme .thumb.tright, | |||
.nightcats-theme .thumb.floatright, | |||
.career-portrait { | |||
float: none !important; | |||
clear: both !important; | |||
display: block !important; | |||
margin: 12px auto !important; | |||
margin: | text-align: center; | ||
} | |||
.nightcats-frame.right img, | |||
.nightcats-theme .floatright img, | |||
.nightcats-theme .tright img, | |||
.nightcats-theme .thumb.tright img, | |||
.nightcats-theme .thumb.floatright img, | |||
.nightcats-theme .floatright .mw-file-element, | |||
.nightcats-theme .tright .mw-file-element, | |||
.career-portrait img, | |||
.career-portrait .mw-file-element { | |||
margin: 0 auto !important; | |||
} | |||
.nightcats-theme { | |||
padding: 16px 18px; | |||
} | |||
} | } | ||
Revision as of 19:09, 25 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
Clean 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 / THUMBS
========================= */
.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;
}
/* Generic thumb treatment */
.thumbinner {
background: #1d1612;
border: 1px solid #5c4630;
color: #e7dcc5;
box-sizing: border-box;
}
.thumbimage {
display: block;
max-width: 100%;
height: auto;
}
/* =========================
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;
}
/* Large pulp frame for bigger art */
.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;
}
/* Mild thumb treatment inside Nightcats pages */
.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;
}
.nightcats-theme .thumbcaption,
.nightcats-theme .gallerytext {
color: #d7c39a;
font-size: 0.85em;
line-height: 1.3;
margin-top: 4px;
}
/* =========================
NIGHTCATS CAREERS
Supports BOTH patterns:
1) [[File:Assassin.jpg|150x150px|right|link=]]
2) <div class="career-entry"><div class="career-portrait">...</div>...
========================= */
/* Built-in MediaWiki right-aligned images */
.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;
}
/* Remove bulky thumb frame for Nightcats career images */
.nightcats-theme .floatright .thumbinner,
.nightcats-theme .tright .thumbinner,
.nightcats-theme .thumb.tright .thumbinner,
.nightcats-theme .thumb.floatright .thumbinner {
padding: 0 !important;
border: 0 !important;
background: transparent !important;
box-shadow: none !important;
}
/* Gold border on right-aligned career images */
.nightcats-theme .floatright img,
.nightcats-theme .tright img,
.nightcats-theme .thumb.tright img,
.nightcats-theme .thumb.floatright img,
.nightcats-theme .floatright .mw-file-element,
.nightcats-theme .tright .mw-file-element,
.nightcats-theme .thumb.tright .mw-file-element,
.nightcats-theme .thumb.floatright .mw-file-element {
display: block !important;
float: none !important;
border: 1px solid #d7ad47 !important;
background: #000 !important;
box-sizing: border-box !important;
margin: 0 !important;
padding: 0 !important;
box-shadow: none !important;
}
/* 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: 150px;
height: 150px;
margin: 28px 0 12px 16px;
border: 1px solid #d7ad47;
background: #000;
overflow: hidden;
box-sizing: border-box;
padding: 0;
}
.career-portrait img,
.career-portrait .mw-file-element {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
object-position: center center;
margin: 0;
padding: 0;
border: 0;
box-shadow: none;
background: #000;
}
.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,
.nightcats-theme .floatright,
.nightcats-theme .tright,
.nightcats-theme .thumb.tright,
.nightcats-theme .thumb.floatright,
.career-portrait {
float: none !important;
clear: both !important;
display: block !important;
margin: 12px auto !important;
text-align: center;
}
.nightcats-frame.right img,
.nightcats-theme .floatright img,
.nightcats-theme .tright img,
.nightcats-theme .thumb.tright img,
.nightcats-theme .thumb.floatright img,
.nightcats-theme .floatright .mw-file-element,
.nightcats-theme .tright .mw-file-element,
.career-portrait img,
.career-portrait .mw-file-element {
margin: 0 auto !important;
}
.nightcats-theme {
padding: 16px 18px;
}
}