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: Revertido
Línea 1: Línea 1:
/* Ocultar para usuarios anónimos el botón "Discusión" en barra principal, barra flotante y menús */
/* Ocultar elementos para usuarios anónimos (no logueados) */
 
/* Discusión, código fuente, proteger, lista de seguimiento (en menús normales y barra sticky) */
.anon-user
.anon-user
   #ca-talk,
   #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 para usuarios anónimos el botón "Ver código fuente" / "Código fuente" */
.anon-user
   #ca-viewsource,
   #ca-viewsource,
   #ca-source,
   #ca-source,
  .mw-sticky-header-element #ca-viewsource,
  .mw-sticky-header-element #ca-source,
  .mw-sticky-header-element a[title*="Código fuente"],
  .mw-sticky-header-element a[title*="Ver código fuente"],
  #p-views #ca-viewsource,
  #p-views #ca-source,
  #p-views a[title*="Código fuente"],
  #p-views a[title*="Ver código fuente"] {
    display: none !important;
}
/* Ocultar para usuarios anónimos botones Proteger y Desproteger */
.anon-user
   #ca-protect,
   #ca-protect,
   #ca-unprotect,
   #ca-unprotect,
  .mw-sticky-header-element #ca-protect,
  .mw-sticky-header-element #ca-unprotect {
    display: none !important;
}
/* Ocultar para usuarios anónimos botones Añadir/Quitar de la lista de seguimiento */
.anon-user
   #ca-watch,
   #ca-watch,
   #ca-unwatch,
   #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-watch,
   .mw-sticky-header-element #ca-unwatch {
   .mw-sticky-header-element #ca-unwatch {
Línea 42: Línea 20:
}
}


/* Ocultar menú lateral de herramientas y pestaña de historial para usuarios anónimos */
/* Menú lateral herramientas y pestaña historial para anónimos */
.anon-user #p-tb,
.anon-user #p-tb,
.anon-user #ca-history {
.anon-user #ca-history {
Línea 48: Línea 26:
}
}


/* Ocultar contenedores li padres para evitar espacios en blanco en menús */
/* Ocultar contenedores <li> para evitar espacios vacíos */
.anon-user
.anon-user
   #ca-talk,
   #ca-talk,

Revisión del 01:25 25 jun 2025

/* Ocultar elementos para usuarios anónimos (no logueados) */

/* Discusión, código fuente, proteger, lista de seguimiento (en menús normales y barra sticky) */
.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 {
    display: none !important;
}

/* Menú lateral herramientas y pestaña historial para anónimos */
.anon-user #p-tb,
.anon-user #ca-history {
  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;
}