MediaWiki:Common.css: Difference between revisions
mNo edit summary Tag: Reverted |
mNo edit summary Tag: Manual revert |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* | /* Hide 'View history' tab for anonymous users */ | ||
body. | body:not(.loggedin) li#ca-history { | ||
display: none !important; | display: none !important; | ||
} | } | ||
/* | /* Hide 'Recent changes' link in sidebar for anonymous users */ | ||
body. | body:not(.loggedin) #n-recentchanges, | ||
body. | body:not(.loggedin) a[title="Special:RecentChanges"] { | ||
display: none !important; | display: none !important; | ||
} | } |
Latest revision as of 18:02, 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; }