MediaWiki:Common.css
Jump to navigation
Jump to search
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)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* ═══════════════════════════════════════════════════════════════════
TimeRO Wiki — Unified Dark System
1) Main Page remains special
2) All other pages inherit the Farming Guide visual language
3) No paragraph balloons / no conflicting article shells
═══════════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800;900&family=Rajdhani:wght@400;500;600;700&family=Share+Tech+Mono&display=swap');
/* ================================================================
TOKENS
================================================================ */
:root {
--timero-bg-0: #04070d;
--timero-bg-1: #07101d;
--timero-bg-2: #0a1628;
--timero-bg-3: #0d1d35;
--timero-panel: rgba(8, 18, 32, 0.94);
--timero-panel-2: rgba(10, 22, 40, 0.96);
--timero-panel-soft: rgba(255,255,255,0.03);
--timero-text: #e8eef8;
--timero-text-soft: #d2dded;
--timero-text-muted: #7ea0c8;
--timero-cyan: #00d4ff;
--timero-cyan-soft: rgba(0,212,255,0.14);
--timero-cyan-line: rgba(0,212,255,0.22);
--timero-blue: #4c89ff;
--timero-purple: #8f63ff;
--timero-gold: #ffb020;
--timero-green: #00ff88;
--timero-red: #ff355e;
--timero-orange: #ff6b00;
--timero-border: rgba(255,255,255,0.08);
--timero-border-strong: rgba(255,255,255,0.12);
--timero-shadow-lg: 0 24px 70px rgba(0,0,0,0.35);
--timero-shadow-md: 0 16px 38px rgba(0,0,0,0.24);
--timero-radius-xl: 22px;
--timero-radius-lg: 16px;
--timero-radius-md: 12px;
--timero-article-px: 32px;
--timero-article-py-top: 28px;
--timero-article-py-bottom: 34px;
}
/* ================================================================
GLOBAL BASE
================================================================ */
html,
body {
background:
radial-gradient(circle at 15% 10%, rgba(0,212,255,0.05), transparent 20%),
radial-gradient(circle at 85% 12%, rgba(143,99,255,0.05), transparent 20%),
linear-gradient(180deg, var(--timero-bg-0) 0%, var(--timero-bg-1) 45%, var(--timero-bg-2) 100%) !important;
color: var(--timero-text) !important;
font-family: 'Rajdhani', 'Segoe UI', system-ui, sans-serif !important;
}
html,
body,
.mw-body,
#content,
.mw-parser-output,
.vector-body,
.vector-body p,
.vector-body li,
.vector-body dd,
.vector-body dt,
.vector-body td,
.vector-body th,
.vector-body input,
.vector-body select,
.vector-body textarea,
.vector-body button {
font-family: 'Rajdhani', 'Segoe UI', system-ui, sans-serif !important;
}
/* ================================================================
MAIN PAGE — KEEP SPECIAL
================================================================ */
body.page-Main_Page #content,
body.page-Main_Page .mw-body {
padding: 0 !important;
border: none !important;
background: transparent !important;
box-shadow: none !important;
border-radius: 0 !important;
}
body.page-Main_Page #bodyContent,
body.page-Main_Page .mw-body-content,
body.page-Main_Page .mw-parser-output {
background: transparent !important;
padding: 0 !important;
margin: 0 !important;
}
body.page-Main_Page #firstHeading,
body.page-Main_Page .mw-first-heading,
body.page-Main_Page #contentSub {
display: none !important;
}
/* ================================================================
VECTOR / CHROME — GLOBAL DARK HEADER + SIDEBAR
================================================================ */
.vector-sticky-header,
.vector-header,
#mw-page-base,
#mw-head,
#mw-navigation,
.vector-page-toolbar,
.vector-pinnable-header,
.vector-pinnable-element {
background: linear-gradient(180deg, #07101e 0%, #0a1628 100%) !important;
color: var(--timero-text) !important;
border-color: rgba(255,255,255,0.08) !important;
box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.vector-header-container,
.vector-header-start,
.vector-header-end,
.vector-page-toolbar-container,
.vector-user-links,
.vector-user-menu,
#p-personal,
#p-vector-user-menu-overflow {
background: transparent !important;
box-shadow: none !important;
}
.vector-header a,
.vector-sticky-header a,
.vector-page-toolbar a,
.vector-pinnable-header a,
#mw-head a,
#mw-navigation a {
color: #c8ecff !important;
text-decoration: none !important;
}
.vector-header a:hover,
.vector-sticky-header a:hover,
.vector-page-toolbar a:hover,
.vector-pinnable-header a:hover,
#mw-head a:hover,
#mw-navigation a:hover {
color: #ffffff !important;
text-decoration: none !important;
}
.vector-menu-tabs .vector-menu-content-list,
.vector-menu-tabs-legacy .vector-menu-content-list,
.vector-page-toolbar-container {
background: transparent !important;
}
.vector-menu-tabs li,
.vector-menu-tabs-legacy li {
background: transparent !important;
border-color: rgba(255,255,255,0.08) !important;
}
.vector-menu-tabs li a,
.vector-menu-tabs-legacy li a {
color: #d8efff !important;
}
.vector-menu-tabs .selected a,
.vector-menu-tabs-legacy .selected a {
color: #ffffff !important;
border-bottom: 2px solid var(--timero-cyan) !important;
}
#mw-panel,
.vector-column-start,
.vector-sidebar,
.vector-sidebar-container,
.vector-menu,
.vector-menu-portal,
.vector-toc {
background: linear-gradient(180deg, #07101e 0%, #081423 100%) !important;
color: #dfe9f7 !important;
border-color: rgba(255,255,255,0.06) !important;
box-shadow: none !important;
}
.vector-menu-portal,
.portal {
border-bottom: 1px solid rgba(255,255,255,0.05) !important;
padding-bottom: 10px;
margin-bottom: 10px;
background: transparent !important;
}
.vector-menu-heading,
#mw-panel h3,
.portal h3 {
color: #ffffff !important;
font-family: 'Barlow Condensed', 'Segoe UI', sans-serif !important;
letter-spacing: 0.04em;
text-transform: uppercase;
font-weight: 700;
}
#mw-panel a,
.vector-column-start a,
.vector-sidebar a,
.vector-menu a,
.portal a {
color: #bfe8ff !important;
text-decoration: none !important;
}
#mw-panel a:hover,
.vector-column-start a:hover,
.vector-sidebar a:hover,
.vector-menu a:hover,
.portal a:hover {
color: #ffffff !important;
text-decoration: none !important;
}
.vector-column-start,
.vector-column-end {
background: transparent !important;
}
/* ================================================================
NON-MAIN PAGES — PREMIUM ARTICLE SHELL
================================================================ */
body:not(.page-Main_Page) #content,
body:not(.page-Main_Page) .mw-body {
background:
linear-gradient(180deg, rgba(10,22,40,0.94) 0%, rgba(7,16,29,0.96) 100%) !important;
color: var(--timero-text) !important;
border: 1px solid var(--timero-border) !important;
border-radius: var(--timero-radius-xl) !important;
box-shadow: var(--timero-shadow-lg);
margin-top: 16px !important;
overflow: hidden;
position: relative;
}
body:not(.page-Main_Page) .mw-body::before,
body:not(.page-Main_Page) #content::before {
content: "";
display: block;
height: 3px;
background: linear-gradient(90deg, transparent, var(--timero-cyan), var(--timero-purple), transparent);
opacity: 0.9;
}
body:not(.page-Main_Page) #bodyContent,
body:not(.page-Main_Page) .mw-body-content,
body:not(.page-Main_Page) .mw-parser-output {
color: var(--timero-text) !important;
margin: 0 !important;
background: transparent !important;
}
/* ================================================================
TYPOGRAPHY
================================================================ */
.mw-body h1,
.mw-body h2,
.mw-body h3,
.mw-body h4,
.mw-body h5,
.mw-body h6,
#firstHeading,
.mw-first-heading {
font-family: 'Barlow Condensed', 'Segoe UI', sans-serif !important;
color: #ffffff !important;
letter-spacing: 0.02em;
line-height: 1;
}
body:not(.page-Main_Page) #firstHeading,
body:not(.page-Main_Page) .mw-first-heading {
margin-bottom: 18px !important;
padding-bottom: 12px;
border-bottom: 1px solid var(--timero-cyan-line);
text-shadow: 0 3px 12px rgba(0,0,0,0.2);
}
body:not(.page-Main_Page) .mw-body h2,
body:not(.page-Main_Page) .mw-body h3 {
border-bottom: 1px solid rgba(0,212,255,0.14);
padding-bottom: 8px;
margin-top: 28px;
margin-bottom: 12px;
}
body:not(.page-Main_Page) .mw-body h2 {
font-size: clamp(1.8rem, 2.6vw, 2.35rem);
}
body:not(.page-Main_Page) .mw-body h3 {
font-size: clamp(1.35rem, 2.2vw, 1.7rem);
}
.mw-parser-output p {
line-height: 1.8;
color: var(--timero-text-soft);
}
/* ================================================================
CLEAN CONTENT FLOW
No paragraph balloons / no alternating direct block cards
================================================================ */
body:not(.page-Main_Page) .mw-parser-output > p,
body:not(.page-Main_Page) .mw-parser-output > ul,
body:not(.page-Main_Page) .mw-parser-output > ol,
body:not(.page-Main_Page) .mw-parser-output > table,
body:not(.page-Main_Page) .mw-parser-output > blockquote,
body:not(.page-Main_Page) .mw-parser-output > pre,
body:not(.page-Main_Page) .mw-parser-output > .toc,
body:not(.page-Main_Page) .mw-parser-output > #toc {
background: transparent !important;
border: 0 !important;
border-radius: 0 !important;
padding: 0 !important;
box-shadow: none !important;
}
body:not(.page-Main_Page) .mw-parser-output > * + * {
margin-top: 14px;
}
/* ================================================================
LINKS
================================================================ */
.mw-body a,
.mw-parser-output a,
.vector-body a {
color: #66dfff !important;
text-decoration: none;
transition: color .18s ease, text-shadow .18s ease;
}
.mw-body a:hover,
.mw-parser-output a:hover,
.vector-body a:hover {
color: #ffffff !important;
text-decoration: none;
text-shadow: 0 0 14px rgba(0,212,255,0.32);
}
.mw-body a:visited,
.mw-parser-output a:visited {
color: #9adfff !important;
}
/* ================================================================
LISTS / HR / BLOCKQUOTE / CODE
================================================================ */
.mw-parser-output ul,
.mw-parser-output ol {
padding-left: 1.6rem;
}
.mw-parser-output hr {
border: none;
border-top: 1px solid rgba(255,255,255,0.08);
margin: 28px 0;
}
.mw-parser-output blockquote {
background: linear-gradient(180deg, rgba(0,212,255,0.05), rgba(255,255,255,0.02));
border-left: 3px solid rgba(0,212,255,0.35);
padding: 14px 16px;
color: #d5e4f5;
border-radius: 12px;
}
.mw-parser-output code,
.mw-parser-output pre,
.mw-code {
background: rgba(0,0,0,0.26) !important;
color: #d8f2ff !important;
border: 1px solid rgba(255,255,255,0.08);
border-radius: 10px;
}
.mw-parser-output code {
padding: 2px 6px;
}
.mw-parser-output pre {
padding: 14px;
overflow: auto;
}
/* ================================================================
TOC
================================================================ */
#toc,
.toc,
.mw-parser-output .toc {
background: linear-gradient(180deg, rgba(8,18,32,0.95), rgba(10,22,40,0.90)) !important;
border: 1px solid rgba(0,212,255,0.14) !important;
border-radius: 16px;
padding: 14px 16px;
color: var(--timero-text);
box-shadow: var(--timero-shadow-md);
}
#toc .toctitle,
.toc .toctitle {
color: #ffffff;
font-family: 'Barlow Condensed', sans-serif;
}
/* ================================================================
WIKITABLES
================================================================ */
.wikitable,
table.wikitable {
background: rgba(10,20,36,0.94) !important;
color: var(--timero-text) !important;
border: 1px solid rgba(0,212,255,0.16) !important;
border-collapse: collapse;
border-radius: 16px;
overflow: hidden;
}
.wikitable th,
table.wikitable th {
background: linear-gradient(180deg, rgba(0,212,255,0.12), rgba(0,212,255,0.06)) !important;
color: #ffffff !important;
border: 1px solid rgba(255,255,255,0.08) !important;
font-weight: 700;
padding: 10px 12px;
}
.wikitable td,
table.wikitable td {
background: rgba(255,255,255,0.02) !important;
color: var(--timero-text-soft) !important;
border: 1px solid rgba(255,255,255,0.08) !important;
padding: 10px 12px;
}
.wikitable tr:nth-child(even) td,
table.wikitable tr:nth-child(even) td {
background: rgba(255,255,255,0.03) !important;
}
/* ================================================================
FORMS / INPUTS / BUTTONS
================================================================ */
input,
select,
textarea,
button {
font-family: 'Rajdhani', 'Segoe UI', system-ui, sans-serif;
}
input[type="text"],
input[type="search"],
input[type="password"],
input[type="email"],
input[type="number"],
select,
textarea,
.vector-search-box-input,
.cdx-text-input__input,
#searchInput {
background: rgba(12,18,28,0.95) !important;
color: #eef6ff !important;
border: 1px solid rgba(255,255,255,0.12) !important;
border-radius: 12px !important;
box-shadow: none !important;
}
input:focus,
select:focus,
textarea:focus,
.vector-search-box-input:focus,
.cdx-text-input__input:focus,
#searchInput:focus {
outline: none;
border-color: rgba(0,212,255,0.45) !important;
box-shadow: 0 0 0 3px rgba(0,212,255,0.12) !important;
}
button,
input[type="submit"],
input[type="button"],
.mw-htmlform input[type="submit"] {
background: linear-gradient(135deg, #00d4ff, #7a37ff) !important;
color: #fff !important;
border: none !important;
border-radius: 12px;
font-weight: 700;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
transform: translateY(-2px);
box-shadow: 0 12px 28px rgba(0,212,255,0.25);
}
/* ================================================================
CATEGORIES / THUMBS / MESSAGES
================================================================ */
.catlinks {
background: rgba(10,20,36,0.88) !important;
border: 1px solid rgba(255,255,255,0.08) !important;
border-radius: 12px;
padding: 10px 12px;
}
.thumbinner,
div.thumbinner,
.infobox {
background: rgba(255,255,255,0.03) !important;
border: 1px solid rgba(255,255,255,0.08) !important;
border-radius: 12px;
}
.messagebox,
.ambox,
.tmbox,
.cmbox,
.ombox {
background: rgba(10,20,36,0.90) !important;
color: #eef6ff !important;
border: 1px solid rgba(0,212,255,0.16) !important;
border-radius: 12px;
}
/* ================================================================
CUSTOM GUIDE / HUB ROOTS
These should fill the article shell cleanly without bleeding
================================================================ */
body.page-Main_Page .timero-wiki-root,
body.page-Main_Page #farming-guide-root {
margin: 0 !important;
width: 100% !important;
max-width: 100% !important;
}
.timero-wiki-root,
.timero-wiki-root *,
#farming-guide-root,
#farming-guide-root * {
box-sizing: border-box;
}
.timero-wiki-root h1,
.timero-wiki-root h2,
.timero-wiki-root h3,
.timero-wiki-root h4,
.timero-wiki-root h5,
.timero-wiki-root h6,
#farming-guide-root h1,
#farming-guide-root h2,
#farming-guide-root h3,
#farming-guide-root h4,
#farming-guide-root h5,
#farming-guide-root h6 {
font-family: 'Barlow Condensed', 'Segoe UI', sans-serif !important;
border: none !important;
border-bottom: none !important;
}
.timero-wiki-root a.external::after,
.timero-wiki-root a.extiw::after,
#farming-guide-root a.external::after,
#farming-guide-root a.extiw::after {
display: none !important;
}
/* Neutralize parser pollution inside custom guide systems */
.timero-wiki-root pre,
.timero-wiki-root code,
.timero-wiki-root .mw-code,
#farming-guide-root pre,
#farming-guide-root code,
#farming-guide-root .mw-code {
background: transparent !important;
border: 0 !important;
box-shadow: none !important;
color: inherit !important;
}
.timero-wiki-root pre,
#farming-guide-root pre {
display: inline !important;
margin: 0 !important;
padding: 0 !important;
white-space: normal !important;
overflow: visible !important;
}
.timero-wiki-root code,
#farming-guide-root code {
padding: 0 !important;
}
/* ================================================================
TIMERO COMPONENT SYSTEM
================================================================ */
@keyframes timero-fade-up {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes timero-shimmer {
0% { background-position: -200% center; }
60%, 100% { background-position: 200% center; }
}
@keyframes timero-blink {
0%, 100% { opacity: 1; }
50% { opacity: 0.25; }
}
@keyframes timero-grid-drift {
from { background-position: 0 0; }
to { background-position: 0 48px; }
}
.timero-hero {
position: relative;
background: linear-gradient(160deg, #02040a 0%, #071020 40%, #0a1628 70%, #06101e 100%);
padding: 64px 48px 52px;
text-align: center;
overflow: hidden;
border-bottom: 1px solid rgba(0,212,255,0.15);
animation: timero-fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.timero-hero > div:first-child {
animation: timero-grid-drift 8s linear infinite;
}
.timero-hero [style*="width:7px"] {
animation: timero-blink 1.6s ease-in-out infinite;
}
.timero-grid {
display: grid;
gap: 16px;
}
.timero-grid-2 { grid-template-columns: repeat(2, 1fr); }
.timero-grid-3 { grid-template-columns: repeat(3, 1fr); }
.timero-grid-4 { grid-template-columns: repeat(4, 1fr); }
.timero-section {
background: #07101e;
padding: 56px 48px;
border-bottom: 1px solid rgba(255,255,255,0.06);
}
.timero-card {
background: linear-gradient(160deg, rgba(10,20,36,0.9), rgba(6,12,24,0.95));
border: 1px solid rgba(0,212,255,0.16);
border-radius: 18px;
padding: 28px 22px;
position: relative;
overflow: hidden;
transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
box-shadow 0.25s ease,
border-color 0.25s ease;
}
.timero-card:hover {
transform: translateY(-6px);
box-shadow: 0 20px 50px rgba(0, 212, 255, 0.18);
}
.timero-btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 12px 18px;
border-radius: 12px;
background: linear-gradient(135deg, #00d4ff, #7a37ff);
color: #ffffff !important;
text-decoration: none !important;
font-weight: 800;
letter-spacing: 0.04em;
text-transform: uppercase;
box-shadow: 0 12px 36px rgba(0,212,255,0.25);
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.timero-btn:hover {
transform: translateY(-3px);
box-shadow: 0 18px 50px rgba(0, 212, 255, 0.35);
text-decoration: none !important;
color: #ffffff !important;
}
.timero-wiki-root .timero-card a,
#farming-guide-root .timero-card a {
color: inherit !important;
}
/* ================================================================
FEATURED GUIDES
================================================================ */
.timero-guides-section {
width: min(1180px, calc(100% - 42px));
margin: 0 auto;
padding: 72px 0 36px;
}
.timero-guides-head {
text-align: center;
margin-bottom: 38px;
}
.timero-guides-kicker {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 32px;
padding: 0 18px;
border-radius: 999px;
border: 1px solid rgba(121, 82, 255, 0.35);
background: rgba(62, 32, 110, 0.22);
color: #9f73ff;
font-size: 0.68rem;
font-weight: 800;
letter-spacing: 0.22em;
text-transform: uppercase;
margin-bottom: 18px;
box-shadow: 0 0 0 1px rgba(255,255,255,0.03) inset;
}
.timero-guides-head h2 {
margin: 0 0 10px;
font-family: 'Barlow Condensed', sans-serif;
font-size: clamp(2.2rem, 4vw, 3.5rem);
line-height: 1;
font-weight: 900;
color: #ffffff;
letter-spacing: -0.02em;
border: none !important;
text-shadow: 0 3px 12px rgba(0,0,0,0.22);
}
.timero-guides-head p {
margin: 0;
font-size: 1rem;
color: rgba(108, 152, 214, 0.88);
letter-spacing: 0.02em;
}
.timero-guides-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 18px;
}
.timero-guide-card {
border-radius: 22px;
overflow: hidden;
background: linear-gradient(180deg, #07111d 0%, #050b14 100%);
border: 1px solid rgba(0, 212, 255, 0.12);
box-shadow:
0 20px 44px rgba(0,0,0,0.22),
0 0 0 1px rgba(255,255,255,0.02) inset;
transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.timero-guide-card:hover {
transform: translateY(-4px);
}
.timero-guide-top {
min-height: 122px;
padding: 26px 26px 20px;
border-bottom: 1px solid rgba(255,255,255,0.06);
position: relative;
}
.timero-guide-bottom {
padding: 20px 22px 22px;
background: rgba(3, 9, 16, 0.72);
}
.timero-guide-icon {
font-size: 1.85rem;
margin-bottom: 12px;
line-height: 1;
}
.timero-guide-label {
font-size: 0.68rem;
font-weight: 900;
letter-spacing: 0.22em;
text-transform: uppercase;
margin-bottom: 8px;
}
.timero-guide-title {
font-family: 'Barlow Condensed', sans-serif;
font-size: 1.75rem;
line-height: 1;
font-weight: 800;
color: #ffffff;
text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.timero-guide-desc {
color: rgba(103, 146, 208, 0.9);
font-size: 0.98rem;
line-height: 1.85;
margin-bottom: 18px;
}
.timero-guide-tags {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 18px;
}
.timero-guide-tags span {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 28px;
padding: 0 12px;
border-radius: 999px;
font-size: 0.78rem;
font-weight: 800;
letter-spacing: 0.02em;
border: 1px solid currentColor;
background: rgba(255,255,255,0.02);
}
.timero-guide-link a {
font-family: 'Barlow Condensed', sans-serif;
font-size: 1.02rem;
font-weight: 800;
letter-spacing: 0.06em;
text-transform: uppercase;
text-decoration: none !important;
}
.timero-guide-link a:hover {
filter: brightness(1.08);
text-decoration: none !important;
}
.timero-guide-card-green {
border-color: rgba(0, 199, 122, 0.22);
box-shadow:
0 20px 44px rgba(0,0,0,0.22),
0 0 0 1px rgba(255,255,255,0.02) inset,
0 0 24px rgba(0, 199, 122, 0.06);
}
.timero-guide-card-green .timero-guide-top {
background: linear-gradient(135deg, rgba(0, 112, 77, 0.34) 0%, rgba(0, 61, 58, 0.22) 100%);
border-bottom-color: rgba(0, 199, 122, 0.18);
}
.timero-guide-card-green .timero-guide-icon,
.timero-guide-card-green .timero-guide-label,
.timero-guide-card-green .timero-guide-link a,
.timero-guide-card-green .timero-guide-tags span {
color: #00ff88 !important;
}
.timero-guide-card-green .timero-guide-tags span {
background: rgba(0,255,136,0.08);
border-color: rgba(0,255,136,0.28);
}
.timero-guide-card-red {
border-color: rgba(255, 47, 92, 0.22);
box-shadow:
0 20px 44px rgba(0,0,0,0.22),
0 0 0 1px rgba(255,255,255,0.02) inset,
0 0 24px rgba(255, 47, 92, 0.05);
}
.timero-guide-card-red .timero-guide-top {
background: linear-gradient(135deg, rgba(70, 17, 40, 0.58) 0%, rgba(34, 20, 70, 0.30) 100%);
border-bottom-color: rgba(255, 47, 92, 0.16);
}
.timero-guide-card-red .timero-guide-icon,
.timero-guide-card-red .timero-guide-label,
.timero-guide-card-red .timero-guide-link a,
.timero-guide-card-red .timero-guide-tags span {
color: #ff355e !important;
}
.timero-guide-card-red .timero-guide-tags span {
background: rgba(255,53,94,0.08);
border-color: rgba(255,53,94,0.26);
}
.timero-guide-card-gold {
border-color: rgba(255, 176, 32, 0.22);
box-shadow:
0 20px 44px rgba(0,0,0,0.22),
0 0 0 1px rgba(255,255,255,0.02) inset,
0 0 24px rgba(255, 176, 32, 0.05);
}
.timero-guide-card-gold .timero-guide-top {
background: linear-gradient(135deg, rgba(70, 52, 17, 0.42) 0%, rgba(36, 36, 36, 0.18) 100%);
border-bottom-color: rgba(255, 176, 32, 0.16);
}
.timero-guide-card-gold .timero-guide-icon,
.timero-guide-card-gold .timero-guide-label,
.timero-guide-card-gold .timero-guide-link a,
.timero-guide-card-gold .timero-guide-tags span {
color: #ffb020 !important;
}
.timero-guide-card-gold .timero-guide-tags span {
background: rgba(255,176,32,0.08);
border-color: rgba(255,176,32,0.24);
}
/* ================================================================
FOOTER
================================================================ */
#footer,
.mw-footer,
.vector-footer-container,
footer {
background: linear-gradient(180deg, #07101e 0%, #05080f 100%) !important;
color: #a9bfd8 !important;
border-top: 1px solid rgba(255,255,255,0.08) !important;
margin-top: 40px;
}
#footer a,
.mw-footer a,
.vector-footer a,
.vector-footer-container a {
color: #8fdfff !important;
text-decoration: none !important;
}
#footer a:hover,
.mw-footer a:hover,
.vector-footer a:hover,
.vector-footer-container a:hover {
color: #ffffff !important;
text-decoration: none !important;
}
#footer ul,
.mw-footer ul,
.vector-footer ul {
color: #a9bfd8 !important;
}
.mw-wiki-logo,
.vector-header-container .mw-logo,
.vector-header-container .mw-logo-wordmark,
.vector-header-container .mw-logo-tagline {
filter: drop-shadow(0 0 10px rgba(0,212,255,0.18));
}
/* ================================================================
RESPONSIVE
================================================================ */
@media (max-width: 980px) {
.timero-guides-grid {
grid-template-columns: 1fr;
}
}
@media (max-width: 900px) {
.timero-grid-4 { grid-template-columns: repeat(2, 1fr); }
.timero-grid-3 { grid-template-columns: repeat(2, 1fr); }
.timero-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
.timero-grid-4,
.timero-grid-3,
.timero-grid-2 {
grid-template-columns: 1fr;
}
.timero-section,
.timero-hero,
body:not(.page-Main_Page) #bodyContent,
body:not(.page-Main_Page) .mw-body-content,
body:not(.page-Main_Page) .mw-parser-output {
padding-left: 20px !important;
padding-right: 20px !important;
}
.timero-wiki-root,
#farming-guide-root {
margin-left: -20px !important;
margin-right: -20px !important;
width: calc(100% + 40px) !important;
max-width: calc(100% + 40px) !important;
}
.timero-hero [style*="display:flex;gap:12px;justify-content:center"] {
flex-direction: column !important;
align-items: center !important;
}
}
/* ================================================================
PRINT
================================================================ */
@media print {
.timero-hero [style*="position:absolute"] {
display: none !important;
}
.timero-wiki-root [style*="background:linear-gradient"],
#farming-guide-root [style*="background:linear-gradient"] {
background: #f0f0f0 !important;
}
}
/* ================================================================
FINAL GUIDE FIT FIX
- guide root fits perfectly INSIDE div#content
- no extra wiki page title on custom guide pages
- no outer container bleed
Put this at the VERY END of Common.css
================================================================ */
/* 1) Any custom guide page should use the article shell, not overflow beyond it */
.timero-wiki-root,
#farming-guide-root,
#leveling-guide-root {
display: block;
margin: 0 !important;
width: 100% !important;
max-width: 100% !important;
min-width: 0 !important;
min-height: 0 !important;
overflow-x: hidden !important;
box-sizing: border-box !important;
}
/* keep all direct sections constrained to the article width */
.timero-wiki-root > div,
#farming-guide-root > div,
#leveling-guide-root > div {
width: 100% !important;
max-width: 100% !important;
min-width: 0 !important;
box-sizing: border-box !important;
}
/* 2) On custom guide pages, remove inner MediaWiki article padding
so the guide root becomes the real page body inside #content */
body.page-Guia_de_Farming #bodyContent,
body.page-Guia_de_Farming .mw-body-content,
body.page-Guia_de_Farming .mw-parser-output,
body.page-Beginner_Leveling_Guide #bodyContent,
body.page-Beginner_Leveling_Guide .mw-body-content,
body.page-Beginner_Leveling_Guide .mw-parser-output {
margin: 0 !important;
padding: 0 !important;
background: transparent !important;
}
/* optional generic fallback for any future guide page using timero root */
body:not(.page-Main_Page):has(.timero-wiki-root) #bodyContent,
body:not(.page-Main_Page):has(.timero-wiki-root) .mw-body-content,
body:not(.page-Main_Page):has(.timero-wiki-root) .mw-parser-output,
body:not(.page-Main_Page):has(#farming-guide-root) #bodyContent,
body:not(.page-Main_Page):has(#farming-guide-root) .mw-body-content,
body:not(.page-Main_Page):has(#farming-guide-root) .mw-parser-output,
body:not(.page-Main_Page):has(#leveling-guide-root) #bodyContent,
body:not(.page-Main_Page):has(#leveling-guide-root) .mw-body-content,
body:not(.page-Main_Page):has(#leveling-guide-root) .mw-parser-output {
margin: 0 !important;
padding: 0 !important;
background: transparent !important;
}
/* 3) Hide default MediaWiki page title + subtitle on custom guide pages */
body.page-Guia_de_Farming #firstHeading,
body.page-Guia_de_Farming .mw-first-heading,
body.page-Guia_de_Farming #contentSub,
body.page-Beginner_Leveling_Guide #firstHeading,
body.page-Beginner_Leveling_Guide .mw-first-heading,
body.page-Beginner_Leveling_Guide #contentSub {
display: none !important;
}
body:not(.page-Main_Page):has(.timero-wiki-root) #firstHeading,
body:not(.page-Main_Page):has(.timero-wiki-root) .mw-first-heading,
body:not(.page-Main_Page):has(.timero-wiki-root) #contentSub,
body:not(.page-Main_Page):has(#farming-guide-root) #firstHeading,
body:not(.page-Main_Page):has(#farming-guide-root) .mw-first-heading,
body:not(.page-Main_Page):has(#farming-guide-root) #contentSub,
body:not(.page-Main_Page):has(#leveling-guide-root) #firstHeading,
body:not(.page-Main_Page):has(#leveling-guide-root) .mw-first-heading,
body:not(.page-Main_Page):has(#leveling-guide-root) #contentSub {
display: none !important;
}
/* 4) Keep the article shell itself intact, but remove fake spacing conflicts */
body.page-Guia_de_Farming #content,
body.page-Guia_de_Farming .mw-body,
body.page-Beginner_Leveling_Guide #content,
body.page-Beginner_Leveling_Guide .mw-body {
overflow: hidden !important;
}
/* 5) Prevent inherited heading borders inside custom guide content */
.timero-wiki-root h1,
.timero-wiki-root h2,
.timero-wiki-root h3,
.timero-wiki-root h4,
.timero-wiki-root h5,
.timero-wiki-root h6,
#farming-guide-root h1,
#farming-guide-root h2,
#farming-guide-root h3,
#farming-guide-root h4,
#farming-guide-root h5,
#farming-guide-root h6,
#leveling-guide-root h1,
#leveling-guide-root h2,
#leveling-guide-root h3,
#leveling-guide-root h4,
#leveling-guide-root h5,
#leveling-guide-root h6 {
border: none !important;
border-bottom: none !important;
padding-bottom: 0 !important;
}
/* 6) Prevent parser/code pollution inside custom guide wrappers */
.timero-wiki-root pre,
.timero-wiki-root code,
.timero-wiki-root .mw-code,
#farming-guide-root pre,
#farming-guide-root code,
#farming-guide-root .mw-code,
#leveling-guide-root pre,
#leveling-guide-root code,
#leveling-guide-root .mw-code {
display: inline !important;
margin: 0 !important;
padding: 0 !important;
background: transparent !important;
border: 0 !important;
color: inherit !important;
white-space: normal !important;
font: inherit !important;
line-height: inherit !important;
overflow: visible !important;
}
/* =========================================================
MAIN PAGE — ENCICLOPÉDIA DATABASE BOXES
========================================================= */
.timero-db2-section {
background: linear-gradient(180deg, #07101e 0%, #05080f 100%);
padding: 72px 42px;
border-top: 1px solid rgba(255,255,255,0.05);
border-bottom: 1px solid rgba(255,255,255,0.05);
}
.timero-db2-head {
width: min(1220px, calc(100% - 40px));
margin: 0 auto 28px;
text-align: center;
}
.timero-db2-kicker {
display: inline-flex;
align-items: center;
min-height: 32px;
padding: 0 16px;
border-radius: 999px;
background: rgba(0,212,255,0.08);
border: 1px solid rgba(0,212,255,0.18);
color: #00d4ff;
font-size: 0.68rem;
font-weight: 800;
letter-spacing: 0.18em;
text-transform: uppercase;
margin-bottom: 16px;
}
.timero-db2-head h2 {
margin: 0 0 10px 0;
color: #fff !important;
font-family: 'Barlow Condensed', 'Segoe UI', sans-serif !important;
font-size: clamp(2rem, 3.8vw, 3rem);
font-weight: 900;
line-height: 1;
border: none !important;
}
.timero-db2-head p {
margin: 0;
color: rgba(130,165,215,0.82);
font-size: 1rem;
line-height: 1.8;
}
.timero-db2-grid {
width: min(1220px, calc(100% - 40px));
margin: 0 auto;
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 16px;
}
.timero-db2-quest-row {
width: min(1220px, calc(100% - 40px));
margin: 16px auto 0;
justify-content: center;
align-items: center;
display: inline-flex;
}
.timero-db2-quest {
max-width: calc((100% - 48px) / 4);
}
.timero-db2-card {
border-radius: 22px;
overflow: hidden;
background: linear-gradient(180deg, rgba(8,18,32,0.96), rgba(5,10,18,0.98));
border: 1px solid rgba(255,255,255,0.08);
box-shadow:
0 16px 34px rgba(0,0,0,0.22),
0 0 0 1px rgba(255,255,255,0.02) inset;
transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, filter .18s ease;
}
.timero-db2-card:hover {
transform: translateY(-4px);
filter: brightness(1.03);
}
.timero-db2-card > a {
display: block;
text-decoration: none !important;
color: inherit !important;
}
.timero-db2-link {
min-height: 124px;
padding: 20px 22px;
display: flex;
align-items: center;
gap: 16px;
text-decoration: none !important;
color: inherit !important;
}
.timero-db2-icon {
width: 56px;
height: 56px;
border-radius: 18px;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.45rem;
flex: 0 0 auto;
background: rgba(255,255,255,0.04);
box-shadow: 0 0 0 1px rgba(255,255,255,0.04) inset;
}
.timero-db2-copy {
display: flex;
flex-direction: column;
min-width: 0;
}
.timero-db2-title {
color: #fff;
font-family: 'Barlow Condensed', 'Segoe UI', sans-serif;
font-size: 1.6rem;
font-weight: 800;
line-height: 1;
margin-bottom: 6px;
}
.timero-db2-sub {
font-size: 0.84rem;
font-weight: 700;
letter-spacing: 0.04em;
line-height: 1.4;
text-transform: none;
}
/* color variants */
.timero-db2-red {
border-color: rgba(255,53,94,0.24);
box-shadow:
0 16px 34px rgba(0,0,0,0.22),
0 0 0 1px rgba(255,255,255,0.02) inset,
0 0 28px rgba(255,53,94,0.06);
}
.timero-db2-red .timero-db2-icon { color: #ff6a8a; }
.timero-db2-red .timero-db2-sub { color: #ff355e; }
.timero-db2-gold {
border-color: rgba(255,176,32,0.24);
box-shadow:
0 16px 34px rgba(0,0,0,0.22),
0 0 0 1px rgba(255,255,255,0.02) inset,
0 0 28px rgba(255,176,32,0.06);
}
.timero-db2-gold .timero-db2-icon { color: #dff6ff; }
.timero-db2-gold .timero-db2-sub { color: #ffb020; }
.timero-db2-cyan {
border-color: rgba(0,212,255,0.24);
box-shadow:
0 16px 34px rgba(0,0,0,0.22),
0 0 0 1px rgba(255,255,255,0.02) inset,
0 0 28px rgba(0,212,255,0.06);
}
.timero-db2-cyan .timero-db2-icon { color: #63e9ff; }
.timero-db2-cyan .timero-db2-sub { color: #00d4ff; }
.timero-db2-purple {
border-color: rgba(143,99,255,0.24);
box-shadow:
0 16px 34px rgba(0,0,0,0.22),
0 0 0 1px rgba(255,255,255,0.02) inset,
0 0 28px rgba(143,99,255,0.06);
}
.timero-db2-purple .timero-db2-icon { color: #ffe45f; }
.timero-db2-purple .timero-db2-sub { color: #ab84ff; }
.timero-db2-green {
border-color: rgba(0,255,136,0.24);
box-shadow:
0 16px 34px rgba(0,0,0,0.22),
0 0 0 1px rgba(255,255,255,0.02) inset,
0 0 28px rgba(0,255,136,0.06);
}
.timero-db2-green .timero-db2-icon { color: #f2dfcb; }
.timero-db2-green .timero-db2-sub { color: #00ff88; }
/* nav cards */
.timero-nav-card {
cursor: pointer;
}
.timero-nav-card:hover {
transform: translateY(-4px);
box-shadow: 0 22px 48px rgba(0,0,0,0.28) !important;
filter: brightness(1.04);
}
@media (max-width: 1180px) {
.timero-db2-grid {
grid-template-columns: repeat(2, 1fr);
}
.timero-db2-quest {
max-width: 100%;
}
}
@media (max-width: 640px) {
.timero-db2-grid {
grid-template-columns: 1fr;
}
.timero-db2-link {
min-height: 96px;
padding: 16px 18px;
}
.timero-db2-title {
font-size: 1.65rem;
}
.timero-db2-sub {
font-size: 0.8rem;
}
}