MediaWiki:Common.css
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 */
body { font-size: 23px; }
img.halfwidth {
width: 50% !important;
height: auto;
display: block;
}
/*
Below here are overrides to hide various MediaWiki links/tabs from logged-out users.
This works in conjunction with MediaWiki:Commons.js which applies the .user-logged-in class to the body tag.
*/
/* Sidebar: "Tools" */
#p-tb { display: none; }
.user-logged-in #p-tb { display: inherit; }
/* Top right: "Log in" */
nav#p-personal { display: none; }
.user-logged-in nav#p-personal { display: inherit; }
/* Top left tabs: "Main", "Discussion" */
div#left-navigation { display: none; }
.user-logged-in div#left-navigation { display: inherit; }
/* Top right tabs: "Read", "View source", "View history" */
#p-views { display: none; }
.user-logged-in #p-views { display: inherit; }
/* Bottom links: "Privacy policy", "About", "Disclaimers"
#footer-places { display: none; }