MediaWiki:Common.css

From HelpWiki Highnix
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* 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; }