MediaWiki:Common.css

De WikiMinecraft
Ir a la navegación Ir a la búsqueda

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 MODERNA VECTOR 2022
   ========================= */

:root {
    color-scheme: dark;
}

html, body {
    background: #0f1115 !important;
    color: #e6e6e6 !important;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    margin: 0 !important;
}

/* Quitar “marco raro” lateral de MediaWiki */
.mw-page-container,
.mw-body,
.mw-body-content {
    background: transparent !important;
    box-shadow: none !important;
}

/* Contenedor central moderno */
.mw-body {
    background: #151922 !important;
    border-radius: 14px;
    margin: 16px auto !important;
    padding: 24px;
    max-width: 1200px;
}

/* =========================
   TOP BAR / SIDEBAR MODERNO
   ========================= */

#mw-panel,
#mw-head {
    background: #0c0e12 !important;
    border: none !important;
}

/* Sidebar más limpio */
#mw-panel {
    padding: 10px;
}

/* =========================
   LINKS MODERNOS
   ========================= */

a {
    color: #6aa9ff !important;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:visited {
    color: #b08cff !important;
}

/* =========================
   TABLAS MODERNAS
   ========================= */

table, .wikitable {
    background: #1a1f2b !important;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #2a2f3a !important;
}

.wikitable th {
    background: #232a38 !important;
    color: #ffffff !important;
    padding: 10px;
}

.wikitable td {
    background: #161b24 !important;
    color: #d7d7d7 !important;
    padding: 8px;
}

/* =========================
   INFOBOX MODERNA
   ========================= */

.infobox,
.notaninfobox {
    background: #171c26 !important;
    border-radius: 14px;
    border: 1px solid #2a2f3a !important;
    padding: 10px;
}

/* =========================
   NAVBOX MODERNO
   ========================= */

.navbox {
    background: #151922 !important;
    border-radius: 12px;
    border: 1px solid #2a2f3a !important;
}

/* =========================
   GRID MINECRAFT SUAVIZADO
   ========================= */

.grid {
    border-radius: 6px !important;
}

/* =========================
   BOTONES / UI ELEMENTS
   ========================= */

button,
input,
select {
    border-radius: 8px !important;
}

/* =========================
   QUITAR “BORDES LATERALES” VECTOR
   ========================= */

/* ESTE ES EL FIX CLAVE */
.mw-workspace-container,
.mw-body-container {
    background: transparent !important;
    box-shadow: none !important;
}

/* evita panel blanco lateral */
.mw-page-container-inner {
    background: #0f1115 !important;
}

/* =========================
   DETALLES MODERNOS
   ========================= */

hr {
    border-color: #2a2f3a !important;
}

img {
    border-radius: 6px;
}

/* =========================
   FIX ELEMENTOS BLANCOS LEGACY
   ========================= */

table, tr, td, th {
    background-image: none !important;
}

/* =========================
   SCROLLBAR MODERNA (OPCIONAL)
   ========================= */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-thumb {
    background: #2a2f3a;
    border-radius: 10px;
}

::-webkit-scrollbar-track {
    background: #0f1115;
}