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 muestra una edición intermedia del mismo usuario)
Línea 1: Línea 1:
/* Ocultar elementos para usuarios anónimos (no logueados) */
/* Desactivar discusión */
#ca-talk { display: none !important; }


/* Discusión, código fuente, proteger, lista de seguimiento (en menús normales y barra sticky) */
/* Desactivar fuente */
.anon-user
#ca-viewsource { display: none !important; }
  #ca-talk,
  #ca-viewsource,
  #ca-source,
  #ca-protect,
  #ca-unprotect,
  #ca-watch,
  #ca-unwatch,
  .mw-sticky-header-element #ca-talk,
  .mw-sticky-header-element #ca-viewsource,
  .mw-sticky-header-element #ca-source,
  .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;
}


/* Menú lateral herramientas y pestaña historial para anónimos */
/* 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 #p-tb,
.anon-user #ca-history {
.anon-user #ca-history {
   display: none !important;
   display: none !important;
}
/* Ocultar contenedores <li> para evitar espacios vacíos */
.anon-user
  #ca-talk,
  #ca-viewsource,
  #ca-source,
  #ca-protect,
  #ca-unprotect,
  #ca-watch,
  #ca-unwatch,
  .mw-sticky-header-element #ca-talk,
  .mw-sticky-header-element #ca-viewsource,
  .mw-sticky-header-element #ca-source,
  .mw-sticky-header-element #ca-protect,
  .mw-sticky-header-element #ca-unprotect,
  .mw-sticky-header-element #ca-watch,
  .mw-sticky-header-element #ca-unwatch {
    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;
}