Diferencia entre revisiones de «MediaWiki:Common.css»
Sin resumen de edición |
Sin resumen de edición |
||
| Línea 333: | Línea 333: | ||
width: 100%; | width: 100%; | ||
border-collapse: collapse | border-collapse: collapse | ||
/* ========================================================================== | |||
AJUSTE FINO PARA VECTOR-2022 EN TELÉFONOS (VIEWPORT REAL) | |||
========================================================================== */ | |||
@media screen and (max-width: 960px) { | |||
/* Eliminar margen izquierdo reservado para la barra lateral en PC */ | |||
.mw-page-container, .mw-content-container, #content, .mw-body { | |||
margin-left: 0 !important; | |||
padding-left: 6px !important; | |||
padding-right: 6px !important; | |||
width: 100% !important; | |||
max-width: 100% !important; | |||
box-sizing: border-box !important; | |||
} | |||
/* Barra superior oscura compacta con menú hamburguesa y buscador */ | |||
.vector-header-container, .vector-header { | |||
background-color: #15181e !important; | |||
border-bottom: 1px solid #262b36 !important; | |||
padding: 4px 8px !important; | |||
} | |||
/* Botón hamburguesa visible en blanco */ | |||
#vector-main-menu-dropdown .vector-dropdown-label { | |||
color: #ffffff !important; | |||
filter: invert(1) brightness(2); | |||
} | |||
/* Ocultar barra de pestañas Leer/Historial en móvil para limpiar cabecera */ | |||
.vector-page-toolbar { | |||
display: none !important; | |||
} | |||
/* Ficha técnica (Infobox) ocupando el 100% arriba del texto */ | |||
.fextra-infobox { | |||
float: none !important; | |||
width: 100% !important; | |||
margin: 0 0 18px 0 !important; | |||
} | |||
/* Barra de navegación superior deslizable con el dedo */ | |||
.fextra-nav-bar { | |||
display: flex !important; | |||
flex-wrap: nowrap !important; | |||
overflow-x: auto !important; | |||
justify-content: flex-start !important; | |||
padding: 10px 4px !important; | |||
} | |||
.fextra-nav-btn { | |||
white-space: nowrap !important; | |||
flex-shrink: 0 !important; | |||
} | |||
} | |||
Revisión del 01:55 20 nov 2026
/* ==========================================================================
SISTEMA VISUAL FEXTRALIFE DARK MODE - BOBBERX WIKI
========================================================================== */
:root {
--bg-base: #0d0f12;
--bg-card: #15181e;
--bg-elevated: #1d2129;
--border-subtle: #262b36;
--accent-gold: #e5a93c;
--accent-gold-hover: #f5bd56;
--text-primary: #ffffff;
--text-body: #d1d5db;
--text-muted: #9ca3af;
}
/* 1. LIENZO PRINCIPAL Y CABECERA PANORÁMICA */
html, body {
background-color: var(--bg-base) !important;
color: var(--text-body) !important;
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
margin: 0;
padding: 0;
}
body {
background-image:
linear-gradient(to bottom, rgba(13, 15, 18, 0.35) 0%, rgba(13, 15, 18, 0.85) 360px, var(--bg-base) 520px),
url('https://wiki.freddycano.com/images/f/f7/Wallpaper.jpg') !important;
background-repeat: no-repeat !important;
background-position: top center !important;
background-size: 100% 520px, cover !important;
}
/* 2. LIMPIEZA DE INTERFAZ MEDIAWIKI (BARRA SUPERIOR Y LATERAL) */
.mw-page-container, .mw-body, #content, .vector-header-container {
background: transparent !important;
border: none !important;
box-shadow: none !important;
}
/* Barra superior oscura */
.vector-header, #mw-head {
background-color: rgba(13, 15, 18, 0.92) !important;
border-bottom: 1px solid var(--border-subtle) !important;
backdrop-filter: blur(8px);
}
.mw-logo-wordmark, #p-logo-text a {
color: var(--accent-gold) !important;
font-weight: 800 !important;
letter-spacing: 0.5px;
}
/* Buscador superior estilo Fextralife */
#searchInput, .cdx-text-input__input {
background-color: #ffffff !important;
color: #111827 !important;
border-radius: 4px 0 0 4px !important;
border: none !important;
}
#searchButton, .cdx-search-input__end-button {
background-color: var(--accent-gold) !important;
color: #0d0f12 !important;
font-weight: 700 !important;
border: none !important;
border-radius: 0 4px 4px 0 !important;
}
/* Barra lateral izquierda integrada */
#mw-panel, .vector-main-menu-container, .vector-pinned-container {
background-color: var(--bg-card) !important;
border-right: 1px solid var(--border-subtle) !important;
}
.vector-menu-heading, .vector-pinnable-header-label {
color: var(--accent-gold) !important;
border-bottom: 1px solid var(--border-subtle) !important;
font-size: 0.8em !important;
text-transform: uppercase;
letter-spacing: 0.8px;
}
.vector-menu-content-list li a {
color: var(--text-muted) !important;
font-size: 0.9em;
}
.vector-menu-content-list li a:hover {
color: var(--text-primary) !important;
}
/* Mantener barra de edición accesible */
#p-views, .vector-page-toolbar {
background: rgba(21, 24, 30, 0.85) !important;
border-bottom: 1px solid var(--border-subtle) !important;
border-radius: 6px;
margin-bottom: 10px;
}
#p-views a, .vector-page-toolbar a {
color: var(--text-muted) !important;
}
#p-views .selected a {
color: var(--accent-gold) !important;
}
/* Ocultar título redundante en portada */
.page-Página_principal #firstHeading,
.page-Página_principal #siteSub,
.page-Página_principal #contentSub {
display: none !important;
}
/* 3. ENLACES Y TIPOGRAFÍA GENERAL */
a {
color: var(--accent-gold) !important;
text-decoration: none !important;
transition: color 0.15s ease;
}
a:hover {
color: var(--accent-gold-hover) !important;
text-decoration: underline !important;
}
h1, h2, h3, h4 {
color: var(--text-primary) !important;
border-bottom: 1px solid var(--border-subtle) !important;
padding-bottom: 6px;
font-weight: 700 !important;
}
/* 4. MENÚ HORIZONTAL FLOTANTE (PÍLDORAS) */
.fextra-nav-bar {
display: flex;
justify-content: center;
align-items: center;
gap: 10px;
margin: 25px auto 35px auto;
flex-wrap: wrap;
max-width: 1260px;
}
.fextra-nav-btn {
display: inline-block;
background-color: rgba(21, 24, 30, 0.82);
border: 1px solid rgba(255, 255, 255, 0.12);
color: #f3f4f6 !important;
padding: 8px 18px;
border-radius: 999px;
font-size: 0.85em;
font-weight: 600;
backdrop-filter: blur(10px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
transition: all 0.2s ease;
}
.fextra-nav-btn:hover {
background-color: var(--bg-elevated);
border-color: var(--accent-gold);
color: var(--accent-gold) !important;
transform: translateY(-1px);
}
/* 5. ESTRUCTURA ASIMÉTRICA DE 2 COLUMNAS */
.fextra-layout {
display: flex;
align-items: flex-start;
gap: 24px;
max-width: 1260px;
margin: 0 auto;
padding: 0 16px 40px 16px;
}
.fextra-main-column {
flex: 1;
min-width: 0;
}
.fextra-side-column {
width: 310px;
flex-shrink: 0;
display: flex;
flex-direction: column;
gap: 20px;
}
/* 6. HERO CARD PRINCIPAL */
.fextra-hero-card {
position: relative;
background-color: var(--bg-card);
border: 1px solid var(--border-subtle);
border-radius: 12px;
overflow: hidden;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
margin-bottom: 20px;
}
.fextra-hero-media {
position: relative;
height: 310px;
background-color: #090a0d;
overflow: hidden;
}
.fextra-hero-media img {
width: 100% !important;
height: 310px !important;
object-fit: cover !important;
display: block;
opacity: 0.85;
}
.fextra-hero-overlay {
position: absolute;
bottom: 0;
left: 0;
right: 0;
padding: 60px 28px 24px 28px;
background: linear-gradient(to top, #15181e 10%, rgba(21, 24, 30, 0.75) 55%, transparent 100%);
}
.fextra-hero-title {
font-size: 2.25em;
font-weight: 800;
color: var(--text-primary);
line-height: 1.15;
margin-bottom: 8px;
text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}
.fextra-hero-desc {
font-size: 0.95em;
color: var(--text-body);
line-height: 1.5;
max-width: 680px;
}
.fextra-hero-footer {
display: flex;
justify-content: space-between;
align-items: center;
background-color: #101318;
padding: 12px 28px;
border-top: 1px solid var(--border-subtle);
font-size: 0.82em;
flex-wrap: wrap;
gap: 10px;
}
.fextra-tag-update {
color: var(--text-muted);
text-transform: uppercase;
font-weight: 700;
font-size: 0.88em;
letter-spacing: 0.5px;
margin-right: 6px;
}
/* 7. CUADRÍCULA DE 4 CONTADORES */
.fextra-stats-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 16px;
margin-bottom: 28px;
}
.fextra-stat-card {
background-color: var(--bg-card);
border: 1px solid var(--border-subtle);
border-radius: 10px;
padding: 20px 12px;
text-align: center;
transition: border-color 0.2s ease;
}
.fextra-stat-card:hover {
border-color: var(--accent-gold);
}
.fextra-stat-num {
font-size: 2em;
font-weight: 800;
color: var(--accent-gold);
line-height: 1.1;
margin-bottom: 6px;
}
.fextra-stat-lbl {
font-size: 0.78em;
font-weight: 600;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.6px;
}
/* 8. WIDGETS DE LA COLUMNA DERECHA */
.fextra-widget {
background-color: var(--bg-card);
border: 1px solid var(--border-subtle);
border-radius: 12px;
padding: 20px;
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}
.fextra-cta-white {
display: block;
background-color: #ffffff;
color: #0d0f12 !important;
font-weight: 700;
font-size: 0.88em;
padding: 10px 16px;
border-radius: 6px;
text-align: center;
margin-top: 14px;
transition: background-color 0.2s ease;
}
.fextra-cta-white:hover {
background-color: #e5e7eb;
text-decoration: none !important;
}
/* 9. TABLAS E INFOBOXES INTERNOS */
.wikitable {
background-color: var(--bg-card) !important;
color: var(--text-body) !important;
border: 1px solid var(--border-subtle) !important;
border-radius: 8px;
overflow: hidden;
}
.wikitable th {
background-color: var(--bg-elevated) !important;
color: var(--accent-gold) !important;
border: 1px solid var(--border-subtle) !important;
padding: 10px 14px !important;
text-align: left;
}
.wikitable td {
border: 1px solid var(--border-subtle) !important;
padding: 10px 14px !important;
}
.fextra-infobox {
float: right;
width: 320px;
margin: 0 0 1.5em 1.5em;
background-color: var(--bg-card);
border: 1px solid var(--border-subtle);
border-radius: 10px;
overflow: hidden;
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}
.fextra-infobox table {
width: 100%;
border-collapse: collapse
/* ==========================================================================
AJUSTE FINO PARA VECTOR-2022 EN TELÉFONOS (VIEWPORT REAL)
========================================================================== */
@media screen and (max-width: 960px) {
/* Eliminar margen izquierdo reservado para la barra lateral en PC */
.mw-page-container, .mw-content-container, #content, .mw-body {
margin-left: 0 !important;
padding-left: 6px !important;
padding-right: 6px !important;
width: 100% !important;
max-width: 100% !important;
box-sizing: border-box !important;
}
/* Barra superior oscura compacta con menú hamburguesa y buscador */
.vector-header-container, .vector-header {
background-color: #15181e !important;
border-bottom: 1px solid #262b36 !important;
padding: 4px 8px !important;
}
/* Botón hamburguesa visible en blanco */
#vector-main-menu-dropdown .vector-dropdown-label {
color: #ffffff !important;
filter: invert(1) brightness(2);
}
/* Ocultar barra de pestañas Leer/Historial en móvil para limpiar cabecera */
.vector-page-toolbar {
display: none !important;
}
/* Ficha técnica (Infobox) ocupando el 100% arriba del texto */
.fextra-infobox {
float: none !important;
width: 100% !important;
margin: 0 0 18px 0 !important;
}
/* Barra de navegación superior deslizable con el dedo */
.fextra-nav-bar {
display: flex !important;
flex-wrap: nowrap !important;
overflow-x: auto !important;
justify-content: flex-start !important;
padding: 10px 4px !important;
}
.fextra-nav-btn {
white-space: nowrap !important;
flex-shrink: 0 !important;
}
}