Diferencia entre revisiones de «MediaWiki:Citizen.css»
Página de la interfaz de MediaWiki
Más acciones
Sin resumen de edición Etiquetas: mobile web edit mobile edit |
Sin resumen de edición Etiqueta: Reversión manual |
||
| (No se muestran 26 ediciones intermedias del mismo usuario) | |||
| Línea 2: | Línea 2: | ||
.citizen-header { | .citizen-header { | ||
background-color: #f10030; | background-color: #f10030 !important; | ||
} | |||
.mw-logo-icon { | |||
height: 27px; | |||
width: 27px; | |||
} | } | ||
| Línea 25: | Línea 30: | ||
.citizen-header .cdx-button:active { | .citizen-header .cdx-button:active { | ||
background-color: #017ff0 !important; | background-color: #017ff0 !important; | ||
} | |||
/*MOBILE HEADER*/ | |||
/* Fondo rojo */ | |||
.citizen-header__inner { | |||
background-color: #f10030 !important; | |||
} | |||
/* Iconos en blanco */ | |||
.citizen-header .cdx-button { | |||
color: #fff !important; | |||
} | |||
/* Hover */ | |||
.citizen-header .cdx-button:hover, | |||
.citizen-header .cdx-button:focus, | |||
.citizen-header .cdx-button:active { | |||
background-color: #017ff0 !important; | |||
} | |||
.citizen-feature-performance-mode-clientpref-0 .citizen-header::after { | |||
background-color: transparent; | |||
} | } | ||
| Línea 41: | Línea 69: | ||
width: 180px; | width: 180px; | ||
height: 48px; | height: 48px; | ||
background: url("/ | background: url("/images/9/93/TVRío_Wiki_-_Footer_Logo.svg") no-repeat center; | ||
background-size: contain; | background-size: contain; | ||
} | } | ||
/*DRAWER*/ | /* Esto es para que el layout sea el apropiado */ | ||
#footer-places ul { | |||
display: flex; | |||
flex-direction: row; | |||
flex-wrap: wrap; | |||
gap: 8px; | |||
align-items: center; | |||
justify-content: flex-end; | |||
} | |||
#footer-places li { | |||
display: block; | |||
} | |||
#footer-places a { | |||
display: inline-block; | |||
padding: 8px 12px; | |||
border-radius: 6px; | |||
color: inherit; | |||
text-decoration: none; | |||
transition: background-color 0.2s ease, color 0.2s ease; | |||
white-space: nowrap; | |||
} | |||
#footer-places a:hover { | |||
background-color: #017ff0; | |||
color: white; | |||
} | |||
/* Fondo al pasar el mouse por encima */ | |||
#footer-places a:hover { | |||
background-color: #017ff0; | |||
color: white; | |||
} | |||
/* Tarjetas bien alineadas */ | |||
.citizen-footer__bottom { | |||
display: flex; | |||
justify-content: space-between; | |||
align-items: center; | |||
} | |||
#footer-icons { | |||
margin-left: auto; | |||
} | |||
#footer-icons ul { | |||
display: flex; | |||
align-items: center; | |||
gap: 10px; | |||
margin: 0; | |||
padding: 0; | |||
} | |||
/*DRAWER HEADER*/ | |||
/* Esto es para ocultar el logo original y el texto */ | /* Esto es para ocultar el logo original y el texto */ | ||
| Línea 61: | Línea 144: | ||
} | } | ||
/* Para poner el logo | /* Para poner el logo especial */ | ||
.citizen-drawer__logo::before { | .citizen-drawer__logo::before { | ||
content: ""; | content: ""; | ||
| Línea 67: | Línea 150: | ||
width: 220px; | width: 220px; | ||
height: 80px; | height: 80px; | ||
background: url("/ | background: url("/images/9/93/TVRío_Wiki_-_Drawer_Logo.svg") center center no-repeat; | ||
background-size: contain; | background-size: contain; | ||
} | } | ||
| Línea 93: | Línea 176: | ||
flex-direction: column; | flex-direction: column; | ||
align-items: center; | align-items: center; | ||
} | |||
/* Esto es para minimizar el espacio entre el logo y los iconos */ | |||
.citizen-drawer__siteinfo { | |||
gap: 0 !important; | |||
} | |||
.citizen-siteStats { | |||
margin-top: -8px !important; | |||
} | |||
/*DRAWER NAVIGATION*/ | |||
/* Elementos del menú del drawer */ | |||
.citizen-main-menu .mw-list-item > a { | |||
border-radius: 8px; | |||
transition: background-color .2s ease, color .2s ease; | |||
} | |||
/* Hover y foco */ | |||
.citizen-main-menu .mw-list-item > a:hover, | |||
.citizen-main-menu .mw-list-item > a:focus { | |||
background-color: #017ff0 !important; | |||
color: #fff !important; | |||
} | |||
/* Texto en blanco */ | |||
.citizen-main-menu .mw-list-item > a:hover span, | |||
.citizen-main-menu .mw-list-item > a:focus span { | |||
color: #fff !important; | |||
} | |||
/* Iconos en blanco */ | |||
.citizen-main-menu .mw-list-item > a:hover .citizen-ui-icon, | |||
.citizen-main-menu .mw-list-item > a:focus .citizen-ui-icon { | |||
color: #fff !important; | |||
} | |||
/* Atajos de teclado (alt+..., etc) en blanco */ | |||
.citizen-main-menu .mw-list-item > a:hover kbd, | |||
.citizen-main-menu .mw-list-item > a:focus kbd { | |||
color: #fff !important; | |||
border-color: rgba(255,255,255,.4); | |||
} | |||
/*NOTIFICATIONS PANEL*/ | |||
/* Estado normal */ | |||
.citizen-notifications__item-link, | |||
.citizen-notifications__item-link:link, | |||
.citizen-notifications__item-link:visited { | |||
color: #f10030 !important; | |||
border-radius: 8px; | |||
transition: background-color .2s ease, color .2s ease; | |||
} | |||
/* Al pasar el mouse */ | |||
.citizen-notifications__item-link:hover, | |||
.citizen-notifications__item-link:focus { | |||
background-color: #f10030 !important; | |||
color: #fff !important; | |||
} | |||
/* Colores de iconos */ | |||
.citizen-notifications__mark-all .cdx-icon, | |||
.citizen-notifications__prefs .cdx-icon { | |||
color: #01113e; | |||
fill: #01113e; | |||
} | |||
/* Color del botón "See all" */ | |||
.citizen-notifications__footer .citizen-notifications__see-all, | |||
.citizen-notifications__footer .citizen-notifications__see-all span { | |||
color: #01113e !important; | |||
} | |||
/* Color en hover */ | |||
.citizen-notifications__mark-all:hover .cdx-icon, | |||
.citizen-notifications__prefs:hover .cdx-icon, | |||
.citizen-notifications__footer .citizen-notifications__see-all:hover { | |||
color: #FFFFFF !important; | |||
} | |||
/*PERSONAL PANEL*/ | |||
/* Fondo del botón Salir */ | |||
#pt-logout a, | |||
#pt-logout a:link, | |||
#pt-logout a:visited { | |||
background-color: #f10030 !important; | |||
border-radius: 8px; | |||
transition: background-color .2s ease; | |||
} | |||
/* Hover del botón Salir */ | |||
#pt-logout a:hover, | |||
#pt-logout a:focus { | |||
background-color: #017ff0 !important; | |||
} | |||
/*CREATE ACCOUNT*/ | |||
.skin-theme-clientpref-night #wpBio { | |||
color: #000 !important; | |||
} | |||
@media (prefers-color-scheme: dark) { | |||
.skin-theme-clientpref-os #wpBio { | |||
color: #000 !important; | |||
} | |||
} | |||
/* ICONOS NUEVOS PARA LA SIDEBAR */ | |||
#tvrio-sidebar-icons { | |||
display: flex; | |||
flex-direction: column; | |||
gap: 4px; | |||
margin-top: 4px; | |||
} | |||
/* ICONOS NUEVOS PARA LA SIDEBAR EN MOVIL */ | |||
@media (max-width: 719px) { | |||
#tvrio-sidebar-icons { | |||
flex-direction: row; | |||
margin-top: 0; | |||
margin-left: 4px; | |||
gap: 4px; | |||
align-items: center; | |||
} | |||
} | } | ||
Revisión actual - 20:27 22 ago 2026
/*HEADER*/
.citizen-header {
background-color: #f10030 !important;
}
.mw-logo-icon {
height: 27px;
width: 27px;
}
/* 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;
}
/*MOBILE HEADER*/
/* Fondo rojo */
.citizen-header__inner {
background-color: #f10030 !important;
}
/* Iconos en blanco */
.citizen-header .cdx-button {
color: #fff !important;
}
/* Hover */
.citizen-header .cdx-button:hover,
.citizen-header .cdx-button:focus,
.citizen-header .cdx-button:active {
background-color: #017ff0 !important;
}
.citizen-feature-performance-mode-clientpref-0 .citizen-header::after {
background-color: transparent;
}
/*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("/images/9/93/TVRío_Wiki_-_Footer_Logo.svg") no-repeat center;
background-size: contain;
}
/* Esto es para que el layout sea el apropiado */
#footer-places ul {
display: flex;
flex-direction: row;
flex-wrap: wrap;
gap: 8px;
align-items: center;
justify-content: flex-end;
}
#footer-places li {
display: block;
}
#footer-places a {
display: inline-block;
padding: 8px 12px;
border-radius: 6px;
color: inherit;
text-decoration: none;
transition: background-color 0.2s ease, color 0.2s ease;
white-space: nowrap;
}
#footer-places a:hover {
background-color: #017ff0;
color: white;
}
/* Fondo al pasar el mouse por encima */
#footer-places a:hover {
background-color: #017ff0;
color: white;
}
/* Tarjetas bien alineadas */
.citizen-footer__bottom {
display: flex;
justify-content: space-between;
align-items: center;
}
#footer-icons {
margin-left: auto;
}
#footer-icons ul {
display: flex;
align-items: center;
gap: 10px;
margin: 0;
padding: 0;
}
/*DRAWER HEADER*/
/* 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 especial */
.citizen-drawer__logo::before {
content: "";
display: block;
width: 220px;
height: 80px;
background: url("/images/9/93/TVRío_Wiki_-_Drawer_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;
}
/* Esto es para minimizar el espacio entre el logo y los iconos */
.citizen-drawer__siteinfo {
gap: 0 !important;
}
.citizen-siteStats {
margin-top: -8px !important;
}
/*DRAWER NAVIGATION*/
/* Elementos del menú del drawer */
.citizen-main-menu .mw-list-item > a {
border-radius: 8px;
transition: background-color .2s ease, color .2s ease;
}
/* Hover y foco */
.citizen-main-menu .mw-list-item > a:hover,
.citizen-main-menu .mw-list-item > a:focus {
background-color: #017ff0 !important;
color: #fff !important;
}
/* Texto en blanco */
.citizen-main-menu .mw-list-item > a:hover span,
.citizen-main-menu .mw-list-item > a:focus span {
color: #fff !important;
}
/* Iconos en blanco */
.citizen-main-menu .mw-list-item > a:hover .citizen-ui-icon,
.citizen-main-menu .mw-list-item > a:focus .citizen-ui-icon {
color: #fff !important;
}
/* Atajos de teclado (alt+..., etc) en blanco */
.citizen-main-menu .mw-list-item > a:hover kbd,
.citizen-main-menu .mw-list-item > a:focus kbd {
color: #fff !important;
border-color: rgba(255,255,255,.4);
}
/*NOTIFICATIONS PANEL*/
/* Estado normal */
.citizen-notifications__item-link,
.citizen-notifications__item-link:link,
.citizen-notifications__item-link:visited {
color: #f10030 !important;
border-radius: 8px;
transition: background-color .2s ease, color .2s ease;
}
/* Al pasar el mouse */
.citizen-notifications__item-link:hover,
.citizen-notifications__item-link:focus {
background-color: #f10030 !important;
color: #fff !important;
}
/* Colores de iconos */
.citizen-notifications__mark-all .cdx-icon,
.citizen-notifications__prefs .cdx-icon {
color: #01113e;
fill: #01113e;
}
/* Color del botón "See all" */
.citizen-notifications__footer .citizen-notifications__see-all,
.citizen-notifications__footer .citizen-notifications__see-all span {
color: #01113e !important;
}
/* Color en hover */
.citizen-notifications__mark-all:hover .cdx-icon,
.citizen-notifications__prefs:hover .cdx-icon,
.citizen-notifications__footer .citizen-notifications__see-all:hover {
color: #FFFFFF !important;
}
/*PERSONAL PANEL*/
/* Fondo del botón Salir */
#pt-logout a,
#pt-logout a:link,
#pt-logout a:visited {
background-color: #f10030 !important;
border-radius: 8px;
transition: background-color .2s ease;
}
/* Hover del botón Salir */
#pt-logout a:hover,
#pt-logout a:focus {
background-color: #017ff0 !important;
}
/*CREATE ACCOUNT*/
.skin-theme-clientpref-night #wpBio {
color: #000 !important;
}
@media (prefers-color-scheme: dark) {
.skin-theme-clientpref-os #wpBio {
color: #000 !important;
}
}
/* ICONOS NUEVOS PARA LA SIDEBAR */
#tvrio-sidebar-icons {
display: flex;
flex-direction: column;
gap: 4px;
margin-top: 4px;
}
/* ICONOS NUEVOS PARA LA SIDEBAR EN MOVIL */
@media (max-width: 719px) {
#tvrio-sidebar-icons {
flex-direction: row;
margin-top: 0;
margin-left: 4px;
gap: 4px;
align-items: center;
}
}