MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Line 259: Line 259:
     border-color: rgba(255,255,255,.12);
     border-color: rgba(255,255,255,.12);
}
}
}
/* Kill clicks on the site logo across common skins */
#p-logo a,
#p-logo a *,
.mw-logo a,
.mw-logo a *,
.branding-box a,
.branding-box a * {
  pointer-events: none !important;
  cursor: default !important;
}
/* Optional: remove focus outline if it still "focuses" */
#p-logo a:focus,
.mw-logo a:focus,
.branding-box a:focus {
  outline: none !important;
}
}


Line 305: Line 285:
     font-size: 15px;
     font-size: 15px;
     font-weight: 600;
     font-weight: 600;
}
/* ============================================================
  Header logo: show icon only (hide wordmark text) + disable link
  Works for Vector 2022 and most modern skins
  ============================================================ */
/* Hide the text site-name/wordmark next to the logo */
.mw-logo-wordmark,
.mw-logo-tagline {
  display: none !important;
}
/* Disable click on the logo container/anchor */
.mw-logo a,
.mw-logo a * {
  pointer-events: none !important;
  cursor: default !important;
}
/* Legacy Vector (older) */
#p-logo a,
#p-logo a * {
  pointer-events: none !important;
  cursor: default !important;
}
}