Ir al contenido

Diferencia entre revisiones de «MediaWiki:Common.css»

De Caballipedia
Sin resumen de edición
Etiqueta: Revertido
Sin resumen de edición
Etiqueta: Reversión manual
 
(No se muestran 6 ediciones intermedias del mismo usuario)
Línea 1: Línea 1:
/* Ocultar pestaña de discusión en barra principal y barra flotante (incluye posibles variaciones) */
/* Desactivar discusión */
#ca-talk,
#ca-talk { display: none !important; }
.mw-sticky-header-element #ca-talk,
 
.mw-sticky-header-element a[title*="Discusión"],
/* Desactivar fuente */
#p-views #ca-talk,
#ca-viewsource { display: none !important; }
#p-views a[title*="Discusión"] {
  display: none !important;
}


/* Ocultar pestañas de proteger y desproteger en ambas barras */
/* Desactivar proteger */
#ca-protect,
#ca-protect,
#ca-unprotect,
#ca-unprotect { display: none !important; }
.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 */
/* Desactivar botón de añadir a lista de seguimiento */
#ca-watch,
#ca-watch,
#ca-unwatch,
#ca-unwatch { display: none !important; }
.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 */
/* Ocultar menú lateral de herramientas y pestaña de historial para usuarios no logueados */
.anon-user #p-tb,
.anon-user #p-tb,
.anon-user #ca-history {
.anon-user #ca-history {
   display: none !important;
   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;
}
}

Revisión actual - 02:06 25 jun 2025

/* Desactivar discusión */
#ca-talk { display: none !important; }

/* Desactivar fuente */
#ca-viewsource { display: none !important; }

/* Desactivar proteger */
#ca-protect,
#ca-unprotect { display: none !important; }

/* Desactivar botón de añadir a lista de seguimiento */
#ca-watch,
#ca-unwatch { display: none !important; }

/* Ocultar menú lateral de herramientas y pestaña de historial para usuarios no logueados */
.anon-user #p-tb,
.anon-user #ca-history {
  display: none !important;
}