Diferencia entre revisiones de «MediaWiki:Vector.css»
De DerechoPedia
Ir a la navegaciónIr a la búsqueda
Página creada con «→Todo CSS colocado en esta página será cargado para los usuarios que usen la apariencia "Vector": →--- RESTAURAR IMAGEN DE FONDO (SKY.PNG) ---: #mw-head { →Esta es la URL de tu imagen: background-image: url('https://s23.derechopedia.cl/kya.cl/Sky.png') !important; →Configuración para que se vea bien: background-repeat: no-repeat !important; background-position: center center !important; background-size: cover !important…» |
Sin resumen de edición |
||
| Línea 1: | Línea 1: | ||
/* Todo CSS colocado en esta página será cargado para los usuarios que usen la apariencia "Vector" */ | /* 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 { | #mw-head { | ||
/* Esta | /* 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-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-repeat: no-repeat !important; | ||
background- | background-size: cover !important; | ||
background- | } | ||
/* | /* 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; | |||
} | } | ||
Revisión del 14:51 19 dic 2025
/* 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;
}
