MediaWiki:Common.css
MediaWiki interface page
More actions
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/*
* Menhirs Fate Wiki – Functional CSS + Custom Header
* Default Citizen theme colours preserved — no colour overrides
*/
/* ═══════════════════════════════════════════════════════════════════════════
IMAGE SIZING — constrain external images
═══════════════════════════════════════════════════════════════════════════ */
.mw-body-content img:not(.mw-file-element):not([class*="citizen"]):not([class*="oo-ui"]) {
max-width: 350px;
max-height: 450px;
height: auto;
width: auto;
object-fit: cover;
border-radius: 6px;
float: right;
margin: 0 0 1em 1.5em;
}
@media (max-width: 768px) {
.mw-body-content img:not(.mw-file-element):not([class*="citizen"]):not([class*="oo-ui"]) {
float: none;
display: block;
margin: 1em auto !important;
max-width: 100%;
}
}
/* ═══════════════════════════════════════════════════════════════════════════
NATION IMAGE GRID
═══════════════════════════════════════════════════════════════════════════ */
.nation-grid {
display: grid !important;
grid-template-columns: repeat(3, 1fr) !important;
gap: 12px;
margin: 1.5em 0;
max-width: 900px;
clear: both;
}
.nation-grid-item {
position: relative;
overflow: hidden;
border-radius: 8px;
aspect-ratio: 2/3;
background-color: var(--color-surface-2, #1c1c1f);
background-size: cover;
background-position: center top;
transition: transform 0.3s ease;
}
.nation-grid-item:hover {
transform: scale(1.03);
}
.nation-grid-item p {
margin: 0 !important;
padding: 0 !important;
height: 100%;
}
.nation-grid-item a {
display: flex !important;
align-items: flex-end !important;
justify-content: center !important;
width: 100% !important;
height: 100% !important;
text-decoration: none !important;
position: absolute !important;
top: 0 !important;
left: 0 !important;
background: linear-gradient(transparent 40%, rgba(0,0,0,0.85)) !important;
padding: 0 0 15px 0;
color: #fff !important;
text-shadow: none !important;
font-weight: 700 !important;
-webkit-font-smoothing: antialiased !important;
}
.nation-grid-item .nation-label {
color: #fff !important;
font-size: 1.15rem;
font-weight: 700 !important;
font-style: normal !important;
text-align: center;
text-shadow: none !important;
-webkit-font-smoothing: antialiased !important;
}
.nation-grid-item a:hover {
color: #fff !important;
}
.nation-grid-item a:hover .nation-label {
color: #fff !important;
}
/* Dark bar behind text at bottom of each card */
.nation-grid-item a::before {
content: '';
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 46px;
background: rgba(0, 0, 0, 0.7);
border-radius: 0 0 8px 8px;
z-index: -1;
pointer-events: none;
}
@media (max-width: 600px) {
.nation-grid {
grid-template-columns: repeat(2, 1fr) !important;
}
}
/* ─── Nation grid background images ─────────────────────────────────────── */
.nation-avereaux { background-image: url('https://www.menhirsfate.com/wp-content/uploads/2024/11/DSC02283-684x1024.jpg'); }
.nation-wonder { background-image: url('https://www.menhirsfate.com/wp-content/uploads/2024/11/DSC02033-684x1024.jpg'); }
.nation-valdraeth { background-image: url('https://www.menhirsfate.com/wp-content/uploads/2024/11/DSC02067-684x1024.jpg'); }
.nation-portavas { background-image: url('https://www.menhirsfate.com/wp-content/uploads/2024/11/MF_13_IntroRules-684x1024.jpg'); }
.nation-hammerstadt{ background-image: url('https://www.menhirsfate.com/wp-content/uploads/2024/11/MF_11_DamageGameEffects-681x1024.jpg'); }
.nation-urdrevan { background-image: url('https://www.menhirsfate.com/wp-content/uploads/2024/10/DSC03197-684x1024.jpg'); }
.nation-kairos { background-image: url('https://www.menhirsfate.com/wp-content/uploads/2024/10/DSC02402-684x1024.jpg'); }
.nation-syradonia { background-image: url('https://www.menhirsfate.com/wp-content/uploads/2024/10/DSC02552-684x1024.jpg'); }
.nation-morvalis { background-image: url('https://www.menhirsfate.com/wp-content/uploads/2024/10/DSC02441-684x1024.jpg'); }
/* ═══════════════════════════════════════════════════════════════════════════
CUSTOM HEADER
═══════════════════════════════════════════════════════════════════════════ */
#mf-header {
position: relative;
z-index: 200;
width: 100%;
font-family: 'Crimson Text', Georgia, serif;
}
/* ─── Dark top bar with logo ────────────────────────────────────────────── */
#mf-header-top {
background: #111;
display: flex;
align-items: center;
justify-content: center;
padding: 22px 20px;
position: relative;
}
#mf-logo {
height: 55px;
width: auto;
}
#mf-logo-link {
display: inline-flex;
align-items: center;
}
/* ─── Parchment ribbon navigation ───────────────────────────────────────── */
#mf-ribbon {
background: #e8ddc4;
position: relative;
z-index: 200;
margin-left: 3.5rem;
}
#mf-ribbon::after {
content: '';
position: absolute;
right: -20px;
top: 0;
bottom: 0;
width: 20px;
background: #e8ddc4;
clip-path: polygon(0 0, 100% 50%, 0 100%);
}
/* ─── Nav inner: CSS grid ───────────────────────────────────────────────── */
#mf-ribbon-inner {
display: grid;
align-items: center;
padding: 0;
max-width: 1080px;
margin: 0 auto;
/* grid-template-columns set dynamically by JS */
}
/* ─── Nav items ─────────────────────────────────────────────────────────── */
.mf-nav-item {
color: #844725 !important;
text-decoration: none !important;
font-size: 17px;
font-weight: 600;
padding: 0 17px;
line-height: 50px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
white-space: nowrap;
transition: color 0.2s ease, background 0.2s ease;
width: 100%;
box-sizing: border-box;
}
.mf-nav-item:hover {
color: #5c2e12 !important;
background: rgba(0, 0, 0, 0.06);
}
.mf-nav-back {
justify-content: flex-start;
font-style: italic;
font-weight: 400;
font-size: 15px;
opacity: 0.85;
}
.mf-nav-back:hover {
opacity: 1;
}
/* ─── Dropdown menus ────────────────────────────────────────────────────── */
.mf-has-dropdown {
position: relative;
width: 100%;
}
.mf-nav-label {
color: #844725;
font-size: 17px;
font-weight: 600;
padding: 0 17px;
line-height: 50px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: color 0.2s ease, background 0.2s ease;
width: 100%;
box-sizing: border-box;
}
.mf-nav-label:hover {
color: #5c2e12;
background: rgba(0, 0, 0, 0.06);
}
.mf-caret {
font-size: 10px;
margin-left: 5px;
transition: transform 0.2s ease;
}
.mf-dropdown {
display: none;
position: absolute;
top: 100%;
left: 0;
min-width: 220px;
background: #f5efe4;
border: 1px solid #d4c9b0;
border-radius: 4px;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
z-index: 10001;
padding: 6px 0;
}
.mf-dropdown a {
display: block !important;
padding: 9px 20px !important;
color: #844725 !important;
text-decoration: none !important;
font-size: 15px;
font-weight: 400;
transition: background 0.15s ease;
}
.mf-dropdown a:hover {
background: rgba(132, 71, 37, 0.1) !important;
color: #5c2e12 !important;
}
.mf-has-dropdown:hover > .mf-dropdown {
display: block;
}
.mf-has-dropdown:hover .mf-caret {
transform: rotate(180deg);
}
.mf-has-dropdown.mf-dropdown-open > .mf-dropdown {
display: block;
}
.mf-has-dropdown.mf-dropdown-open .mf-caret {
transform: rotate(180deg);
}
/* ─── Inline search (inside ribbon) ─────────────────────────────────────── */
#mf-search-wrap {
position: relative;
display: flex;
align-items: center;
justify-content: flex-end;
padding: 0 12px 0 8px;
}
#mf-search-form {
display: flex;
align-items: center;
}
#mf-search-input {
width: 160px;
padding: 5px 10px;
border: 1px solid #c4b79a;
border-right: none;
border-radius: 4px 0 0 4px;
font-family: 'Crimson Text', Georgia, serif;
font-size: 14px;
color: #3a2a1a;
background: #f5efe4;
outline: none;
transition: width 0.3s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
#mf-search-input::placeholder {
color: #9a8b72;
font-style: italic;
}
#mf-search-input:focus {
width: 220px;
border-color: #844725;
box-shadow: 0 0 0 2px rgba(132, 71, 37, 0.15);
}
#mf-search-btn {
padding: 5px 10px;
background: #844725;
border: 1px solid #844725;
border-radius: 0 4px 4px 0;
color: #f5efe4;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: background 0.2s ease;
line-height: 1;
}
#mf-search-btn:hover {
background: #5c2e12;
}
/* Icon-only search button (hidden on wide screens) */
#mf-search-icon {
display: none;
background: none;
border: none;
color: #844725;
cursor: pointer;
padding: 6px;
line-height: 1;
transition: color 0.2s ease;
}
#mf-search-icon:hover {
color: #5c2e12;
}
/* Suggestions dropdown */
#mf-search-suggestions {
display: none;
position: absolute;
top: 100%;
right: 12px;
width: 260px;
background: #f5efe4;
border: 1px solid #c4b79a;
border-top: none;
border-radius: 0 0 4px 4px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
z-index: 10001;
}
.mf-suggestion {
display: block;
padding: 8px 14px;
color: #844725 !important;
text-decoration: none !important;
font-family: 'Crimson Text', Georgia, serif;
font-size: 14px;
transition: background 0.15s ease;
}
.mf-suggestion:hover {
background: rgba(132, 71, 37, 0.1);
color: #5c2e12 !important;
}
/* ─── Hamburger button (hidden on desktop) ──────────────────────────────── */
#mf-burger {
display: none;
position: absolute;
right: 16px;
top: 50%;
transform: translateY(-50%);
background: none;
border: none;
cursor: pointer;
padding: 6px;
z-index: 300;
}
#mf-burger span {
display: block;
width: 26px;
height: 3px;
background: #ddd;
margin: 5px 0;
border-radius: 2px;
transition: transform 0.3s ease, opacity 0.3s ease;
}
#mf-burger.mf-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
#mf-burger.mf-open span:nth-child(2) { opacity: 0; }
#mf-burger.mf-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
/* ─── Keep Citizen link colours inside wiki content ─────────────────────── */
/* -- temporarily disabling
.mw-body-content a:not(.new) {
color: var(--color-link) !important;
}
.mw-body-content a:hover {
color: var(--color-link-active) !important;
}
*/
/* ─── Citizen site header must appear above custom ribbon ───────────────── */
.citizen-header {
z-index: 10000;
}
/* ═══════════════════════════════════════════════════════════════════════════
DARK MODE — adapts header to Citizen night theme
═══════════════════════════════════════════════════════════════════════════ */
.skin-theme-clientpref-night #mf-ribbon,
.skin-theme-clientpref-night #mf-ribbon::after {
background: var(--color-surface-1);
}
.skin-theme-clientpref-night .mf-nav-item,
.skin-theme-clientpref-night .mf-nav-label {
color: var(--color-base) !important;
}
.skin-theme-clientpref-night .mf-nav-item:hover,
.skin-theme-clientpref-night .mf-nav-label:hover {
color: #fff !important;
background: rgba(255, 255, 255, 0.08);
}
.skin-theme-clientpref-night .mf-nav-back {
opacity: 0.7;
}
.skin-theme-clientpref-night .mf-caret {
color: var(--color-base);
}
.skin-theme-clientpref-night .mf-dropdown {
background: var(--color-surface-2);
border-color: var(--color-surface-3, rgba(255,255,255,0.1));
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}
.skin-theme-clientpref-night .mf-dropdown a {
color: var(--color-base) !important;
}
.skin-theme-clientpref-night .mf-dropdown a:hover {
background: rgba(255, 255, 255, 0.08) !important;
color: #fff !important;
}
/* Search input */
.skin-theme-clientpref-night #mf-search-input {
background: var(--color-surface-0);
color: var(--color-base);
border-color: var(--color-surface-3, rgba(255,255,255,0.15));
}
.skin-theme-clientpref-night #mf-search-input::placeholder {
color: rgba(255, 255, 255, 0.4);
}
.skin-theme-clientpref-night #mf-search-input:focus {
border-color: var(--color-link);
box-shadow: 0 0 0 2px rgba(100, 140, 255, 0.2);
}
.skin-theme-clientpref-night #mf-search-btn {
background: var(--color-surface-3, #3a3a4a);
border-color: var(--color-surface-3, #3a3a4a);
color: var(--color-base);
}
.skin-theme-clientpref-night #mf-search-btn:hover {
background: rgba(255, 255, 255, 0.15);
}
.skin-theme-clientpref-night #mf-search-icon {
color: var(--color-base);
}
.skin-theme-clientpref-night #mf-search-icon:hover {
color: #fff;
}
/* Suggestions dropdown */
.skin-theme-clientpref-night #mf-search-suggestions {
background: var(--color-surface-2);
border-color: var(--color-surface-3, rgba(255,255,255,0.1));
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.skin-theme-clientpref-night .mf-suggestion {
color: var(--color-base) !important;
}
.skin-theme-clientpref-night .mf-suggestion:hover {
background: rgba(255, 255, 255, 0.08);
color: #fff !important;
}
/* Hamburger lines */
.skin-theme-clientpref-night #mf-burger span {
background: var(--color-base);
}
/* Expanded search overlay on narrow screens */
.skin-theme-clientpref-night #mf-search-wrap.mf-search-expanded {
background: var(--color-surface-1);
}
/* Mobile menu separator */
.skin-theme-clientpref-night .mf-nav-back {
border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}
.skin-theme-clientpref-night #mf-search-wrap {
border-top-color: rgba(255, 255, 255, 0.1);
}
/* Also support @media prefers-color-scheme for "auto" mode */
@media (prefers-color-scheme: dark) {
.skin-theme-clientpref-os #mf-ribbon,
.skin-theme-clientpref-os #mf-ribbon::after {
background: var(--color-surface-1);
}
.skin-theme-clientpref-os .mf-nav-item,
.skin-theme-clientpref-os .mf-nav-label {
color: var(--color-base) !important;
}
.skin-theme-clientpref-os .mf-nav-item:hover,
.skin-theme-clientpref-os .mf-nav-label:hover {
color: #fff !important;
background: rgba(255, 255, 255, 0.08);
}
.skin-theme-clientpref-os .mf-nav-back {
opacity: 0.7;
}
.skin-theme-clientpref-os .mf-dropdown {
background: var(--color-surface-2);
border-color: var(--color-surface-3, rgba(255,255,255,0.1));
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}
.skin-theme-clientpref-os .mf-dropdown a {
color: var(--color-base) !important;
}
.skin-theme-clientpref-os .mf-dropdown a:hover {
background: rgba(255, 255, 255, 0.08) !important;
color: #fff !important;
}
.skin-theme-clientpref-os #mf-search-input {
background: var(--color-surface-0);
color: var(--color-base);
border-color: var(--color-surface-3, rgba(255,255,255,0.15));
}
.skin-theme-clientpref-os #mf-search-input::placeholder {
color: rgba(255, 255, 255, 0.4);
}
.skin-theme-clientpref-os #mf-search-input:focus {
border-color: var(--color-link);
box-shadow: 0 0 0 2px rgba(100, 140, 255, 0.2);
}
.skin-theme-clientpref-os #mf-search-btn {
background: var(--color-surface-3, #3a3a4a);
border-color: var(--color-surface-3, #3a3a4a);
color: var(--color-base);
}
.skin-theme-clientpref-os #mf-search-btn:hover {
background: rgba(255, 255, 255, 0.15);
}
.skin-theme-clientpref-os #mf-search-icon {
color: var(--color-base);
}
.skin-theme-clientpref-os #mf-search-suggestions {
background: var(--color-surface-2);
border-color: var(--color-surface-3, rgba(255,255,255,0.1));
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.skin-theme-clientpref-os .mf-suggestion {
color: var(--color-base) !important;
}
.skin-theme-clientpref-os .mf-suggestion:hover {
background: rgba(255, 255, 255, 0.08);
color: #fff !important;
}
.skin-theme-clientpref-os #mf-burger span {
background: var(--color-base);
}
.skin-theme-clientpref-os #mf-search-wrap.mf-search-expanded {
background: var(--color-surface-1);
}
.skin-theme-clientpref-os .mf-nav-back {
border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}
.skin-theme-clientpref-os #mf-search-wrap {
border-top-color: rgba(255, 255, 255, 0.1);
}
}
/* ═══════════════════════════════════════════════════════════════════════════
RESPONSIVE: narrow screens — search becomes icon only
═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
#mf-search-form {
display: none;
}
#mf-search-icon {
display: flex;
}
#mf-search-suggestions {
display: none !important;
}
/* Expanded state: search overlays the ribbon */
#mf-search-wrap.mf-search-expanded {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
background: #e8ddc4;
z-index: 100;
display: flex;
align-items: center;
justify-content: center;
padding: 0 12px;
}
#mf-search-wrap.mf-search-expanded #mf-search-form {
display: flex;
flex: 1;
max-width: 600px;
}
#mf-search-wrap.mf-search-expanded #mf-search-input {
width: 100%;
flex: 1;
}
#mf-search-wrap.mf-search-expanded #mf-search-icon {
margin-left: 8px;
color: #844725;
}
#mf-search-wrap.mf-search-expanded #mf-search-suggestions {
display: block !important;
position: absolute;
top: 100%;
left: 50%;
transform: translateX(-50%);
width: 600px;
max-width: calc(100% - 24px);
right: auto;
}
#mf-search-wrap.mf-search-expanded #mf-search-suggestions:empty {
display: none !important;
}
}
/* ═══════════════════════════════════════════════════════════════════════════
MOBILE RESPONSIVE
═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 800px) {
#mf-ribbon {
margin-left: 0;
}
#mf-burger {
display: block;
}
#mf-ribbon-inner {
display: none !important;
flex-direction: column;
align-items: stretch;
background: #e8ddc4;
padding: 10px 0;
}
#mf-ribbon-inner.mf-open {
display: flex !important;
}
#mf-ribbon::after {
display: none;
}
.mf-nav-item,
.mf-nav-label {
padding: 0 24px;
line-height: 44px;
width: 100%;
box-sizing: border-box;
justify-content: flex-start;
}
.mf-nav-back {
border-bottom: 1px solid rgba(132, 71, 37, 0.15);
}
.mf-has-dropdown {
width: 100%;
}
.mf-dropdown {
position: static;
box-shadow: none;
border: none;
border-radius: 0;
background: rgba(0, 0, 0, 0.05);
padding: 0;
}
.mf-dropdown a {
padding: 10px 40px !important;
font-size: 14px;
}
.mf-has-dropdown:hover > .mf-dropdown {
display: none;
}
.mf-has-dropdown.mf-dropdown-open > .mf-dropdown {
display: block;
}
/* Show search as full-width input in hamburger menu */
#mf-search-form {
display: flex !important;
flex: 1;
}
#mf-search-input {
width: 100% !important;
flex: 1;
}
#mf-search-icon {
display: none !important;
}
#mf-search-wrap {
padding: 8px 24px;
justify-content: stretch;
line-height: normal;
width: 100%;
box-sizing: border-box;
border-top: 1px solid rgba(132, 71, 37, 0.15);
}
#mf-search-suggestions {
display: block !important;
position: absolute;
left: 24px;
right: 24px;
width: auto;
top: auto;
}
#mf-search-suggestions:empty {
display: none !important;
}
}
/* ═══════════════════════════════════════════════════════════════════════════
REALM COLUMNS (Main Page Nations section)
═══════════════════════════════════════════════════════════════════════════ */
.mf-realms-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1.5em;
margin: 1em 0 2em;
}
@media (max-width: 700px) {
.mf-realms-grid {
grid-template-columns: 1fr;
}
}
.mf-realm-card {
display: flex;
flex-direction: column;
}
.mf-realm-banner {
position: relative;
overflow: hidden;
border-radius: 6px;
line-height: 0;
}
/* Strip MediaWiki image wrapper margins/padding inside banner */
.mf-realm-banner figure,
.mf-realm-banner .mw-file-element,
.mf-realm-banner .floatnone,
.mf-realm-banner .center,
.mf-realm-banner .mw-halign-center {
margin: 0 !important;
padding: 0 !important;
display: block;
line-height: 0;
}
.mf-realm-banner img {
width: 100%;
height: auto;
display: block;
}
/* Title pill centred over the image */
.mf-realm-overlay {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
padding: 0.35em 1.4em 0.45em;
background: rgba(0, 0, 0, 0.58);
border-radius: 5px;
white-space: nowrap;
line-height: normal;
pointer-events: none;
}
.mf-realm-overlay a {
pointer-events: auto;
color: #fff !important;
text-decoration: none !important;
font-family: 'Crimson Text', Georgia, serif;
font-size: 1.35em;
font-weight: 700;
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
letter-spacing: 0.02em;
}
.mf-realm-overlay a:hover {
color: #f0d89a !important;
text-decoration: none !important;
}
.mf-realm-card > ul {
margin: 0.6em 0 0 1.4em;
padding: 0;
line-height: normal;
}
.mf-realm-card > ul li {
margin: 0.3em 0;
}
/* Dark mode */
.skin-theme-clientpref-night .mf-realm-overlay {
background: rgba(0, 0, 0, 0.65);
}
@media (prefers-color-scheme: dark) {
.skin-theme-clientpref-os .mf-realm-overlay {
background: rgba(0, 0, 0, 0.65);
}
/* White background for line-art PNGs on the Bankers Guild Builds page only */
body.page-Bankers_Guild_Builds .mf-realm-banner img {
background: #fff;
}
}
/* Fix: restore legible text on selected image-size buttons (file pages) */
.mw-body-content .mw-thumbnail-link {
color: #fff !important;
}
/* ===== RULES PAGE IMAGE GRID ===== */
.rules-intro-rules { background-image: url('https://www.menhirsfate.com/wp-content/uploads/2024/11/MF_13_IntroRules-684x1024.jpg'); }
.rules-skills-list { background-image: url('https://www.menhirsfate.com/wp-content/uploads/2024/11/MF_1_Skills-684x1024.jpg'); }
.rules-basic-skills { background-image: url('https://www.menhirsfate.com/wp-content/uploads/2024/11/MF_2_BasicSkills-684x1024.jpg'); }
.rules-vigour { background-image: url('https://www.menhirsfate.com/wp-content/uploads/2024/11/MF_5_Vigour-684x1024.jpg'); }
.rules-faith { background-image: url('https://www.menhirsfate.com/wp-content/uploads/2024/11/MF_3_Faith-684x1024.jpg'); }
.rules-magical-skills { background-image: url('https://www.menhirsfate.com/wp-content/uploads/2024/11/MF_4_MagicalSkills-684x1024.jpg'); }
.rules-weaving-skills { background-image: url('https://www.menhirsfate.com/wp-content/uploads/2024/10/DSC02508-684x1024.jpg'); }
.rules-healing { background-image: url('https://www.menhirsfate.com/wp-content/uploads/2024/11/MF_8_Healer-684x1024.jpg'); }
.rules-apothecary { background-image: url('https://www.menhirsfate.com/wp-content/uploads/2024/11/MF_6_Apothecary-684x1024.jpg'); }
.rules-enchanting { background-image: url('https://www.menhirsfate.com/wp-content/uploads/2024/11/MF_7_Enchanting-684x1024.jpg'); }
.rules-combat-rules { background-image: url('https://www.menhirsfate.com/wp-content/uploads/2024/11/MF_9_CombatRules-684x1024.jpg'); }
.rules-weapons-safety { background-image: url('https://www.menhirsfate.com/wp-content/uploads/2024/11/MF_10_WeaponsArmourSafety-684x1024.jpg'); }
.rules-damage-effects { background-image: url('https://www.menhirsfate.com/wp-content/uploads/2024/11/MF_11_DamageGameEffects-681x1024.jpg'); }
.rules-corruption { background-image: url('https://www.menhirsfate.com/wp-content/uploads/2024/11/MF_12_Corruption-666x1024.jpg'); }
.rules-resources { background-image: url('https://www.menhirsfate.com/wp-content/uploads/2024/11/MF_14_Resources-684x1024.jpg'); }
.rules-other-game-rules { background-image: url('https://www.menhirsfate.com/wp-content/uploads/2026/04/MF_15_OtherGameRules.jpg'); }
/* ═══════════════════════════════════════════════════════════════════════════
MOBILE DARK MODE — hamburger menu background fix
═══════════════════════════════════════════════════════════════════════════ */
.skin-theme-clientpref-night #mf-ribbon-inner {
background: var(--color-surface-1) !important;
}
.skin-theme-clientpref-night .mf-dropdown {
background: var(--color-surface-2) !important;
}
@media (prefers-color-scheme: dark) {
.skin-theme-clientpref-os #mf-ribbon-inner {
background: var(--color-surface-1) !important;
}
.skin-theme-clientpref-os .mf-dropdown {
background: var(--color-surface-2) !important;
}
}
/* ═══════════════════════════════════════════════════════════════════════════
SKILL CARD TEMPLATE
═══════════════════════════════════════════════════════════════════════════ */
/* Hide the auto-generated heading visually — keep anchor for TOC scroll navigation */
.mw-heading4:has(+ .skill-card) {
height: 0;
overflow: hidden;
margin: 0;
padding: 0;
border: none;
line-height: 0;
font-size: 0;
}
.skill-card {
max-width: 720px;
margin: 0 0 1.5em;
border: 1px solid #d4c9b0;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.skill-card-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 1em 1.1em;
background: linear-gradient(135deg, #5c2e12, #844725);
color: #f5efe4;
}
.skill-card-name {
font-size: 1.25em;
font-weight: 700;
letter-spacing: 0.02em;
}
.skill-card-level {
background: rgba(255, 255, 255, 0.15);
border: 1px solid rgba(255, 255, 255, 0.25);
border-radius: 4px;
padding: 0.15em 0.7em;
font-size: 0.85em;
font-weight: 600;
white-space: nowrap;
letter-spacing: 0.03em;
margin-left: 0.8em;
}
.skill-card-body {
background: #f0ead8;
padding: 0;
}
.skill-card-body > p:empty,
.skill-card-body > p:has(> br:only-child) {
display: none;
}
.skill-card-stats {
width: 100%;
border-collapse: collapse;
margin: 0;
}
.skill-card-stats th {
text-align: left;
padding: 0.45em 1.1em;
width: 120px;
font-weight: 700;
color: #844725;
background: rgba(132, 71, 37, 0.06);
border-bottom: 1px solid #d4c9b0;
vertical-align: top;
}
.skill-card-stats td {
padding: 0.45em 1.1em;
border-bottom: 1px solid #d4c9b0;
color: #3a2a1a;
vertical-align: top;
}
.skill-card-extension {
padding: 0.55em 1.1em;
color: #5a4a3a;
background: rgba(132, 71, 37, 0.06);
border-bottom: 1px solid #d4c9b0;
font-style: italic;
}
.skill-card-ext-label {
font-weight: 700;
font-style: normal;
color: #844725;
}
.skill-card-effect {
padding: 0.7em 1.1em;
line-height: 1.55;
color: #2a1e14;
}
.skill-card-note {
padding: 0.5em 1.1em 0.7em;
font-style: italic;
color: #7a6a5a;
border-top: 1px dashed #d4c9b0;
}
/* ─── Skill card dark mode ──────────────────────────────────────────────── */
.skin-theme-clientpref-night .skill-card {
border-color: var(--color-surface-3, rgba(255,255,255,0.12));
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.skin-theme-clientpref-night .skill-card-header {
background: linear-gradient(135deg, #1a1520, #2a1e30);
}
.skin-theme-clientpref-night .skill-card-body {
background: var(--color-surface-1, #1c1c1f);
}
.skin-theme-clientpref-night .skill-card-stats th {
color: #c4a882;
background: rgba(200, 170, 130, 0.08);
border-bottom-color: rgba(255, 255, 255, 0.08);
}
.skin-theme-clientpref-night .skill-card-stats td {
color: var(--color-base, #ddd);
border-bottom-color: rgba(255, 255, 255, 0.08);
}
.skin-theme-clientpref-night .skill-card-extension {
color: #b0a090;
background: rgba(200, 170, 130, 0.05);
border-bottom-color: rgba(255, 255, 255, 0.08);
}
.skin-theme-clientpref-night .skill-card-ext-label {
color: #c4a882;
}
.skin-theme-clientpref-night .skill-card-effect {
color: var(--color-base, #ddd);
}
.skin-theme-clientpref-night .skill-card-note {
color: #8a7a6a;
border-top-color: rgba(255, 255, 255, 0.08);
}
/* Auto dark mode */
@media (prefers-color-scheme: dark) {
.skin-theme-clientpref-os .skill-card {
border-color: var(--color-surface-3, rgba(255,255,255,0.12));
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.skin-theme-clientpref-os .skill-card-header {
background: linear-gradient(135deg, #1a1520, #2a1e30);
}
.skin-theme-clientpref-os .skill-card-body {
background: var(--color-surface-1, #1c1c1f);
}
.skin-theme-clientpref-os .skill-card-stats th {
color: #c4a882;
background: rgba(200, 170, 130, 0.08);
border-bottom-color: rgba(255, 255, 255, 0.08);
}
.skin-theme-clientpref-os .skill-card-stats td {
color: var(--color-base, #ddd);
border-bottom-color: rgba(255, 255, 255, 0.08);
}
.skin-theme-clientpref-os .skill-card-extension {
color: #b0a090;
background: rgba(200, 170, 130, 0.05);
border-bottom-color: rgba(255, 255, 255, 0.08);
}
.skin-theme-clientpref-os .skill-card-ext-label {
color: #c4a882;
}
.skin-theme-clientpref-os .skill-card-effect {
color: var(--color-base, #ddd);
}
.skin-theme-clientpref-os .skill-card-note {
color: #8a7a6a;
border-top-color: rgba(255, 255, 255, 0.08);
}
}
/* ── Responsive banner image on Main Page ── */
.mw-halign-center {
max-width: 100%;
}
.mw-halign-center img.mw-file-element {
max-width: 100%;
height: auto;
}
/* ── Reusable responsive-image class ── */
/* Usage: wrap any image in <div class="responsive-img">[[File:Example.jpg|1000px]]</div> */
.responsive-img {
max-width: 100%;
}
.responsive-img img {
max-width: 100%;
height: auto;
display: block;
}
/* ═══════════════════════════════════════════════════════════════════════════
REALM LANDING PAGES — Nation artwork cards
═══════════════════════════════════════════════════════════════════════════ */
/* ─── Background images: Nation artwork (wiki-hosted) ─────────────────── */
.realm-avereaux { background-image: url('/images/e/e5/Nation_01_2-min.png'); }
.realm-wonder { background-image: url('/images/6/65/Nation_02-min.png'); }
.realm-valdraeth { background-image: url('/images/7/7f/Nation_03-min.png'); }
.realm-portavas { background-image: url('/images/c/cf/Nation_04-min.png'); }
.realm-hammerstadt { background-image: url('/images/7/7c/Hammerstadt-min-1448x2048.png'); }
.realm-urdrevan { background-image: url('/images/0/06/Nation-06-min-1448x2048.png'); }
.realm-kairos { background-image: url('/images/5/59/Nation_07-min.png'); }
.realm-syradonia { background-image: url('/images/c/ca/Nation_08-min.png'); }
.realm-morvalis { background-image: url('/images/5/51/Nation_09.png'); }
/* ─── CreatureCard template ─────────────────────────────────────────────── */
.mw-heading4:has(+ .creature-card) {
height: 0;
overflow: hidden;
margin: 0;
padding: 0;
border: none;
line-height: 0;
font-size: 0;
}
.creature-card {
max-width: 720px;
margin: 0 0 1.5em;
border: 1px solid #d4c9b0;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
/* Rank-based header colours */
.creature-rank-default .creature-card-header {
background: linear-gradient(135deg, #5c2e12, #844725);
}
.creature-rank-grunt .creature-card-header {
background: linear-gradient(135deg, #3a3a3a, #555555);
}
.creature-rank-leader .creature-card-header {
background: linear-gradient(135deg, #1a2a4a, #2a4070);
}
.creature-rank-elite .creature-card-header {
background: linear-gradient(135deg, #2a1540, #4a2870);
}
.creature-rank-boss .creature-card-header {
background: linear-gradient(135deg, #4a1515, #7a2020);
}
.creature-rank-divine .creature-card-header {
background: linear-gradient(135deg, #4a3a10, #786020);
}
.creature-card-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0.8em 1.1em;
color: #f5efe4;
}
.creature-card-titles {
display: flex;
flex-direction: column;
gap: 0.15em;
}
.creature-card-name {
font-size: 1.25em;
font-weight: 700;
letter-spacing: 0.02em;
}
.creature-card-subtitle {
font-size: 0.85em;
opacity: 0.8;
font-style: italic;
}
.creature-card-rank {
background: rgba(255, 255, 255, 0.15);
border: 1px solid rgba(255, 255, 255, 0.25);
border-radius: 4px;
padding: 0.2em 0.7em;
font-size: 0.8em;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.06em;
white-space: nowrap;
margin-left: 0.8em;
}
.creature-card-body {
background: #f0ead8;
padding: 0;
}
.creature-card-body > p:empty,
.creature-card-body > p:has(> br:only-child) {
display: none;
}
.creature-card-stats {
width: 100%;
border-collapse: collapse;
margin: 0;
}
.creature-card-stats th {
text-align: left;
padding: 0.45em 1.1em;
width: 120px;
font-weight: 700;
color: #844725;
background: rgba(132, 71, 37, 0.06);
border-bottom: 1px solid #d4c9b0;
vertical-align: top;
}
.creature-card-stats td {
padding: 0.45em 1.1em;
border-bottom: 1px solid #d4c9b0;
color: #3a2a1a;
vertical-align: top;
}
.creature-card-skills {
padding: 0.7em 1.1em;
border-top: 1px solid #d4c9b0;
}
.creature-card-skills-label {
display: block;
font-weight: 700;
color: #844725;
margin-bottom: 0.3em;
font-size: 0.9em;
text-transform: uppercase;
letter-spacing: 0.04em;
}
.creature-card-skills ul {
margin: 0.3em 0 0 0;
padding-left: 1.4em;
}
.creature-card-skills li {
margin-bottom: 0.3em;
line-height: 1.45;
color: #2a1e14;
}
.creature-card-description {
padding: 0.7em 1.1em;
line-height: 1.55;
color: #2a1e14;
border-top: 1px solid #d4c9b0;
}
.creature-card-note {
padding: 0.5em 1.1em 0.7em;
font-style: italic;
color: #7a6a5a;
border-top: 1px dashed #d4c9b0;
}
/* ─── CreatureCard dark mode ────────────────────────────────────────────── */
.skin-theme-clientpref-night .creature-card {
border-color: var(--color-surface-3, rgba(255,255,255,0.12));
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.skin-theme-clientpref-night .creature-rank-default .creature-card-header {
background: linear-gradient(135deg, #1a1510, #2a1e14);
}
.skin-theme-clientpref-night .creature-rank-grunt .creature-card-header {
background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
}
.skin-theme-clientpref-night .creature-rank-leader .creature-card-header {
background: linear-gradient(135deg, #0a1525, #152038);
}
.skin-theme-clientpref-night .creature-rank-elite .creature-card-header {
background: linear-gradient(135deg, #150a20, #201438);
}
.skin-theme-clientpref-night .creature-rank-boss .creature-card-header {
background: linear-gradient(135deg, #250a0a, #3a1515);
}
.skin-theme-clientpref-night .creature-rank-divine .creature-card-header {
background: linear-gradient(135deg, #251f08, #3a3010);
}
.skin-theme-clientpref-night .creature-card-body {
background: var(--color-surface-1, #1c1c1f);
}
.skin-theme-clientpref-night .creature-card-stats th {
color: #c4a882;
background: rgba(200, 170, 130, 0.08);
border-bottom-color: rgba(255, 255, 255, 0.08);
}
.skin-theme-clientpref-night .creature-card-stats td {
color: var(--color-base, #ddd);
border-bottom-color: rgba(255, 255, 255, 0.08);
}
.skin-theme-clientpref-night .creature-card-skills {
border-top-color: rgba(255, 255, 255, 0.08);
}
.skin-theme-clientpref-night .creature-card-skills-label {
color: #c4a882;
}
.skin-theme-clientpref-night .creature-card-skills li {
color: var(--color-base, #ddd);
}
.skin-theme-clientpref-night .creature-card-description {
color: var(--color-base, #ddd);
border-top-color: rgba(255, 255, 255, 0.08);
}
.skin-theme-clientpref-night .creature-card-note {
color: #8a7a6a;
border-top-color: rgba(255, 255, 255, 0.06);
}
/* ─── Sphere-based SkillCard header colours ────────────────────────────── */
.skill-sphere-air .skill-card-header {
background: linear-gradient(135deg, #8a7a20, #b5a030);
}
.skill-sphere-earth .skill-card-header {
background: linear-gradient(135deg, #2a5a2a, #3a7a3a);
}
.skill-sphere-fire .skill-card-header {
background: linear-gradient(135deg, #8a3a10, #b55020);
}
.skill-sphere-water .skill-card-header {
background: linear-gradient(135deg, #1a3a6a, #2a5090);
}
.skill-sphere-spirit .skill-card-header {
background: linear-gradient(135deg, #4a2070, #6a3090);
}
.skill-sphere-vigour .skill-card-header {
background: linear-gradient(135deg, #4a1515, #7a2020);
}
.skill-sphere-focus .skill-card-header {
background: linear-gradient(135deg, #1a2a5a, #2a4080);
}
/* Sphere label colours for stats th */
.skill-sphere-air .skill-card-stats th { color: #8a7a20; }
.skill-sphere-earth .skill-card-stats th { color: #2a6a2a; }
.skill-sphere-fire .skill-card-stats th { color: #8a3a10; }
.skill-sphere-water .skill-card-stats th { color: #1a4a7a; }
.skill-sphere-spirit .skill-card-stats th { color: #5a2a80; }
.skill-sphere-vigour .skill-card-stats th { color: #7a2020; }
.skill-sphere-focus .skill-card-stats th { color: #1a3a6a; }
.skill-sphere-air .skill-card-ext-label { color: #8a7a20; }
.skill-sphere-earth .skill-card-ext-label { color: #2a6a2a; }
.skill-sphere-fire .skill-card-ext-label { color: #8a3a10; }
.skill-sphere-water .skill-card-ext-label { color: #1a4a7a; }
.skill-sphere-spirit .skill-card-ext-label { color: #5a2a80; }
.skill-sphere-vigour .skill-card-ext-label { color: #7a2020; }
.skill-sphere-focus .skill-card-ext-label { color: #1a3a6a; }
/* ─── Sphere SkillCard dark mode ───────────────────────────────────────── */
.skin-theme-clientpref-night .skill-sphere-air .skill-card-header {
background: linear-gradient(135deg, #3a3510, #504818);
}
.skin-theme-clientpref-night .skill-sphere-earth .skill-card-header {
background: linear-gradient(135deg, #122a12, #1a3a1a);
}
.skin-theme-clientpref-night .skill-sphere-fire .skill-card-header {
background: linear-gradient(135deg, #3a1a08, #502810);
}
.skin-theme-clientpref-night .skill-sphere-water .skill-card-header {
background: linear-gradient(135deg, #0a1a35, #152848);
}
.skin-theme-clientpref-night .skill-sphere-spirit .skill-card-header {
background: linear-gradient(135deg, #1a0a2a, #281540);
}
.skin-theme-clientpref-night .skill-sphere-vigour .skill-card-header {
background: linear-gradient(135deg, #250a0a, #3a1515);
}
.skin-theme-clientpref-night .skill-sphere-focus .skill-card-header {
background: linear-gradient(135deg, #0a1530, #152040);
}
.skin-theme-clientpref-night .skill-sphere-air .skill-card-stats th,
.skin-theme-clientpref-night .skill-sphere-air .skill-card-ext-label { color: #c4b850; }
.skin-theme-clientpref-night .skill-sphere-earth .skill-card-stats th,
.skin-theme-clientpref-night .skill-sphere-earth .skill-card-ext-label { color: #60b060; }
.skin-theme-clientpref-night .skill-sphere-fire .skill-card-stats th,
.skin-theme-clientpref-night .skill-sphere-fire .skill-card-ext-label { color: #c47040; }
.skin-theme-clientpref-night .skill-sphere-water .skill-card-stats th,
.skin-theme-clientpref-night .skill-sphere-water .skill-card-ext-label { color: #5080c0; }
.skin-theme-clientpref-night .skill-sphere-spirit .skill-card-stats th,
.skin-theme-clientpref-night .skill-sphere-spirit .skill-card-ext-label { color: #9060b0; }
.skin-theme-clientpref-night .skill-sphere-vigour .skill-card-stats th,
.skin-theme-clientpref-night .skill-sphere-vigour .skill-card-ext-label { color: #c05050; }
.skin-theme-clientpref-night .skill-sphere-focus .skill-card-stats th,
.skin-theme-clientpref-night .skill-sphere-focus .skill-card-ext-label { color: #4070b0; }
/* Auto dark mode for spheres */
@media (prefers-color-scheme: dark) {
.skin-theme-clientpref-os .skill-sphere-air .skill-card-header { background: linear-gradient(135deg, #3a3510, #504818); }
.skin-theme-clientpref-os .skill-sphere-earth .skill-card-header { background: linear-gradient(135deg, #122a12, #1a3a1a); }
.skin-theme-clientpref-os .skill-sphere-fire .skill-card-header { background: linear-gradient(135deg, #3a1a08, #502810); }
.skin-theme-clientpref-os .skill-sphere-water .skill-card-header { background: linear-gradient(135deg, #0a1a35, #152848); }
.skin-theme-clientpref-os .skill-sphere-spirit .skill-card-header { background: linear-gradient(135deg, #1a0a2a, #281540); }
.skin-theme-clientpref-os .skill-sphere-vigour .skill-card-header { background: linear-gradient(135deg, #250a0a, #3a1515); }
.skin-theme-clientpref-os .skill-sphere-focus .skill-card-header { background: linear-gradient(135deg, #0a1530, #152040); }
.skin-theme-clientpref-os .skill-sphere-air .skill-card-stats th,
.skin-theme-clientpref-os .skill-sphere-air .skill-card-ext-label { color: #c4b850; }
.skin-theme-clientpref-os .skill-sphere-earth .skill-card-stats th,
.skin-theme-clientpref-os .skill-sphere-earth .skill-card-ext-label { color: #60b060; }
.skin-theme-clientpref-os .skill-sphere-fire .skill-card-stats th,
.skin-theme-clientpref-os .skill-sphere-fire .skill-card-ext-label { color: #c47040; }
.skin-theme-clientpref-os .skill-sphere-water .skill-card-stats th,
.skin-theme-clientpref-os .skill-sphere-water .skill-card-ext-label { color: #5080c0; }
.skin-theme-clientpref-os .skill-sphere-spirit .skill-card-stats th,
.skin-theme-clientpref-os .skill-sphere-spirit .skill-card-ext-label { color: #9060b0; }
.skin-theme-clientpref-os .skill-sphere-vigour .skill-card-stats th,
.skin-theme-clientpref-os .skill-sphere-vigour .skill-card-ext-label { color: #c05050; }
.skin-theme-clientpref-os .skill-sphere-focus .skill-card-stats th,
.skin-theme-clientpref-os .skill-sphere-focus .skill-card-ext-label { color: #4070b0; }
}
/* === Callout/Blockquote Dark Mode === */
.callout-warning {
background: #fff3cd;
border-left: 4px solid #856404;
padding: 0.8em 1em;
margin: 1em 0;
}
.skin-theme-clientpref-night .callout-warning {
background: #3d3520 !important;
border-left-color: #a07a10 !important;
color: #e0d0a0;
}
@media (prefers-color-scheme: dark) {
.skin-theme-clientpref-os .callout-warning {
background: #3d3520 !important;
border-left-color: #a07a10 !important;
color: #e0d0a0;
}
}
/* ═══════════════════════════════════════════════════════════════
BuildPage Template – Bankers Guild Funded Builds
═══════════════════════════════════════════════════════════════ */
.build-page {
max-width: 820px;
margin: 0 auto;
}
/* ── Header: subtitle + quote ────────────────────────────────── */
.build-page-header {
text-align: center;
padding: 1.2em 1.5em 1em;
margin-bottom: 1.5em;
border-bottom: 1px solid rgba(180, 160, 120, 0.3);
}
.build-page-subtitle {
font-size: 1.3em;
font-weight: 600;
color: #c8a96e;
letter-spacing: 0.02em;
margin-bottom: 0.4em;
}
.build-page-quote {
font-size: 1.05em;
color: #a89880;
font-style: italic;
max-width: 600px;
margin: 0 auto;
line-height: 1.5;
}
.build-page-quote::before { content: "\201C"; font-size: 1.4em; vertical-align: -0.1em; margin-right: 0.05em; }
.build-page-quote::after { content: "\201D"; font-size: 1.4em; vertical-align: -0.1em; margin-left: 0.05em; }
/* ── Lore body text ──────────────────────────────────────────── */
.build-page-lore {
font-size: 1.02em;
line-height: 1.75;
padding: 0 0.5em;
margin-bottom: 1.5em;
}
.build-page-lore p {
margin-bottom: 1em;
}
/* ── Build details info-box ──────────────────────────────────── */
.build-page-details {
margin: 1.5em 0;
}
.build-details-table {
width: 100%;
max-width: 500px;
border-collapse: collapse;
margin: 0 auto;
}
.build-details-table th {
text-align: left;
width: 42%;
padding: 0.6em 1em;
font-weight: 600;
color: #c8a96e;
background: rgba(90, 70, 40, 0.15);
border: 1px solid rgba(180, 160, 120, 0.25);
white-space: nowrap;
}
.build-details-table td {
padding: 0.6em 1em;
border: 1px solid rgba(180, 160, 120, 0.25);
}
.build-details-table code {
background: rgba(200, 169, 110, 0.12);
padding: 0.15em 0.5em;
border-radius: 3px;
font-size: 0.95em;
color: #c8a96e;
letter-spacing: 0.04em;
}
/* ── Contributions table ─────────────────────────────────────── */
.build-page-contributions {
margin-top: 2em;
padding-top: 1em;
border-top: 1px solid rgba(180, 160, 120, 0.3);
}
.build-page-contributions h3 {
color: #c8a96e;
font-size: 1.15em;
letter-spacing: 0.03em;
margin-bottom: 0.6em;
}
.build-page-contributions .wikitable {
border-collapse: collapse;
margin: 0 auto;
}
.build-page-contributions .wikitable th {
background: rgba(90, 70, 40, 0.2);
color: #c8a96e;
padding: 0.55em 1em;
font-weight: 600;
border: 1px solid rgba(180, 160, 120, 0.25);
}
.build-page-contributions .wikitable td {
padding: 0.5em 1em;
border: 1px solid rgba(180, 160, 120, 0.25);
}
.build-page-contributions .wikitable tr:nth-child(even) td {
background: rgba(90, 70, 40, 0.06);
}
.build-page-contributions .wikitable tr:last-child td,
.build-page-contributions .wikitable tr:last-child th {
font-weight: 700;
border-top: 2px solid rgba(180, 160, 120, 0.4);
}
/* ── Light mode overrides ────────────────────────────────────── */
.skin-theme-clientpref-day .build-page-subtitle { color: #7a5c2e; }
.skin-theme-clientpref-day .build-page-quote { color: #8a7560; }
.skin-theme-clientpref-day .build-details-table th { color: #7a5c2e; background: rgba(180, 160, 120, 0.15); }
.skin-theme-clientpref-day .build-details-table code { color: #7a5c2e; }
.skin-theme-clientpref-day .build-page-contributions h3 { color: #7a5c2e; }
.skin-theme-clientpref-day .build-page-contributions .wikitable th { color: #7a5c2e; background: rgba(180, 160, 120, 0.18); }
/* ============================================================
Visual Editor: Larger textareas in template transclusion dialog
Makes content-type fields (like Lore) taller and resizable
============================================================ */
.ve-ui-mwTransclusionDialog .oo-ui-multilineTextInputWidget textarea {
min-height: 180px;
resize: vertical;
}
/* ══════════════════════════════════════════════════════════════
VISUALEDITOR CURSOR FIX
Fixes the cursor appearing on the right side of empty paragraphs
when pressing Enter. Caused by float: right on .ve-ce-chimera
elements inside VisualEditor paragraph slugs.
══════════════════════════════════════════════════════════════ */
.ve-ce-surface .ve-ce-chimera {
float: none !important;
}
/* ---- getting started guide styles ---- */
/* quest path / journey tracker on landing page */
.gs-progress {
display: flex;
flex-direction: column;
gap: 0;
margin: 1.5em 0 2em;
padding: 0;
list-style: none;
counter-reset: gs-step;
}
.gs-progress-step {
display: grid;
grid-template-columns: 3.6em 1fr;
gap: 0;
align-items: stretch;
counter-increment: gs-step;
}
.gs-progress-marker {
display: flex;
flex-direction: column;
align-items: center;
position: relative;
}
.gs-progress-diamond {
display: flex;
align-items: center;
justify-content: center;
width: 2.2em;
height: 2.2em;
transform: rotate(45deg);
border-radius: 4px;
background: rgba(132, 71, 37, 0.2);
border: 2px solid rgba(132, 71, 37, 0.45);
flex-shrink: 0;
transition: background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
z-index: 1;
}
.gs-progress-diamond span {
transform: rotate(-45deg);
font-family: 'Crimson Text', Georgia, serif;
font-size: 0.85em;
font-weight: 700;
line-height: 1;
color: var(--mf-brown, #844725);
}
/* dashed trail between waypoints */
.gs-progress-marker::after {
content: '';
flex: 1;
width: 3px;
min-height: 0.5em;
background: repeating-linear-gradient(
to bottom,
rgba(132, 71, 37, 0.3) 0px,
rgba(132, 71, 37, 0.3) 4px,
transparent 4px,
transparent 8px
);
}
.gs-progress-step:last-child .gs-progress-marker::after {
display: none;
}
/* active waypoint */
.gs-progress-step--active .gs-progress-diamond {
background: var(--mf-brown, #844725);
border-color: var(--mf-brown, #844725);
box-shadow: 0 0 8px rgba(132, 71, 37, 0.5), 0 0 20px rgba(132, 71, 37, 0.2);
}
.gs-progress-step--active .gs-progress-diamond span {
color: #fff;
}
/* completed waypoint */
.gs-progress-step--done .gs-progress-diamond {
background: var(--mf-brown, #844725);
border-color: var(--mf-brown, #844725);
opacity: 0.65;
}
.gs-progress-step--done .gs-progress-diamond span {
color: #fff;
}
.gs-progress-step--done .gs-progress-marker::after {
background: repeating-linear-gradient(
to bottom,
var(--mf-brown, #844725) 0px,
var(--mf-brown, #844725) 4px,
transparent 4px,
transparent 8px
);
opacity: 0.4;
}
/* card content beside the marker */
.gs-progress-card {
display: block;
padding: 0.6em 1em 1.4em;
margin-left: 0;
border-radius: 6px;
text-decoration: none;
transition: background 0.2s;
}
.gs-progress-card:hover {
background: var(--color-surface-1, #ebe5da);
text-decoration: none;
}
.gs-progress-card-title {
font-family: 'Crimson Text', Georgia, serif;
font-size: 1.15em;
font-weight: 700;
margin: 0 0 0.15em;
}
.gs-progress-card-title a {
color: inherit;
text-decoration: none;
}
.gs-progress-card-title a:hover {
color: var(--mf-brown, #844725);
text-decoration: underline;
}
.gs-progress-card-desc {
font-size: 0.9em;
margin: 0;
line-height: 1.4;
opacity: 0.7;
}
/* phase page nav bar */
.gs-nav {
display: flex;
flex-direction: column;
gap: 1em;
margin: 2em 0;
padding: 1.2em;
background: var(--color-surface-1, #ebe5da);
border-radius: 8px;
border: 1px solid var(--color-surface-3, #d4c9b0);
}
.gs-nav-progress {
display: flex;
gap: 0.35em;
align-items: center;
justify-content: center;
}
.gs-nav-dot {
width: 0.6em;
height: 0.6em;
transform: rotate(45deg);
border-radius: 2px;
background: rgba(132, 71, 37, 0.25);
transition: background 0.2s, box-shadow 0.2s;
}
.gs-nav-dot--active {
background: var(--mf-brown, #844725);
transform: rotate(45deg) scale(1.4);
box-shadow: 0 0 6px rgba(132, 71, 37, 0.4);
}
.gs-nav-dot--done {
background: var(--mf-brown, #844725);
opacity: 0.5;
}
/* prev/next buttons */
.gs-nav-buttons {
display: flex;
justify-content: center;
align-items: center;
gap: 1.5em;
}
.gs-nav-btn {
display: inline-flex;
align-items: center;
gap: 0.4em;
padding: 0.5em 1.2em;
border-radius: 5px;
font-family: 'Crimson Text', Georgia, serif;
font-size: 1em;
font-weight: 600;
text-decoration: none;
color: var(--mf-brown, #844725);
background: var(--color-surface-2, #e0d8cc);
border: 1px solid var(--color-surface-3, #d4c9b0);
transition: background 0.2s, color 0.2s;
}
.gs-nav-btn:hover {
background: var(--mf-brown, #844725);
color: #fff;
text-decoration: none;
border-color: var(--mf-brown, #844725);
}
.gs-nav-btn--hidden {
visibility: hidden;
}
.gs-nav-home {
font-size: 0.9em;
text-align: center;
}
.gs-nav-home a {
}
.gs-nav-home a:hover {
color: var(--mf-brown, #844725);
}
/* checklist items */
.gs-checklist {
list-style: none;
padding: 0;
margin: 1em 0;
}
.gs-checklist-item {
display: flex;
align-items: flex-start;
gap: 0.6em;
padding: 0.5em 0;
font-size: 1em;
line-height: 1.5;
border-bottom: 1px solid var(--color-surface-2, #e0d8cc);
}
.gs-checklist-item:last-child {
border-bottom: none;
}
.gs-checklist-icon {
flex-shrink: 0;
width: 1em;
height: 1em;
margin-top: 0.3em;
border: 2px solid rgba(132, 71, 37, 0.4);
border-radius: 2px;
background: rgba(132, 71, 37, 0.1);
transform: rotate(45deg);
}
/* phase cards on the landing page grid */
.gs-phase-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 1em;
margin: 1.5em 0 2em;
}
@media (max-width: 600px) {
.gs-phase-grid {
grid-template-columns: 1fr;
}
}
.gs-phase-card {
display: flex;
align-items: flex-start;
gap: 0.8em;
padding: 1em;
border-radius: 6px;
background: var(--color-surface-1, #ebe5da);
border: 1px solid var(--color-surface-2, #e0d8cc);
text-decoration: none;
transition: border-color 0.2s, background 0.2s;
}
.gs-phase-card:hover {
border-color: var(--mf-brown, #844725);
background: var(--color-surface-2, #e0d8cc);
text-decoration: none;
}
.gs-phase-num {
display: flex;
align-items: center;
justify-content: center;
min-width: 2em;
height: 2em;
transform: rotate(45deg);
border-radius: 4px;
background: var(--mf-brown, #844725);
color: #fff;
font-family: 'Crimson Text', Georgia, serif;
font-weight: 700;
font-size: 0.85em;
flex-shrink: 0;
}
.gs-phase-num span {
transform: rotate(-45deg);
}
.gs-phase-info {
flex: 1;
}
.gs-phase-title {
font-family: 'Crimson Text', Georgia, serif;
font-size: 1.05em;
font-weight: 700;
margin: 0 0 0.15em;
}
.gs-phase-title a {
color: inherit;
text-decoration: none;
}
.gs-phase-title a:hover {
color: var(--mf-brown, #844725);
text-decoration: underline;
}
.gs-phase-desc {
font-size: 0.85em;
margin: 0;
line-height: 1.4;
opacity: 0.7;
}
/* hero header on each phase page */
.gs-hero {
padding: 1.5em;
margin: -0.5em -0.5em 1.5em;
background: var(--color-surface-1, #ebe5da);
border-radius: 8px;
border-left: 4px solid var(--mf-brown, #844725);
}
.gs-hero-phase {
font-size: 0.85em;
font-weight: 600;
color: var(--mf-brown, #844725);
text-transform: uppercase;
letter-spacing: 0.05em;
margin: 0 0 0.25em;
}
.gs-hero-title {
font-family: 'Crimson Text', Georgia, serif;
font-size: 1.6em;
font-weight: 700;
margin: 0 0 0.3em;
line-height: 1.2;
}
.gs-hero-subtitle {
font-size: 1em;
margin: 0;
line-height: 1.5;
opacity: 0.7;
}
/* call to action box */
.gs-cta {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1em;
padding: 1.2em 1.5em;
margin: 2em 0;
background: var(--color-surface-1, #ebe5da);
border: 1px solid var(--color-surface-3, #d4c9b0);
border-radius: 8px;
}
.gs-cta-text {
font-family: 'Crimson Text', Georgia, serif;
font-size: 1.1em;
font-weight: 600;
}
.gs-cta-btn {
display: inline-flex;
align-items: center;
gap: 0.4em;
padding: 0.6em 1.5em;
border-radius: 5px;
font-family: 'Crimson Text', Georgia, serif;
font-size: 1em;
font-weight: 700;
text-decoration: none;
color: #fff;
background: var(--mf-brown, #844725);
border: none;
transition: background 0.2s;
white-space: nowrap;
}
.gs-cta-btn a {
color: #fff !important;
text-decoration: none;
}
.gs-cta-btn a:visited {
color: #fff !important;
}
.gs-cta-btn a:hover {
color: #fff !important;
text-decoration: none;
}
.gs-cta-btn:hover {
background: var(--mf-brown-hover, #a0603a);
color: #fff;
text-decoration: none;
}
@media (max-width: 600px) {
.gs-cta {
flex-direction: column;
text-align: center;
}
}
/* main page banner */
.gs-banner {
display: flex;
align-items: center;
gap: 1.2em;
padding: 1.2em 1.5em;
margin: 1.5em 0;
background: var(--color-surface-1, #ebe5da);
border: 2px solid var(--mf-brown, #844725);
border-radius: 8px;
}
.gs-banner-icon {
width: 2.8em;
height: 2.8em;
flex-shrink: 0;
transform: rotate(45deg);
border-radius: 5px;
background: var(--mf-brown, #844725);
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 0 10px rgba(132, 71, 37, 0.3);
}
.gs-banner-icon span {
transform: rotate(-45deg);
color: #fff;
font-family: 'Crimson Text', Georgia, serif;
font-size: 1.4em;
font-weight: 700;
line-height: 1;
}
.gs-banner-content {
flex: 1;
}
.gs-banner-title {
font-family: 'Crimson Text', Georgia, serif;
font-size: 1.25em;
font-weight: 700;
margin: 0 0 0.2em;
}
.gs-banner-desc {
font-size: 0.9em;
margin: 0;
opacity: 0.7;
}
.gs-banner-btn {
display: inline-flex;
align-items: center;
gap: 0.4em;
padding: 0.6em 1.5em;
border-radius: 5px;
font-family: 'Crimson Text', Georgia, serif;
font-size: 1em;
font-weight: 700;
text-decoration: none;
color: #fff;
background: var(--mf-brown, #844725);
white-space: nowrap;
transition: background 0.2s;
}
/* override wiki link colour inside banner button */
.gs-banner-btn a,
.gs-banner-btn a:visited,
.gs-banner-btn a:active {
color: #fff !important;
text-decoration: none;
}
.gs-banner-btn a:hover {
color: #fff !important;
text-decoration: none;
}
.gs-banner-btn:hover {
background: var(--mf-brown-hover, #a0603a);
color: #fff;
text-decoration: none;
}
@media (max-width: 600px) {
.gs-banner {
flex-direction: column;
text-align: center;
}
}
/* tip / note callout box */
.gs-tip {
padding: 1em 1.2em;
margin: 1.2em 0;
background: var(--color-surface-1, #ebe5da);
border-left: 4px solid var(--mf-brown, #844725);
border-radius: 0 6px 6px 0;
font-size: 0.95em;
}
.gs-tip-label {
font-weight: 700;
color: var(--mf-brown, #844725);
margin-right: 0.3em;
}
.gs-tip-label::before {
content: '\25C6';
margin-right: 0.3em;
font-size: 0.7em;
vertical-align: middle;
}
/* packing checklist (printable) */
.gs-packing-list {
list-style: none;
padding: 0;
margin: 1em 0;
}
.gs-packing-list li {
display: flex;
align-items: flex-start;
gap: 0.6em;
padding: 0.45em 0;
border-bottom: 1px solid var(--color-surface-2, #e0d8cc);
line-height: 1.5;
}
.gs-packing-list li:last-child {
border-bottom: none;
}
.gs-packing-list li::before {
content: '';
flex-shrink: 0;
width: 1.1em;
height: 1.1em;
margin-top: 0.25em;
border: 2px solid rgba(132, 71, 37, 0.4);
border-radius: 3px;
background: rgba(132, 71, 37, 0.1);
}
@media print {
.gs-packing-list li::before {
border-color: #333;
background: #fff;
}
}