MediaWiki:Common.css: Difference between revisions
From Fable Wiki
No edit summary |
No edit summary |
||
| (18 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* | /* ========================================================= | ||
FABLE.WIKI — MediaWiki:Common.css | |||
Timeless skin restyle | |||
Dark enchanted / gold fantasy palette inspired by Fable | |||
========================================================= */ | |||
/* | /* ========================= | ||
PALETTE | |||
========================= */ | |||
:root { | |||
--fable-bg: #0d1310; | |||
--fable-bg-2: #121a15; | |||
--fable-panel: #18221c; | |||
--fable-panel-2: #223027; | |||
--fable-panel-3: #2b3a31; | |||
--fable-border: #4b5c50; | |||
--fable-border-soft: #39483f; | |||
--fable-text: #e7dfca; | |||
--fable-text-soft: #b9b29c; | |||
--fable-heading: #ddc27a; | |||
--fable-link: #d7b56c; | |||
--fable-link-hover: #f0d48e; | |||
--fable-gold: #c6a258; | |||
--fable-green: #5b7861; | |||
--fable-red: #8d4f47; | |||
--fable-shadow: rgba(0, 0, 0, 0.35); | |||
--fable-glow: rgba(214, 181, 108, 0.16); | |||
} | |||
/* ========================= | |||
GLOBAL | |||
========================= */ | |||
html, | |||
body { | |||
background: | |||
radial-gradient(circle at top, rgba(91,120,97,0.10), transparent 30%), | |||
linear-gradient(180deg, var(--fable-bg) 0%, var(--fable-bg-2) 100%) !important; | |||
color: var(--fable-text) !important; | |||
font-family: Georgia, "Times New Roman", serif; | |||
} | |||
body { | |||
line-height: 1.65; | |||
} | |||
/* Remove default light wrappers */ | |||
html, | html, | ||
body, | body, | ||
| Line 17: | Line 60: | ||
#bodyContent, | #bodyContent, | ||
#mw-content-text { | #mw-content-text { | ||
background: transparent !important; | background-color: transparent !important; | ||
color: var(--fable-text) !important; | color: var(--fable-text) !important; | ||
} | } | ||
/* | /* ========================= | ||
MAIN CONTENT SURFACE | |||
========================= */ | |||
#mw-content-container, | #mw-content-container, | ||
.mw-body, | .mw-body, | ||
#content, | #content, | ||
.main-column { | .main-column { | ||
background: linear-gradient(180deg, rgba( | background: linear-gradient(180deg, rgba(28,38,32,0.97), rgba(20,28,24,0.97)) !important; | ||
border: 1px solid var(--fable-border) !important; | |||
border-radius: 10px; | |||
box-shadow: 0 10px 28px var(--fable-shadow); | |||
color: var(--fable-text) !important; | |||
} | |||
#firstHeading { | |||
color: var(--fable-heading) !important; | |||
font-weight: 700; | |||
letter-spacing: 0.3px; | |||
text-shadow: 0 0 10px var(--fable-glow); | |||
} | |||
/* ========================= | |||
HEADER / TOP BAR | |||
========================= */ | |||
#mw-header-container, | |||
#site-navigation, | |||
#mw-related-navigation { | |||
background: linear-gradient(180deg, #16211b 0%, #101712 100%) !important; | |||
border-color: var(--fable-border-soft) !important; | |||
} | |||
#p-logo-text a, | |||
.mw-wiki-logo + span { | |||
color: var(--fable-heading) !important; | |||
text-shadow: 0 0 10px var(--fable-glow); | |||
} | |||
/* Search */ | |||
#searchInput, | |||
.mw-searchInput, | |||
input[type="search"], | |||
input[type="text"], | |||
input[type="password"], | |||
textarea, | |||
select { | |||
background: #0d1511 !important; | |||
color: var(--fable-text) !important; | |||
border: 1px solid var(--fable-border) !important; | |||
border-radius: 6px; | |||
box-shadow: inset 0 1px 4px rgba(0,0,0,0.28); | |||
} | |||
#searchInput:focus, | |||
.mw-searchInput:focus, | |||
input[type="search"]:focus, | |||
input[type="text"]:focus, | |||
input[type="password"]:focus, | |||
textarea:focus, | |||
select:focus { | |||
border-color: var(--fable-gold) !important; | |||
outline: none; | |||
box-shadow: 0 0 0 2px rgba(198,162,88,0.15); | |||
} | |||
/* ========================= | |||
SIDEBARS / CHUNKS | |||
========================= */ | |||
#mw-site-navigation .sidebar-chunk, | |||
#mw-related-navigation .sidebar-chunk { | |||
background: linear-gradient(180deg, rgba(31,43,36,0.95), rgba(22,31,26,0.95)) !important; | |||
border: 1px solid var(--fable-border) !important; | |||
border-radius: 8px; | |||
box-shadow: inset 0 1px 0 rgba(255,255,255,0.03); | |||
color: var(--fable-text) !important; | |||
} | |||
#mw-site-navigation .sidebar-chunk *, | |||
#mw-related-navigation .sidebar-chunk * { | |||
color: var(--fable-text) !important; | |||
} | |||
#mw-site-navigation .sidebar-chunk h2, | |||
#mw-related-navigation .sidebar-chunk h2 { | |||
color: var(--fable-heading) !important; | |||
border-bottom: 1px solid var(--fable-border-soft); | |||
padding-bottom: 0.2em; | |||
} | |||
#mw-site-navigation a, | |||
#mw-related-navigation a, | |||
.sidebar-chunk a, | |||
.portlet a { | |||
color: var(--fable-text) !important; | |||
text-decoration: none; | |||
} | |||
#mw-site-navigation a:hover, | |||
#mw-related-navigation a:hover, | |||
.sidebar-chunk a:hover, | |||
.portlet a:hover { | |||
color: var(--fable-link-hover) !important; | |||
text-shadow: 0 0 8px var(--fable-glow); | |||
} | |||
/* ========================= | |||
LINKS | |||
========================= */ | |||
a, | |||
.mw-parser-output a, | |||
.mw-parser-output a.extiw, | |||
.mw-parser-output a.external { | |||
color: var(--fable-link) !important; | |||
transition: color 0.15s ease, text-shadow 0.15s ease; | |||
} | |||
a:hover, | |||
.mw-parser-output a:hover, | |||
.mw-parser-output a.extiw:hover, | |||
.mw-parser-output a.external:hover { | |||
color: var(--fable-link-hover) !important; | |||
text-shadow: 0 0 8px var(--fable-glow); | |||
} | |||
a:visited { | |||
color: #b99961 !important; | |||
} | |||
/* ========================= | |||
TEXT / HEADINGS | |||
========================= */ | |||
p, | |||
li, | |||
dd, | |||
dt, | |||
td, | |||
th, | |||
caption, | |||
span, | |||
div { | |||
color: inherit; | |||
} | |||
small, | |||
#siteSub, | |||
#contentSub, | |||
.mw-redirectedfrom, | |||
.printfooter, | |||
.mw-editsection { | |||
color: var(--fable-text-soft) !important; | |||
} | |||
h1, h2, h3, h4, h5, h6 { | |||
color: var(--fable-heading) !important; | |||
border-color: var(--fable-border-soft) !important; | |||
font-family: Georgia, "Times New Roman", serif; | |||
} | |||
/* ========================= | |||
TABS / ACTIONS | |||
========================= */ | |||
#p-views ul li a, | |||
#p-cactions ul li a { | |||
background: transparent !important; | |||
color: var(--fable-text-soft) !important; | |||
border-radius: 6px 6px 0 0; | |||
} | |||
#p-views ul li.selected a, | |||
#p-cactions ul li.selected a { | |||
background: rgba(198,162,88,0.12) !important; | |||
color: var(--fable-link) !important; | |||
border: 1px solid var(--fable-border) !important; | |||
border-bottom-color: transparent !important; | |||
} | |||
/* ========================= | |||
TABLES / TOC / BOXES | |||
========================= */ | |||
.wikitable { | |||
background: rgba(22,31,26,0.96) !important; | |||
color: var(--fable-text) !important; | |||
border: 1px solid var(--fable-border) !important; | |||
border-collapse: collapse; | |||
} | } | ||
.wikitable > tr > th, | |||
. | .wikitable > * > tr > th { | ||
. | background: linear-gradient(180deg, #415345 0%, #2f3d34 100%) !important; | ||
color: #f2e2b5 !important; | |||
# | border: 1px solid var(--fable-border) !important; | ||
# | } | ||
.wikitable > tr > td, | |||
.wikitable > * > tr > td { | |||
background: rgba(28,38,32,0.95) !important; | |||
border: 1px solid var(--fable-border-soft) !important; | |||
background: rgba(38, | |||
color: var(--fable-text) !important; | color: var(--fable-text) !important; | ||
} | } | ||
.wikitable tr:nth-child(even) td { | |||
background: rgba(35,46,39,0.95) !important; | |||
} | |||
#toc, | |||
background: rgba( | .toc, | ||
.infobox, | |||
.mw-message-box, | |||
.catlinks, | |||
.thumbinner { | |||
background: linear-gradient(180deg, rgba(35,46,39,0.96), rgba(24,32,27,0.96)) !important; | |||
border: 1px solid var(--fable-border) !important; | border: 1px solid var(--fable-border) !important; | ||
border-radius: 8px; | |||
box-shadow: 0 8px 20px rgba(0,0,0,0.18); | |||
color: var(--fable-text) !important; | color: var(--fable-text) !important; | ||
} | } | ||
/* | #toc .toctitle, | ||
.toc .toctitle, | |||
# | .infobox th { | ||
# | color: var(--fable-heading) !important; | ||
} | |||
.thumbcaption { | |||
background: linear-gradient(180deg, # | color: var(--fable-text-soft) !important; | ||
} | |||
/* ========================= | |||
FORMS / BUTTONS | |||
========================= */ | |||
button, | |||
input[type="submit"], | |||
input[type="button"], | |||
.mw-ui-button { | |||
background: linear-gradient(180deg, #546c59 0%, #39493f 100%) !important; | |||
color: #f5ecd7 !important; | |||
border: 1px solid #6e8a73 !important; | |||
border-radius: 6px; | |||
box-shadow: 0 2px 8px rgba(0,0,0,0.22); | |||
} | |||
button:hover, | |||
input[type="submit"]:hover, | |||
input[type="button"]:hover, | |||
.mw-ui-button:hover { | |||
background: linear-gradient(180deg, #668168 0%, #47584c 100%) !important; | |||
border-color: var(--fable-link) !important; | |||
color: #fff8e2 !important; | |||
} | } | ||
/* | /* ========================= | ||
CODE / EDIT AREA | |||
========================= */ | |||
pre, | pre, | ||
code, | code, | ||
tt, | |||
.mw-code, | .mw-code, | ||
textarea, | textarea, | ||
| Line 75: | Line 326: | ||
.wikiEditor-ui, | .wikiEditor-ui, | ||
.editOptions { | .editOptions { | ||
background: # | background: #0d1511 !important; | ||
color: # | color: #ddd3b7 !important; | ||
border-color: var(--fable-border) !important; | border: 1px solid var(--fable-border-soft) !important; | ||
border-radius: 6px; | |||
} | |||
pre, | |||
code, | |||
tt, | |||
.mw-code { | |||
padding: 0.15em 0.35em; | |||
} | |||
/* ========================= | |||
WARNINGS / NOTICES | |||
========================= */ | |||
.error, | |||
.mw-warning, | |||
.warningbox { | |||
color: #f1d7d1 !important; | |||
background: rgba(141,79,71,0.18) !important; | |||
border: 1px solid var(--fable-red) !important; | |||
border-radius: 6px; | |||
padding: 0.5em 0.75em; | |||
} | |||
.successbox { | |||
background: rgba(91,120,97,0.18) !important; | |||
border: 1px solid #668168 !important; | |||
color: #edf5e6 !important; | |||
border-radius: 6px; | |||
padding: 0.5em 0.75em; | |||
} | } | ||
/* | /* ========================= | ||
REMOVE RANDOM WHITE BLOCKS | |||
========================= */ | |||
table, | table, | ||
tbody, | tbody, | ||
| Line 86: | Line 368: | ||
td, | td, | ||
th, | th, | ||
# | div, | ||
section, | |||
article { | |||
. | border-color: var(--fable-border-soft); | ||
} | |||
background-color: | |||
div[style*="background:#fff"], | |||
div[style*="background: #fff"], | |||
div[style*="background:white"], | |||
div[style*="background: white"], | |||
span[style*="background:#fff"], | |||
span[style*="background: #fff"], | |||
span[style*="background:white"], | |||
span[style*="background: white"] { | |||
background: rgba(35,46,39,0.95) !important; | |||
color: var(--fable-text) !important; | |||
border-color: var(--fable-border) !important; | |||
} | |||
/* ========================= | |||
FOOTER | |||
========================= */ | |||
#footer, | |||
#mw-footer-container { | |||
background: linear-gradient(180deg, #111813 0%, #0b100d 100%) !important; | |||
color: var(--fable-text-soft) !important; | |||
border-top: 1px solid var(--fable-border-soft) !important; | |||
} | |||
#footer a, | |||
#mw-footer-container a { | |||
color: var(--fable-link) !important; | |||
} | |||
/* ========================= | |||
SCROLLBAR | |||
========================= */ | |||
::-webkit-scrollbar { | |||
width: 12px; | |||
height: 12px; | |||
} | } | ||
::-webkit-scrollbar-track { | |||
background: #111813; | |||
background: | |||
} | } | ||
::-webkit-scrollbar-thumb { | |||
background: #46584c; | |||
# | border: 2px solid #111813; | ||
# | border-radius: 999px; | ||
} | } | ||
::-webkit-scrollbar-thumb:hover { | |||
background: #607465; | |||
} | } | ||
/* | /* ========================= | ||
SELECTION | |||
========================= */ | |||
::selection { | ::selection { | ||
background: rgba( | background: rgba(198,162,88,0.24); | ||
color: # | color: #fff8e5; | ||
} | |||
/* ========================= | |||
MOBILE | |||
========================= */ | |||
@media screen and (max-width: 720px) { | |||
#mw-content-container, | |||
.mw-body, | |||
#content, | |||
.main-column { | |||
border-radius: 0; | |||
} | |||
#firstHeading { | |||
font-size: 1.8rem; | |||
} | |||
} | |||
#mw-wrapper { | |||
background: transparent !important; | |||
background-color: transparent !important; | |||
} | |||
/* If the parser output itself is still white */ | |||
.mw-parser-output > * { | |||
color: inherit; | |||
} | |||
/* ===== Fable.wiki hard background reset ===== */ | |||
/* Browser/page canvas */ | |||
html { | |||
background: #0d1310 !important; | |||
background-color: #0d1310 !important; | |||
background-image: none !important; | |||
} | |||
/* Whole page */ | |||
body, | |||
body.skin-timeless, | |||
body.mediawiki { | |||
background: #0d1310 !important; | |||
background-color: #0d1310 !important; | |||
background-image: none !important; | |||
color: #e7dfca !important; | |||
} | |||
/* Every major Timeless wrapper */ | |||
#mw-wrapper, | |||
#mw-page-base, | |||
#mw-head-base, | |||
#mw-navigation, | |||
#mw-header-container, | |||
#mw-contentblock, | |||
#mw-content-container, | |||
#content-wrapper, | |||
#content, | |||
.mw-body, | |||
.main-column, | |||
#bodyContent, | |||
#mw-content-text, | |||
.mw-parser-output { | |||
background: transparent !important; | |||
background-color: transparent !important; | |||
background-image: none !important; | |||
} | |||
/* Repaint the article area manually */ | |||
#mw-contentblock, | |||
#mw-content-container, | |||
#content, | |||
.mw-body, | |||
.main-column { | |||
background: linear-gradient(180deg, #1a241e 0%, #121915 100%) !important; | |||
background-color: #18221c !important; | |||
border: 1px solid #4b5c50 !important; | |||
border-radius: 10px; | |||
box-shadow: 0 10px 28px rgba(0,0,0,0.35); | |||
} | |||
/* Side areas */ | |||
#mw-site-navigation, | |||
#mw-related-navigation { | |||
background: #101712 !important; | |||
background-color: #101712 !important; | |||
background-image: none !important; | |||
} | |||
.dropdown { | |||
background: #1c1c1c; !important | |||
} | |||
#mw-content { | |||
background: #111; !important | |||
border: solid #111; !important | |||
} | } | ||
Latest revision as of 04:42, 3 April 2026
/* =========================================================
FABLE.WIKI — MediaWiki:Common.css
Timeless skin restyle
Dark enchanted / gold fantasy palette inspired by Fable
========================================================= */
/* =========================
PALETTE
========================= */
:root {
--fable-bg: #0d1310;
--fable-bg-2: #121a15;
--fable-panel: #18221c;
--fable-panel-2: #223027;
--fable-panel-3: #2b3a31;
--fable-border: #4b5c50;
--fable-border-soft: #39483f;
--fable-text: #e7dfca;
--fable-text-soft: #b9b29c;
--fable-heading: #ddc27a;
--fable-link: #d7b56c;
--fable-link-hover: #f0d48e;
--fable-gold: #c6a258;
--fable-green: #5b7861;
--fable-red: #8d4f47;
--fable-shadow: rgba(0, 0, 0, 0.35);
--fable-glow: rgba(214, 181, 108, 0.16);
}
/* =========================
GLOBAL
========================= */
html,
body {
background:
radial-gradient(circle at top, rgba(91,120,97,0.10), transparent 30%),
linear-gradient(180deg, var(--fable-bg) 0%, var(--fable-bg-2) 100%) !important;
color: var(--fable-text) !important;
font-family: Georgia, "Times New Roman", serif;
}
body {
line-height: 1.65;
}
/* Remove default light wrappers */
html,
body,
#mw-page-base,
#mw-head-base,
#mw-wrapper,
#content-wrapper,
#main-content,
#mw-content-block,
#mw-content-container,
.mw-body,
#content,
.main-column,
#column-content,
#bodyContent,
#mw-content-text {
background-color: transparent !important;
color: var(--fable-text) !important;
}
/* =========================
MAIN CONTENT SURFACE
========================= */
#mw-content-container,
.mw-body,
#content,
.main-column {
background: linear-gradient(180deg, rgba(28,38,32,0.97), rgba(20,28,24,0.97)) !important;
border: 1px solid var(--fable-border) !important;
border-radius: 10px;
box-shadow: 0 10px 28px var(--fable-shadow);
color: var(--fable-text) !important;
}
#firstHeading {
color: var(--fable-heading) !important;
font-weight: 700;
letter-spacing: 0.3px;
text-shadow: 0 0 10px var(--fable-glow);
}
/* =========================
HEADER / TOP BAR
========================= */
#mw-header-container,
#site-navigation,
#mw-related-navigation {
background: linear-gradient(180deg, #16211b 0%, #101712 100%) !important;
border-color: var(--fable-border-soft) !important;
}
#p-logo-text a,
.mw-wiki-logo + span {
color: var(--fable-heading) !important;
text-shadow: 0 0 10px var(--fable-glow);
}
/* Search */
#searchInput,
.mw-searchInput,
input[type="search"],
input[type="text"],
input[type="password"],
textarea,
select {
background: #0d1511 !important;
color: var(--fable-text) !important;
border: 1px solid var(--fable-border) !important;
border-radius: 6px;
box-shadow: inset 0 1px 4px rgba(0,0,0,0.28);
}
#searchInput:focus,
.mw-searchInput:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
border-color: var(--fable-gold) !important;
outline: none;
box-shadow: 0 0 0 2px rgba(198,162,88,0.15);
}
/* =========================
SIDEBARS / CHUNKS
========================= */
#mw-site-navigation .sidebar-chunk,
#mw-related-navigation .sidebar-chunk {
background: linear-gradient(180deg, rgba(31,43,36,0.95), rgba(22,31,26,0.95)) !important;
border: 1px solid var(--fable-border) !important;
border-radius: 8px;
box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
color: var(--fable-text) !important;
}
#mw-site-navigation .sidebar-chunk *,
#mw-related-navigation .sidebar-chunk * {
color: var(--fable-text) !important;
}
#mw-site-navigation .sidebar-chunk h2,
#mw-related-navigation .sidebar-chunk h2 {
color: var(--fable-heading) !important;
border-bottom: 1px solid var(--fable-border-soft);
padding-bottom: 0.2em;
}
#mw-site-navigation a,
#mw-related-navigation a,
.sidebar-chunk a,
.portlet a {
color: var(--fable-text) !important;
text-decoration: none;
}
#mw-site-navigation a:hover,
#mw-related-navigation a:hover,
.sidebar-chunk a:hover,
.portlet a:hover {
color: var(--fable-link-hover) !important;
text-shadow: 0 0 8px var(--fable-glow);
}
/* =========================
LINKS
========================= */
a,
.mw-parser-output a,
.mw-parser-output a.extiw,
.mw-parser-output a.external {
color: var(--fable-link) !important;
transition: color 0.15s ease, text-shadow 0.15s ease;
}
a:hover,
.mw-parser-output a:hover,
.mw-parser-output a.extiw:hover,
.mw-parser-output a.external:hover {
color: var(--fable-link-hover) !important;
text-shadow: 0 0 8px var(--fable-glow);
}
a:visited {
color: #b99961 !important;
}
/* =========================
TEXT / HEADINGS
========================= */
p,
li,
dd,
dt,
td,
th,
caption,
span,
div {
color: inherit;
}
small,
#siteSub,
#contentSub,
.mw-redirectedfrom,
.printfooter,
.mw-editsection {
color: var(--fable-text-soft) !important;
}
h1, h2, h3, h4, h5, h6 {
color: var(--fable-heading) !important;
border-color: var(--fable-border-soft) !important;
font-family: Georgia, "Times New Roman", serif;
}
/* =========================
TABS / ACTIONS
========================= */
#p-views ul li a,
#p-cactions ul li a {
background: transparent !important;
color: var(--fable-text-soft) !important;
border-radius: 6px 6px 0 0;
}
#p-views ul li.selected a,
#p-cactions ul li.selected a {
background: rgba(198,162,88,0.12) !important;
color: var(--fable-link) !important;
border: 1px solid var(--fable-border) !important;
border-bottom-color: transparent !important;
}
/* =========================
TABLES / TOC / BOXES
========================= */
.wikitable {
background: rgba(22,31,26,0.96) !important;
color: var(--fable-text) !important;
border: 1px solid var(--fable-border) !important;
border-collapse: collapse;
}
.wikitable > tr > th,
.wikitable > * > tr > th {
background: linear-gradient(180deg, #415345 0%, #2f3d34 100%) !important;
color: #f2e2b5 !important;
border: 1px solid var(--fable-border) !important;
}
.wikitable > tr > td,
.wikitable > * > tr > td {
background: rgba(28,38,32,0.95) !important;
border: 1px solid var(--fable-border-soft) !important;
color: var(--fable-text) !important;
}
.wikitable tr:nth-child(even) td {
background: rgba(35,46,39,0.95) !important;
}
#toc,
.toc,
.infobox,
.mw-message-box,
.catlinks,
.thumbinner {
background: linear-gradient(180deg, rgba(35,46,39,0.96), rgba(24,32,27,0.96)) !important;
border: 1px solid var(--fable-border) !important;
border-radius: 8px;
box-shadow: 0 8px 20px rgba(0,0,0,0.18);
color: var(--fable-text) !important;
}
#toc .toctitle,
.toc .toctitle,
.infobox th {
color: var(--fable-heading) !important;
}
.thumbcaption {
color: var(--fable-text-soft) !important;
}
/* =========================
FORMS / BUTTONS
========================= */
button,
input[type="submit"],
input[type="button"],
.mw-ui-button {
background: linear-gradient(180deg, #546c59 0%, #39493f 100%) !important;
color: #f5ecd7 !important;
border: 1px solid #6e8a73 !important;
border-radius: 6px;
box-shadow: 0 2px 8px rgba(0,0,0,0.22);
}
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.mw-ui-button:hover {
background: linear-gradient(180deg, #668168 0%, #47584c 100%) !important;
border-color: var(--fable-link) !important;
color: #fff8e2 !important;
}
/* =========================
CODE / EDIT AREA
========================= */
pre,
code,
tt,
.mw-code,
textarea,
.CodeMirror,
.ace_editor,
.wikieditor-toolbar,
.wikiEditor-ui,
.editOptions {
background: #0d1511 !important;
color: #ddd3b7 !important;
border: 1px solid var(--fable-border-soft) !important;
border-radius: 6px;
}
pre,
code,
tt,
.mw-code {
padding: 0.15em 0.35em;
}
/* =========================
WARNINGS / NOTICES
========================= */
.error,
.mw-warning,
.warningbox {
color: #f1d7d1 !important;
background: rgba(141,79,71,0.18) !important;
border: 1px solid var(--fable-red) !important;
border-radius: 6px;
padding: 0.5em 0.75em;
}
.successbox {
background: rgba(91,120,97,0.18) !important;
border: 1px solid #668168 !important;
color: #edf5e6 !important;
border-radius: 6px;
padding: 0.5em 0.75em;
}
/* =========================
REMOVE RANDOM WHITE BLOCKS
========================= */
table,
tbody,
tr,
td,
th,
div,
section,
article {
border-color: var(--fable-border-soft);
}
div[style*="background:#fff"],
div[style*="background: #fff"],
div[style*="background:white"],
div[style*="background: white"],
span[style*="background:#fff"],
span[style*="background: #fff"],
span[style*="background:white"],
span[style*="background: white"] {
background: rgba(35,46,39,0.95) !important;
color: var(--fable-text) !important;
border-color: var(--fable-border) !important;
}
/* =========================
FOOTER
========================= */
#footer,
#mw-footer-container {
background: linear-gradient(180deg, #111813 0%, #0b100d 100%) !important;
color: var(--fable-text-soft) !important;
border-top: 1px solid var(--fable-border-soft) !important;
}
#footer a,
#mw-footer-container a {
color: var(--fable-link) !important;
}
/* =========================
SCROLLBAR
========================= */
::-webkit-scrollbar {
width: 12px;
height: 12px;
}
::-webkit-scrollbar-track {
background: #111813;
}
::-webkit-scrollbar-thumb {
background: #46584c;
border: 2px solid #111813;
border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
background: #607465;
}
/* =========================
SELECTION
========================= */
::selection {
background: rgba(198,162,88,0.24);
color: #fff8e5;
}
/* =========================
MOBILE
========================= */
@media screen and (max-width: 720px) {
#mw-content-container,
.mw-body,
#content,
.main-column {
border-radius: 0;
}
#firstHeading {
font-size: 1.8rem;
}
}
#mw-wrapper {
background: transparent !important;
background-color: transparent !important;
}
/* If the parser output itself is still white */
.mw-parser-output > * {
color: inherit;
}
/* ===== Fable.wiki hard background reset ===== */
/* Browser/page canvas */
html {
background: #0d1310 !important;
background-color: #0d1310 !important;
background-image: none !important;
}
/* Whole page */
body,
body.skin-timeless,
body.mediawiki {
background: #0d1310 !important;
background-color: #0d1310 !important;
background-image: none !important;
color: #e7dfca !important;
}
/* Every major Timeless wrapper */
#mw-wrapper,
#mw-page-base,
#mw-head-base,
#mw-navigation,
#mw-header-container,
#mw-contentblock,
#mw-content-container,
#content-wrapper,
#content,
.mw-body,
.main-column,
#bodyContent,
#mw-content-text,
.mw-parser-output {
background: transparent !important;
background-color: transparent !important;
background-image: none !important;
}
/* Repaint the article area manually */
#mw-contentblock,
#mw-content-container,
#content,
.mw-body,
.main-column {
background: linear-gradient(180deg, #1a241e 0%, #121915 100%) !important;
background-color: #18221c !important;
border: 1px solid #4b5c50 !important;
border-radius: 10px;
box-shadow: 0 10px 28px rgba(0,0,0,0.35);
}
/* Side areas */
#mw-site-navigation,
#mw-related-navigation {
background: #101712 !important;
background-color: #101712 !important;
background-image: none !important;
}
.dropdown {
background: #1c1c1c; !important
}
#mw-content {
background: #111; !important
border: solid #111; !important
}