MediaWiki:Common.css
Nota: Después de publicar, quizás necesite actualizar la caché de su navegador para ver los cambios.
- Firefox/Safari: Mantenga presionada la tecla Shift mientras pulsa el botón Actualizar, o presiona Ctrl+F5 o Ctrl+R (⌘+R en Mac)
- Google Chrome: presione Ctrl+Shift+R (⌘+Shift+R en Mac)
- Edge: mantenga presionada Ctrl mientras pulsa Actualizar, o presione Ctrl+F5
/* =========================
BASE + TIPOGRAFÍA
========================= */
:root {
color-scheme: dark;
}
body {
font-family: "Liberation Sans", Arial, Helvetica, sans-serif !important;
background-color: #121212 !important;
color: #e6e6e6 !important;
}
/* =========================
CONTENIDO PRINCIPAL
========================= */
#content, .mw-body {
background-color: #1a1a1a !important;
color: #e6e6e6 !important;
border: none !important;
}
/* =========================
LINKS
========================= */
a { color: #6aa9ff !important; }
a:visited { color: #b08cff !important; }
/* =========================
SIDEBAR / MENÚ
========================= */
#mw-panel,
#mw-head {
background-color: #111 !important;
}
/* =========================
TABLAS (CRÍTICO)
========================= */
table, .wikitable {
background-color: #1e1e1e !important;
color: #ddd !important;
border: 1px solid #333 !important;
}
.wikitable th {
background-color: #2a2a2a !important;
color: #fff !important;
}
.wikitable td {
background-color: #1e1e1e !important;
color: #ddd !important;
}
/* evitar blancos agresivos */
th, td {
border-color: #333 !important;
}
/* =========================
INFOBOX / NAVBOX
========================= */
.infobox,
.notaninfobox,
.navbox,
.loadbox-navbox {
background-color: #1b1b1b !important;
color: #ddd !important;
border: 1px solid #333 !important;
}
.navbox th {
background-color: #222 !important;
color: #eee !important;
}
/* =========================
GRID / TEMPLATES MINECRAFT
========================= */
.grid {
background-color: #2a2a2a !important;
border-color: #444 !important;
}
.grid-Crafting_Table,
.grid-Furnace,
.grid-Brewing_Stand table,
.grid-generic {
background-color: #222 !important;
border: 1px solid #444 !important;
}
/* =========================
IMÁGENES / FILES
========================= */
img {
background: transparent !important;
}
#file img {
max-width: 100%;
height: auto;
}
/* =========================
FIX BLANCOS HEREDADOS (IMPORTANTE)
========================= */
div, section, article {
background-color: transparent;
}
/* SOLO sobrescribir si vienen blancos de MediaWiki */
.mw-body-content, .mw-parser-output {
background-color: transparent !important;
}
/* =========================
MENOS DAÑO A EXTENSIONES
========================= */
.collapsible,
.alternaterows tr:nth-child(even),
.alternatecells:nth-child(odd) {
background-color: #181818 !important;
}
/* =========================
HEADER VERDE (Minecraft style, adaptado)
========================= */
.mcwiki-header {
background: #2e7d32 !important;
border: 1px solid #333 !important;
}
.mcwiki-mon-header {
background: #1e88e5 !important;
}
/* =========================
QUITAR BLANCOS BRUTALES
========================= */
* {
box-shadow: none !important;
}
/* Evitar fondos blancos legacy */
table, tr, td, th {
background-image: none !important;
}