MediaWiki:Common.css: Difference between revisions
No edit summary Tag: Reverted |
No edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 293: | Line 293: | ||
display: none; | display: none; | ||
} | } | ||
/* ================================================= | /* ================================================= | ||
HIDE | HIDE SPECIAL PAGES & UPLOAD FOR NON-ADMIN USERS | ||
================================================= */ | ================================================= */ | ||
/* | /* 1️⃣ Guest users (logged-out) */ | ||
body.mw-user-anon #n-specialpages, | body.mw-user-anon #n-specialpages, | ||
body.mw-user-anon #t-upload | body.mw-user-anon #t-upload { | ||
display: none !important; | display: none !important; | ||
} | } | ||
/* | /* 2️⃣ Logged-in normal users (NOT admin, NOT editor) */ | ||
body.mw-user-loggedin:not(.mw-group-sysop):not(.mw-group-editor) #n-specialpages, | body.mw-user-loggedin:not(.mw-group-sysop):not(.mw-group-editor) #n-specialpages, | ||
body.mw-user-loggedin:not(.mw-group-sysop):not(.mw-group-editor) #t-upload | body.mw-user-loggedin:not(.mw-group-sysop):not(.mw-group-editor) #t-upload { | ||
display: none !important; | display: none !important; | ||
} | } | ||