MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tags: Manual revert Reverted |
No edit summary |
||
(11 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
#ca-viewsource { display: none !important; } | #ca-viewsource { display: none !important; } | ||
/* | /*Note: # is the target and it is not a comment. Romove Tools menu on the left bar. | ||
/*#p-tb { display: none}*/ | This is a solution for hiding the tool menu for non-loging user is here: https://www.mediawiki.org/wiki/Topic:Wevi20ue9t8ugub2. | ||
To UNHIDE the Tool menu: Add comment to the following line (using forward slash and asterisk #p-tb { display: none} and close asterisk and forward slash), and in LocalSetting.php comment this line: #require_once "$IP/extensions/HideSidebar/HideSidebar.php"; it will remove the tools for all users including login. | |||
To HIDE the Tool Menu, Uncomment the following line and leave it like this: #p-tb { display: none}. And In LocalSetting.php, UNcomment this line: require_once "$IP/extensions/HideSidebar/HideSidebar.php"*/ | |||
#p-tb { display: none} | |||
/*Koh: Fonts */ | |||
element { color: #5a7425; font-size: 13px; font-family: Verdana; } | |||
body { color: #5a7425; font-size: 13px; font-family: Verdana; } |
Latest revision as of 17:16, 28 August 2024
/* CSS placed here will be applied to all skins */ /*https://m.mediawiki.org/wiki/Manual:Remove_Tabs*/ /*remove: Discussion Tab*/ #ca-talk { display: none !important; } /*remove history and view source*/ #ca-history { display: none !important;} #ca-viewsource { display: none !important; } /*Note: # is the target and it is not a comment. Romove Tools menu on the left bar. This is a solution for hiding the tool menu for non-loging user is here: https://www.mediawiki.org/wiki/Topic:Wevi20ue9t8ugub2. To UNHIDE the Tool menu: Add comment to the following line (using forward slash and asterisk #p-tb { display: none} and close asterisk and forward slash), and in LocalSetting.php comment this line: #require_once "$IP/extensions/HideSidebar/HideSidebar.php"; it will remove the tools for all users including login. To HIDE the Tool Menu, Uncomment the following line and leave it like this: #p-tb { display: none}. And In LocalSetting.php, UNcomment this line: require_once "$IP/extensions/HideSidebar/HideSidebar.php"*/ #p-tb { display: none} /*Koh: Fonts */ element { color: #5a7425; font-size: 13px; font-family: Verdana; } body { color: #5a7425; font-size: 13px; font-family: Verdana; }