Diferencia entre revisiones de «MediaWiki:Citizen.css»
Página de la interfaz de MediaWiki
Más acciones
Sin resumen de edición Etiqueta: Reversión manual |
Sin resumen de edición Etiquetas: mobile web edit mobile edit |
||
| Línea 1: | Línea 1: | ||
/* | /*HEADER*/ | ||
.citizen-header { | .citizen-header { | ||
background-color: #f10030; | background-color: #f10030; | ||
| Línea 42: | Línea 43: | ||
background: url("/wiki/Especial:Redirigir/file/TVR%C3%ADo_Wiki_-_Footer_Logo.svg") no-repeat center; | background: url("/wiki/Especial:Redirigir/file/TVR%C3%ADo_Wiki_-_Footer_Logo.svg") no-repeat center; | ||
background-size: contain; | background-size: contain; | ||
} | |||
/*DRAWER*/ | |||
/* Esto es para ocultar el logo original y el texto */ | |||
.citizen-drawer__logo .mw-logo-icon, | |||
.citizen-drawer__siteinfo .mw-logo-wordmark { | |||
display: none; | |||
} | |||
/* Centrar el contenido del header */ | |||
.citizen-drawer__header { | |||
display: flex; | |||
flex-direction: column; | |||
align-items: center; | |||
text-align: center; | |||
} | |||
/* Para poner el logo del footer */ | |||
.citizen-drawer__logo::before { | |||
content: ""; | |||
display: block; | |||
width: 220px; | |||
height: 80px; | |||
background: url("/wiki/Especial:Redirigir/file/TVR%C3%ADo_Wiki_-_Footer_Logo.svg") center center no-repeat; | |||
background-size: contain; | |||
} | |||
/* Sacar el espacio que deja la imagen oculta */ | |||
.citizen-drawer__logo { | |||
width: 220px; | |||
height: 80px; | |||
display: flex; | |||
justify-content: center; | |||
align-items: center; | |||
} | |||
/* Centrar los cuatro iconos debajo del logo */ | |||
.citizen-siteStats { | |||
display: flex; | |||
justify-content: center; | |||
gap: 1.25rem; | |||
margin-top: 1rem; | |||
} | |||
/* Centrar todo el bloque */ | |||
.citizen-drawer__siteinfo { | |||
display: flex; | |||
flex-direction: column; | |||
align-items: center; | |||
} | } | ||
Revisión del 22:27 27 jul 2026
/*HEADER*/
.citizen-header {
background-color: #f10030;
}
/* Botones del header en blanco */
.citizen-header .cdx-button {
color: #fff !important;
}
/* Excepción con el primer ícono */
.citizen-header .mw-logo .mw-ui-icon-home {
opacity: 0;
}
/* Mostrar la casita al pasar el mouse, si sacás esto ya no funciona bien la animación!!! */
.citizen-header .mw-logo:hover .mw-ui-icon-home {
opacity: 1;
}
/* Fondo de iconos */
.citizen-header .cdx-button:hover,
.citizen-header .cdx-button:focus,
.citizen-header .cdx-button:active {
background-color: #017ff0 !important;
}
/*FOOTER*/
/* Esto es para ocultar el ícono y el texto */
.citizen-footer .mw-logo-icon,
.citizen-footer .mw-logo-wordmark {
display: none;
}
/* Y esto para poner el logo del footer */
.citizen-footer__sitetitle::before {
content: "";
display: block;
width: 180px;
height: 48px;
background: url("/wiki/Especial:Redirigir/file/TVR%C3%ADo_Wiki_-_Footer_Logo.svg") no-repeat center;
background-size: contain;
}
/*DRAWER*/
/* Esto es para ocultar el logo original y el texto */
.citizen-drawer__logo .mw-logo-icon,
.citizen-drawer__siteinfo .mw-logo-wordmark {
display: none;
}
/* Centrar el contenido del header */
.citizen-drawer__header {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}
/* Para poner el logo del footer */
.citizen-drawer__logo::before {
content: "";
display: block;
width: 220px;
height: 80px;
background: url("/wiki/Especial:Redirigir/file/TVR%C3%ADo_Wiki_-_Footer_Logo.svg") center center no-repeat;
background-size: contain;
}
/* Sacar el espacio que deja la imagen oculta */
.citizen-drawer__logo {
width: 220px;
height: 80px;
display: flex;
justify-content: center;
align-items: center;
}
/* Centrar los cuatro iconos debajo del logo */
.citizen-siteStats {
display: flex;
justify-content: center;
gap: 1.25rem;
margin-top: 1rem;
}
/* Centrar todo el bloque */
.citizen-drawer__siteinfo {
display: flex;
flex-direction: column;
align-items: center;
}