MediaWiki:Common.css: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 512:
}
 
/* --- VECTOR 2022: Hide Login & User Menu --- */
/* Optional: Hide the "Log in" link at the top right if you want it purely read-only */
 
#pt-login {
/* 1. Hide the entire user links container (Login, Create Account, User Menu) */
.vector-user-links {
display: none !important;
}
 
/* 2. Hide the specific "Log in" button (Safety fallback) */
#pt-login, {
#pt-createaccount,
#pt-userpage,
.vector-menu-content-list li#pt-login {
display: none !important;
}
 
/* Hides3. "LogHide in",the "CreatePersonal accountTools", and IPdropdown addressicon at(The top'person' righticon) */
#p-vector-user-menu-overflow {
#p-personal {
display: none !important;
}
 
/* Fallback:4. specifically targetsHide the login"Log in" link justthat sometimes appears in casethe sidebar */
#ptn-login, #pt-createaccount {
display: none !important;
}