MediaWiki:Common.css: Difference between revisions
mNo edit summary Tag: Reverted |
mNo edit summary Tag: Manual revert |
||
| 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 | /* Hide 'View history' tab for anonymous users */ | ||
body. | body:not(.loggedin) li#ca-history { | ||
display: none !important; | display: none !important; | ||
} | } | ||
/* Hide 'Recent changes' sidebar | /* Hide 'Recent changes' link in sidebar for anonymous users */ | ||
body. | body:not(.loggedin) #n-recentchanges, | ||
body:not(.loggedin) a[title="Special:RecentChanges"] { | |||
display: none !important; | display: none !important; | ||
} | } | ||
Revision as of 17:57, 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;
}