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.
/* ═══════════════════════════════════════════════════════════════════
MediaWiki:Common.css — TimeRO Wiki Design System
Strategy:
1) Keep Main Page as special landing page
2) Apply a safe dark theme globally to the rest of the wiki
3) Preserve readability for normal articles, tables, and forms
═══════════════════════════════════════════════════════════════════ */
/* ── Fonts ─────────────────────────────────────────────────────── */
@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');
/* ═══════════════════════════════════════════════════════════════════
1) GLOBAL THEME — ALL WIKI PAGES
═══════════════════════════════════════════════════════════════════ */
html,
body {
background: #05080f !important;
color: #e8eef8;
font-family: 'Rajdhani', 'Segoe UI', system-ui, sans-serif;
}
/* Main wiki containers */
body:not(.page-Main_Page) #content,
body:not(.page-Main_Page) .mw-body {
background: linear-gradient(180deg, #05080f 0%, #08111d 100%) !important;
color: #e8eef8 !important;
border: 1px solid rgba(255,255,255,0.05);
box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
/* Keep normal pages readable and centered */
body:not(.page-Main_Page) #bodyContent,
body:not(.page-Main_Page) .mw-body-content,
body:not(.page-Main_Page) .mw-parser-output {
color: #e8eef8 !important;
}
/* Typography */
.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 {
font-family: 'Rajdhani', 'Segoe UI', system-ui, sans-serif;
color: #dfe9f7;
}
.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', system-ui, sans-serif;
color: #ffffff !important;
letter-spacing: 0.02em;
}
/* Heading lines for normal pages */
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: 6px;
}
/* Links */
.mw-body a,
.mw-parser-output a,
.vector-body a {
color: #33cfff;
text-decoration: none;
}
.mw-body a:hover,
.mw-parser-output a:hover,
.vector-body a:hover {
color: #9b6bff !important;
text-decoration: underline;
}
/* Visited links */
.mw-body a:visited,
.mw-parser-output a:visited {
color: #7fdcff !important;
}
/* Lists */
.mw-parser-output ul,
.mw-parser-output ol {
padding-left: 1.6rem;
}
/* Horizontal rules */
.mw-parser-output hr {
border: none;
border-top: 1px solid rgba(255,255,255,0.08);
margin: 24px 0;
}
/* Blockquotes */
.mw-parser-output blockquote {
background: rgba(255,255,255,0.03);
border-left: 3px solid rgba(0,212,255,0.35);
padding: 14px 16px;
color: #d5e4f5;
border-radius: 10px;
}
/* Code / pre */
.mw-parser-output code,
.mw-parser-output pre,
.mw-code {
background: rgba(0,0,0,0.28) !important;
color: #d8f2ff !important;
border: 1px solid rgba(255,255,255,0.08);
border-radius: 8px;
}
.mw-parser-output pre {
padding: 14px;
overflow: auto;
}
/* Table of contents */
#toc,
.toc,
.mw-parser-output .toc {
background: rgba(8,18,32,0.92) !important;
border: 1px solid rgba(0,212,255,0.14) !important;
border-radius: 14px;
padding: 12px 14px;
color: #e8eef8;
}
#toc .toctitle,
.toc .toctitle {
color: #ffffff;
font-family: 'Barlow Condensed', sans-serif;
}
/* Wikitables */
.wikitable,
table.wikitable {
background: rgba(10,20,36,0.92) !important;
color: #e8eef8 !important;
border: 1px solid rgba(0,212,255,0.16) !important;
border-collapse: collapse;
}
.wikitable th,
table.wikitable th {
background: rgba(0,212,255,0.10) !important;
color: #ffffff !important;
border: 1px solid rgba(255,255,255,0.08) !important;
font-weight: 700;
}
.wikitable td,
table.wikitable td {
background: rgba(255,255,255,0.02) !important;
color: #dfe9f7 !important;
border: 1px solid rgba(255,255,255,0.08) !important;
}
/* Forms / inputs */
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 {
background: rgba(12,18,28,0.95) !important;
color: #eef6ff !important;
border: 1px solid rgba(255,255,255,0.12) !important;
border-radius: 10px;
}
input:focus,
select:focus,
textarea:focus {
outline: none;
border-color: rgba(0,212,255,0.45) !important;
box-shadow: 0 0 0 3px rgba(0,212,255,0.12);
}
/* Buttons */
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: 10px;
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);
}
/* Search box / interface bits */
.vector-search-box-input,
.cdx-text-input__input {
background: rgba(12,18,28,0.95) !important;
color: #eef6ff !important;
border-color: rgba(255,255,255,0.12) !important;
}
/* Tabs / page actions */
.vector-page-toolbar,
.vector-page-tools,
.vector-pinnable-element,
.vector-column-end,
.vector-sticky-pinned-container {
color: #dfe9f7;
}
/* Sidebar / navigation */
#mw-panel,
.vector-column-start,
.vector-sidebar,
.vector-menu {
background: transparent;
}
#mw-panel a,
.vector-column-start a,
.vector-menu a {
color: #bfe8ff !important;
}
#mw-panel a:hover,
.vector-column-start a:hover,
.vector-menu a:hover {
color: #ffffff !important;
}
/* Categories */
.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;
}
/* Images and thumbs */
.thumbinner,
div.thumbinner {
background: rgba(255,255,255,0.03) !important;
border: 1px solid rgba(255,255,255,0.08) !important;
border-radius: 12px;
}
/* Message boxes */
.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;
}
/* ═══════════════════════════════════════════════════════════════════
2) MAIN PAGE ONLY — KEEP SPECIAL LANDING PAGE BEHAVIOR
═══════════════════════════════════════════════════════════════════ */
body.page-Main_Page #content,
body.page-Main_Page .mw-body {
padding: 0 !important;
border: none !important;
background: transparent !important;
box-shadow: none !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;
}
body.page-Main_Page #firstHeading,
body.page-Main_Page .mw-first-heading,
body.page-Main_Page #contentSub {
display: none !important;
}
/* ═══════════════════════════════════════════════════════════════════
3) TIMERO CUSTOM COMPONENT SYSTEM
═══════════════════════════════════════════════════════════════════ */
@keyframes timero-pulse-glow {
0%, 100% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.2); }
50% { box-shadow: 0 0 40px rgba(0, 212, 255, 0.5); }
}
@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-wiki-root,
.timero-wiki-root * {
font-family: 'Rajdhani', 'Segoe UI', system-ui, sans-serif;
box-sizing: border-box;
}
.timero-wiki-root {
display: block;
margin: -1em -1.5em;
background: #05080f;
min-height: 100vh;
color: #e8eef8;
}
.timero-wiki-root h2 {
font-family: 'Barlow Condensed', 'Segoe UI', system-ui, sans-serif;
border: none !important;
border-bottom: none !important;
}
.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;
}
/* Keep custom links inside landing blocks neutral when needed */
.timero-wiki-root .timero-card a {
color: inherit !important;
}
/* ═══════════════════════════════════════════════════════════════════
4) RESPONSIVE
═══════════════════════════════════════════════════════════════════ */
@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 {
padding-left: 20px !important;
padding-right: 20px !important;
}
.timero-hero [style*="display:flex;gap:12px;justify-content:center"] {
flex-direction: column !important;
align-items: center !important;
}
}
/* ═══════════════════════════════════════════════════════════════════
5) PRINT
═══════════════════════════════════════════════════════════════════ */
@media print {
.timero-hero [style*="position:absolute"] {
display: none !important;
}
.timero-wiki-root [style*="background:linear-gradient"] {
background: #f0f0f0 !important;
}
}
/* ═══════════════════════════════════════════════════════════════════
TIME RO WIKI — SKIN CHROME STYLING
Styles Vector header, sidebar, tabs, and footer
═══════════════════════════════════════════════════════════════════ */
/* PAGE SHELL */
body {
background: #05080f !important;
color: #e8eef8 !important;
}
/* TOP HEADER / SKIN BAR */
.vector-sticky-header,
.vector-header,
#mw-page-base,
#mw-head,
.vector-page-toolbar,
.vector-pinnable-header,
.vector-pinnable-element {
background: linear-gradient(180deg, #07101e 0%, #0a1628 100%) !important;
color: #e8eef8 !important;
border-color: rgba(255,255,255,0.08) !important;
box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
/* SITE LOGO / WORDMARK AREA */
.vector-header-container,
.vector-header-start,
.vector-header-end {
background: transparent !important;
}
/* HEADER LINKS / BUTTONS */
.vector-header a,
.vector-sticky-header a,
.vector-page-toolbar a,
.vector-pinnable-header a,
#mw-head a {
color: #c8ecff !important;
}
.vector-header a:hover,
.vector-sticky-header a:hover,
.vector-page-toolbar a:hover,
.vector-pinnable-header a:hover,
#mw-head a:hover {
color: #ffffff !important;
text-decoration: none !important;
}
/* PAGE TABS / ACTIONS */
.vector-menu-tabs .vector-menu-content-list,
.vector-menu-tabs-legacy .vector-menu-content-list,
.vector-page-toolbar-container,
.vector-user-links {
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 #00d4ff !important;
}
/* SEARCH */
.vector-search-box-input,
.cdx-text-input__input,
#searchInput {
background: rgba(10,18,30,0.95) !important;
color: #eef6ff !important;
border: 1px solid rgba(255,255,255,0.12) !important;
border-radius: 10px !important;
}
.vector-search-box-input:focus,
.cdx-text-input__input:focus,
#searchInput:focus {
border-color: rgba(0,212,255,0.45) !important;
box-shadow: 0 0 0 3px rgba(0,212,255,0.12) !important;
}
/* LEFT SIDEBAR */
#mw-panel,
.vector-column-start,
.vector-sidebar,
.vector-sidebar-container,
.vector-menu,
.vector-menu-portal,
.vector-pinnable-element,
.vector-toc {
background: linear-gradient(180deg, #07101e 0%, #081423 100%) !important;
color: #dfe9f7 !important;
border-color: rgba(255,255,255,0.06) !important;
}
/* SIDEBAR SECTION TITLES */
.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;
}
/* SIDEBAR LINKS */
#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;
}
/* SIDEBAR BLOCK SEPARATORS */
.vector-menu-portal,
.portal {
border-bottom: 1px solid rgba(255,255,255,0.05) !important;
padding-bottom: 10px;
margin-bottom: 10px;
}
/* CONTENT WRAPPER */
.vector-column-end,
.vector-body,
.mw-body,
#content {
color: #e8eef8 !important;
}
/* 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 LINKS */
#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 LISTS */
#footer ul,
.mw-footer ul,
.vector-footer ul {
color: #a9bfd8 !important;
}
/* LOGO / WORDMARK TEXT IF PRESENT */
.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));
}
/* PERSONAL TOOLS / USER MENU */
.vector-user-links,
.vector-user-menu,
#p-personal,
#p-vector-user-menu-overflow {
background: transparent !important;
color: #dfe9f7 !important;
}
/* SMALL CHROME BUTTONS */
.cdx-button,
.vector-button,
button.vector-menu-heading {
border-radius: 10px !important;
}
/* OPTIONAL: make sidebar and content visually match */
.vector-column-start,
.vector-column-end {
background: transparent !important;
}