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
/* --- CÓDIGO DE RESCATE (DISEÑO CLÁSICO + ARREGLO DE MARGEN) --- */
/* 1. ARREGLO DEL "ACOPLE" (SEPARACIÓN OBLIGATORIA) */
/* Esto empuja el contenido principal a la derecha para dejar espacio al menú */
div#content,
div#footer,
div#mw-head-base,
div#mw-page-base {
margin-left: 11em !important; /* 11 espacios de margen izquierdo */
}
/* Esto asegura que el menú lateral tenga su ancho reservado */
div#mw-panel {
position: absolute !important;
top: 0 !important;
left: 0 !important;
width: 10em !important;
}
/* 2. CABECERA (LOGO Y FONDO DE CIELO) */
div#mw-head {
background-image: url('https://s23.derechopedia.cl/kya.cl/Sky.png') !important;
background-color: #263355 !important; /* Azul de fondo por si la imagen falla */
background-position: center top !important;
background-repeat: no-repeat !important;
background-size: cover !important;
}
/* 3. TEXTOS SUPERIORES (BLANCOS PARA QUE SE LEAN) */
/* Pestañas (Leer, Editar, etc) y Enlaces de usuario (Entrar, Discusión) */
div#p-namespaces li > a,
div#p-views li > a,
div#p-cactions li > a,
div#p-personal li a {
color: #ffffff !important;
font-weight: bold !important;
text-shadow: 0 1px 2px rgba(0,0,0,0.8) !important; /* Sombra negra para leer mejor */
background: none !important;
}
/* Pestaña activa (la que estás viendo) en blanco sólido */
div#p-namespaces li.selected > a,
div#p-views li.selected > a {
background-color: #ffffff !important;
color: #263355 !important;
border-bottom: none !important;
}
/* 4. MENÚ LATERAL (LIMPIEZA BÁSICA) */
/* Solo quitamos los puntos de la lista para que se vea limpio, pero mantenemos el estilo clásico */
div#mw-panel div.portal div.body ul {
list-style: none !important;
margin-left: 0.5em !important;
}
