Diferencia entre revisiones de «MediaWiki:Common.css»
Sin resumen de edición Etiqueta: Revertido |
Etiquetas: Deshacer Revertido |
||
| Línea 1: | Línea 1: | ||
/* | /* Ocultar pestaña de discusión en barra principal y barra flotante (incluye posibles variaciones) */ | ||
#ca-talk, | |||
.mw-sticky-header-element #ca-talk, | |||
.mw-sticky-header-element a[title*="Discusión"], | |||
#p-views #ca-talk, | |||
#p-views a[title*="Discusión"] { | |||
display: none !important; | |||
} | |||
/* Ocultar pestañas | /* Ocultar pestañas de proteger y desproteger en ambas barras */ | ||
#ca-protect, | |||
#ca-unprotect, | |||
.mw-sticky-header-element #ca-protect, | |||
.mw-sticky-header-element #ca-unprotect { | |||
display: none !important; | |||
} | |||
/* Ocultar botones de añadir/quitar de la lista de seguimiento */ | |||
#ca-watch, | |||
#ca-unwatch, | |||
.mw-sticky-header-element #ca-watch, | |||
.mw-sticky-header-element #ca-unwatch { | |||
display: none !important; | |||
} | } | ||
| Línea 28: | Línea 30: | ||
} | } | ||
/* Opcional: | /* Opcional: Ocultar el <li> padre en menús, para evitar restos visuales */ | ||
#ca-talk, | |||
#ca-protect, | |||
#ca-unprotect, | |||
#ca-watch, | |||
#ca-unwatch, | |||
.mw-sticky-header-element #ca-talk, | |||
.mw-sticky-header-element #ca-protect, | |||
.mw-sticky-header-element #ca-unprotect, | |||
.mw-sticky-header-element #ca-watch, | |||
.mw-sticky-header-element #ca-unwatch { | |||
display: none !important; | |||
} | |||
#ca-talk, | |||
#ca-protect, | |||
#ca-unprotect, | |||
#ca-watch, | |||
#ca-unwatch, | |||
.mw-sticky-header-element #ca-talk, | |||
.mw-sticky-header-element #ca-protect, | |||
.mw-sticky-header-element #ca-unprotect, | |||
.mw-sticky-header-element #ca-watch, | |||
.mw-sticky-header-element #ca-unwatch { | |||
/* Para asegurarnos de que se oculte el contenedor li */ | |||
visibility: hidden !important; | |||
width: 0 !important; | |||
height: 0 !important; | |||
overflow: hidden !important; | |||
padding: 0 !important; | |||
margin: 0 !important; | |||
border: none !important; | |||
} | } | ||
Revisión del 01:03 25 jun 2025
/* Ocultar pestaña de discusión en barra principal y barra flotante (incluye posibles variaciones) */
#ca-talk,
.mw-sticky-header-element #ca-talk,
.mw-sticky-header-element a[title*="Discusión"],
#p-views #ca-talk,
#p-views a[title*="Discusión"] {
display: none !important;
}
/* Ocultar pestañas de proteger y desproteger en ambas barras */
#ca-protect,
#ca-unprotect,
.mw-sticky-header-element #ca-protect,
.mw-sticky-header-element #ca-unprotect {
display: none !important;
}
/* Ocultar botones de añadir/quitar de la lista de seguimiento */
#ca-watch,
#ca-unwatch,
.mw-sticky-header-element #ca-watch,
.mw-sticky-header-element #ca-unwatch {
display: none !important;
}
/* Ocultar menú lateral de herramientas y pestaña de historial para usuarios anónimos */
.anon-user #p-tb,
.anon-user #ca-history {
display: none !important;
}
/* Opcional: Ocultar el <li> padre en menús, para evitar restos visuales */
#ca-talk,
#ca-protect,
#ca-unprotect,
#ca-watch,
#ca-unwatch,
.mw-sticky-header-element #ca-talk,
.mw-sticky-header-element #ca-protect,
.mw-sticky-header-element #ca-unprotect,
.mw-sticky-header-element #ca-watch,
.mw-sticky-header-element #ca-unwatch {
display: none !important;
}
#ca-talk,
#ca-protect,
#ca-unprotect,
#ca-watch,
#ca-unwatch,
.mw-sticky-header-element #ca-talk,
.mw-sticky-header-element #ca-protect,
.mw-sticky-header-element #ca-unprotect,
.mw-sticky-header-element #ca-watch,
.mw-sticky-header-element #ca-unwatch {
/* Para asegurarnos de que se oculte el contenedor li */
visibility: hidden !important;
width: 0 !important;
height: 0 !important;
overflow: hidden !important;
padding: 0 !important;
margin: 0 !important;
border: none !important;
}