Diferencia entre revisiones de «MediaWiki:Vector.css»
De DerechoPedia
Ir a la navegaciónIr a la búsqueda
Sin resumen de edición Etiqueta: Revertido |
Sin resumen de edición Etiqueta: Revertido |
||
| Línea 1: | Línea 1: | ||
/* --- CÓDIGO | /* --- CÓDIGO FINAL: CABECERA ORDENADA + MENÚ CORRECTO --- */ | ||
/* 1. | /* 1. ORDENAR LOS ELEMENTOS DE ARRIBA (SOLUCIÓN A LA ACUMULACIÓN) */ | ||
/* | /* Fijamos los enlaces de usuario (Entrar, Discusión) en la esquina exacta */ | ||
#p-personal { | |||
top: 6px !important; | |||
right: 0.75em !important; | |||
z-index: 100 !important; /* Asegura que esté por encima de todo */ | |||
margin- | } | ||
/* Fijamos el Buscador para que no flote raro */ | |||
#p-search { | |||
top: 6px !important; /* Alineado arriba */ | |||
right: 12em !important; /* A la izquierda del usuario, no encima */ | |||
margin-right: 0 !important; | |||
float: none !important; /* Evita que flote sin control */ | |||
position: absolute !important; | |||
} | } | ||
/* | /* Aseguramos que las pestañas (Leer, Editar) estén pegadas abajo de la cabecera */ | ||
#p-views, #p-cactions { | |||
bottom: 0 !important; | |||
position: absolute !important; | position: absolute !important; | ||
} | } | ||
/* 2. CABECERA (LOGO Y | /* 2. DISEÑO DE LA CABECERA (LOGO Y CIELO) */ | ||
div#mw-head { | div#mw-head { | ||
background-image: url('https://s23.derechopedia.cl/kya.cl/Sky.png') !important; | background-image: url('https://s23.derechopedia.cl/kya.cl/Sky.png') !important; | ||
background-color: #263355 !important; | background-color: #263355 !important; | ||
background-position: center top !important; | background-position: center top !important; | ||
background-repeat: no-repeat !important; | background-repeat: no-repeat !important; | ||
| Línea 27: | Línea 33: | ||
} | } | ||
/* | /* Textos en blanco para que se lean sobre el cielo */ | ||
div#mw-head a, | |||
div# | div#mw-head ul, | ||
div# | div#mw-head li, | ||
div# | div#mw-head span { | ||
div# | |||
color: #ffffff !important; | color: #ffffff !important; | ||
text-shadow: 0 1px 2px rgba(0,0,0,0.6) !important; | |||
text-shadow: 0 1px 2px rgba(0,0,0,0. | } | ||
/* 3. ARREGLO DEL MENÚ LATERAL (MANTENEMOS ESTO QUE YA FUNCIONÓ) */ | |||
/* Empujamos el contenido para que no choque con el menú */ | |||
div#content, | |||
div#footer, | |||
div#mw-head-base, | |||
div#mw-page-base { | |||
margin-left: 11em !important; | |||
} | } | ||
/* | /* Fijamos el ancho de la barra lateral */ | ||
div# | div#mw-panel { | ||
position: absolute !important; | |||
top: 0 !important; | |||
left: 0 !important; | |||
width: 10em !important; | |||
} | } | ||
/* | /* Limpieza visual del menú (sin puntos feos) */ | ||
div#mw-panel div.portal div.body ul { | div#mw-panel div.portal div.body ul { | ||
list-style: none !important; | list-style: none !important; | ||
margin-left: 0.5em !important; | margin-left: 0.5em !important; | ||
} | } | ||
Revisión del 17:47 19 dic 2025
/* --- CÓDIGO FINAL: CABECERA ORDENADA + MENÚ CORRECTO --- */
/* 1. ORDENAR LOS ELEMENTOS DE ARRIBA (SOLUCIÓN A LA ACUMULACIÓN) */
/* Fijamos los enlaces de usuario (Entrar, Discusión) en la esquina exacta */
#p-personal {
top: 6px !important;
right: 0.75em !important;
z-index: 100 !important; /* Asegura que esté por encima de todo */
}
/* Fijamos el Buscador para que no flote raro */
#p-search {
top: 6px !important; /* Alineado arriba */
right: 12em !important; /* A la izquierda del usuario, no encima */
margin-right: 0 !important;
float: none !important; /* Evita que flote sin control */
position: absolute !important;
}
/* Aseguramos que las pestañas (Leer, Editar) estén pegadas abajo de la cabecera */
#p-views, #p-cactions {
bottom: 0 !important;
position: absolute !important;
}
/* 2. DISEÑO DE LA CABECERA (LOGO Y CIELO) */
div#mw-head {
background-image: url('https://s23.derechopedia.cl/kya.cl/Sky.png') !important;
background-color: #263355 !important;
background-position: center top !important;
background-repeat: no-repeat !important;
background-size: cover !important;
}
/* Textos en blanco para que se lean sobre el cielo */
div#mw-head a,
div#mw-head ul,
div#mw-head li,
div#mw-head span {
color: #ffffff !important;
text-shadow: 0 1px 2px rgba(0,0,0,0.6) !important;
}
/* 3. ARREGLO DEL MENÚ LATERAL (MANTENEMOS ESTO QUE YA FUNCIONÓ) */
/* Empujamos el contenido para que no choque con el menú */
div#content,
div#footer,
div#mw-head-base,
div#mw-page-base {
margin-left: 11em !important;
}
/* Fijamos el ancho de la barra lateral */
div#mw-panel {
position: absolute !important;
top: 0 !important;
left: 0 !important;
width: 10em !important;
}
/* Limpieza visual del menú (sin puntos feos) */
div#mw-panel div.portal div.body ul {
list-style: none !important;
margin-left: 0.5em !important;
}
