Diferencia entre revisiones de «MediaWiki:Common.css»

De ForkliftX Wiki
Sin resumen de edición
Sin resumen de edición
Línea 283: Línea 283:
     text-transform: uppercase;
     text-transform: uppercase;
     letter-spacing: 0.5px;
     letter-spacing: 0.5px;
}
/* Mantener visible la barra de edición superior */
#p-views, .vector-page-toolbar {
    display: block !important;
    background: #151a21 !important;
    padding: 5px 15px !important;
}
}

Revisión del 19:51 12 nov 2026

/* Los estilos CSS colocados aquí se aplicarán a todas las apariencias */
/* Paleta base Fextralife */
body, #content, .mw-body {
    background-color: #121212 !important;
    color: #dedede !important;
    border-color: #2b2b2b !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Enlaces estilo dorado/ámbar */
a {
    color: #e5b358 !important;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
    color: #ffd27d !important;
}
a:visited {
    color: #c9983e !important;
}

/* Barra lateral y navegación */
#mw-navigation, #mw-panel, .vector-menu-portal {
    background-color: #181818 !important;
}
.vector-menu-portal .vector-menu-heading {
    color: #e5b358 !important;
    border-bottom: 1px solid #332a18 !important;
    font-weight: bold;
    text-transform: uppercase;
}
.vector-menu-portal ul li a {
    color: #bbb !important;
}
.vector-menu-portal ul li a:hover {
    color: #fff !important;
}

/* Encabezados h1, h2, h3 */
h1, h2, h3, h4, .firstHeading {
    color: #f1c40f !important;
    border-bottom: 1px solid #3d3420 !important;
}

/* Ficha técnica lateral (Infobox) */
.fextra-infobox {
    float: right;
    width: 320px;
    margin: 0 0 1.5em 1.5em;
    background-color: #1a1a1a;
    border: 1px solid #3a3220;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.6);
    overflow: hidden;
}
.fextra-infobox table {
    width: 100%;
    border-collapse: collapse;
}
.fextra-infobox th.header {
    background-color: #282114;
    color: #f1c40f;
    font-size: 1.25em;
    padding: 10px;
    text-align: center;
    border-bottom: 2px solid #574624;
}
.fextra-infobox th {
    background-color: #212121;
    color: #e5b358;
    padding: 6px 10px;
    text-align: left;
    font-size: 0.9em;
    border-top: 1px solid #2d2d2d;
    width: 40%;
}
.fextra-infobox td {
    padding: 6px 10px;
    color: #eee;
    font-size: 0.9em;
    border-top: 1px solid #2d2d2d;
}

/* Tablas de datos estilo wikitable */
.wikitable {
    background-color: #181818 !important;
    color: #eee !important;
    border: 1px solid #333 !important;
    border-collapse: collapse;
}
.wikitable th {
    background-color: #2b2518 !important;
    color: #f1c40f !important;
    border: 1px solid #3a3a3a !important;
    padding: 8px;
}
.wikitable td {
    border: 1px solid #282828 !important;
    padding: 6px 8px;
}

/* ========================================================
   ESTRUCTURA Y MAQUETACIÓN ESTILO FEXTRALIFE
   ======================================================== */

/* Fondo general de la web con imagen de fondo superior (Hero) */
body {
    background-color: #0b0d10 !important;
    background-image: linear-gradient(to bottom, rgba(11, 13, 16, 0.2) 0%, rgba(11, 13, 16, 0.95) 450px, #0b0d10 600px), 
                      url('https://wiki.freddycano.com/images/d/d4/Logo.jpg') !important; /* Puedes cambiar por un banner panorámico */
    background-repeat: no-repeat !important;
    background-position: top center !important;
    background-size: 100% 600px, 100% auto !important;
}

/* Área central de contenido */
#content, .mw-body {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-left: 12em; /* Respeta la barra lateral de MediaWiki */
}

/* Título de MediaWiki oculto en la portada */
.page-Página_principal #firstHeading, 
.page-Página_principal #siteSub, 
.page-Página_principal #contentSub {
    display: none !important;
}

/* Menú de navegación horizontal de píldoras */
.fextra-nav-bar {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 20px 0 35px 0;
    flex-wrap: wrap;
}
.fextra-nav-btn {
    background: rgba(20, 24, 30, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0 !important;
    padding: 7px 18px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    text-decoration: none !important;
    backdrop-filter: blur(6px);
    transition: all 0.2s ease;
}
.fextra-nav-btn:hover {
    background: rgba(245, 158, 11, 0.2);
    border-color: #f59e0b;
    color: #f59e0b !important;
}

/* Distribución a 2 columnas (Izquierda: Contenido | Derecha: Sidebar) */
.fextra-layout {
    display: flex;
    gap: 24px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 15px;
}
.fextra-main-column {
    flex: 1;
    min-width: 0;
}
.fextra-side-column {
    width: 310px;
    flex-shrink: 0;
}

/* Tarjeta Hero Principal (Banner Palworld Wiki) */
.fextra-hero-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #151a21;
    border: 1px solid #242c37;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    margin-bottom: 24px;
}
.fextra-hero-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}
.fextra-hero-overlay {
    position: absolute;
    bottom: 45px;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(13, 17, 23, 0.95) 0%, rgba(13, 17, 23, 0.4) 70%, transparent 100%);
}
.fextra-hero-overlay h1 {
    color: #ffffff !important;
    font-size: 2.1em !important;
    font-weight: 800;
    margin: 0 0 6px 0 !important;
    border: none !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}
.fextra-hero-overlay p {
    color: #94a3b8;
    font-size: 0.95em;
    margin: 0;
    max-width: 600px;
}

/* Barra inferior del Banner (Último update y versión) */
.fextra-hero-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0d1117;
    padding: 10px 20px;
    border-top: 1px solid #1f2631;
    font-size: 0.82em;
}
.fextra-hero-footer .update-badge {
    color: #94a3b8;
}
.fextra-hero-footer .update-badge strong {
    color: #e2e8f0;
}
.fextra-hero-footer .version-badge {
    color: #94a3b8;
}

/* Tarjetas de widgets columna derecha */
.fextra-widget-box {
    background: #151a21;
    border: 1px solid #242c37;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.fextra-btn-google {
    display: block;
    text-align: center;
    background: #ffffff;
    color: #1e293b !important;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.85em;
    margin: 12px 0 8px 0;
    text-decoration: none !important;
}
.fextra-banner-img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

/* Fila de Contadores / Stats inferiores */
.fextra-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 15px;
}
.fextra-stat-item {
    background: #151a21;
    border: 1px solid #242c37;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}
.fextra-stat-number {
    font-size: 1.8em;
    font-weight: 700;
    color: #f59e0b;
}
.fextra-stat-label {
    font-size: 0.8em;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
/* Mantener visible la barra de edición superior */
#p-views, .vector-page-toolbar {
    display: block !important;
    background: #151a21 !important;
    padding: 5px 15px !important;
}