MediaWiki:Common.css: Difference between revisions
mNo edit summary Tag: Manual revert |
mNo edit summary Tag: Reverted |
||
Line 8: | Line 8: | ||
body:not(.loggedin) #n-recentchanges, | body:not(.loggedin) #n-recentchanges, | ||
body:not(.loggedin) a[title="Special:RecentChanges"] { | body:not(.loggedin) a[title="Special:RecentChanges"] { | ||
display: none !important; | |||
} | |||
/* Hide "Related changes" link for anonymous users (Vector 2022) */ | |||
body.skin-vector-2022.anonymous a[title="Special:RecentChangesLinked"] { | |||
display: none !important; | display: none !important; | ||
} | } |
Revision as of 18:01, 28 June 2025
/* CSS placed here will be applied to all skins */ /* Hide 'View history' tab for anonymous users */ body:not(.loggedin) li#ca-history { display: none !important; } /* Hide 'Recent changes' link in sidebar for anonymous users */ body:not(.loggedin) #n-recentchanges, body:not(.loggedin) a[title="Special:RecentChanges"] { display: none !important; } /* Hide "Related changes" link for anonymous users (Vector 2022) */ body.skin-vector-2022.anonymous a[title="Special:RecentChangesLinked"] { display: none !important; }