MediaWiki:Vector.css
De DerechoPedia
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
/* Todo CSS colocado en esta página será cargado para los usuarios que usen la apariencia "Vector" */
/* --- ARREGLO DEL DISEÑO VECTOR --- */
/* 1. CONFIGURACIÓN DE LA CABECERA (LOGO Y FONDO) */
#mw-head {
/* Esta instrucción le dice al navegador que use tu imagen como fondo */
background-image: url('https://s23.derechopedia.cl/kya.cl/Sky.png') !important;
background-color: #263355 !important; /* Azul de respaldo */
background-position: center top !important;
background-repeat: no-repeat !important;
background-size: cover !important;
}
/* 2. TEXTOS DEL MENÚ SUPERIOR EN BLANCO */
/* Esto hace que "Discusión", "Preferencias", etc. se vean blancos sobre el cielo */
#p-namespaces li > a,
#p-views li > a,
#p-cactions li > a,
#p-personal li a {
color: #ffffff !important;
font-weight: bold !important;
text-shadow: 0 1px 2px rgba(0,0,0,0.5) !important; /* Sombra suave para leer mejor */
background: none !important;
}
/* 3. PESTAÑA ACTIVA (EN LA QUE ESTÁS) */
#p-namespaces li.selected > a,
#p-views li.selected > a {
background-color: #ffffff !important;
color: #263355 !important; /* Texto azul sobre fondo blanco */
border-bottom: none !important;
border-radius: 4px 4px 0 0 !important;
}
/* 4. MENÚ LATERAL (BARRA IZQUIERDA) */
/* Títulos en azul corporativo */
.vector-menu-heading {
color: #263355 !important;
font-weight: 800 !important;
text-transform: uppercase;
border-bottom: 1px solid #ccc;
margin-bottom: 5px !important;
}
/* Enlaces del menú */
.vector-menu-content li a {
color: #444 !important;
font-size: 0.9em !important;
}
.vector-menu-content li a:hover {
color: #263355 !important;
text-decoration: underline;
}
/* 5. ARREGLO DE BANNER GIGANTE (KOPAITIC) */
/* Esto evita que la imagen de publicidad rompa el diseño si es muy grande */
#siteNotice img {
max-width: 100% !important;
height: auto !important;
}
