MediaWiki:Common.css: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 504:
/* Hide View Source, History, and Talk tabs */
#ca-viewsource, #ca-history, #ca-talk {
display: none !important;
}
 
/* ======================================================= */
/* HIDE LOGIN & TOOLS FOR ANONYMOUS USERS (VECTOR 2022) */
/* ======================================================= */
 
/* 1. Hide the "Log in" and "Create account" buttons */
/* Targeting both standard header and sticky header (-2) elements */
body.not-logged-in #vector-user-links,
body.not-logged-in #pt-login,
body.not-logged-in #pt-createaccount,
body.not-logged-in #pt-login-2,
body.not-logged-in #pt-createaccount-2 {
display: none !important;
}
 
/* 2. Hide the "Tools" menu */
/* #p-tb is the standard ID for the Toolbox/Tools menu */
body.not-logged-in #p-tb,
body.not-logged-in #vector-page-tools-dropdown,
body.not-logged-in .vector-p-tb {
display: none !important;
}