MediaWiki:Common.css

From SEBoK
Revision as of 19:38, 11 October 2019 by WikiWorks753 (talk | contribs)
Jump to: navigation, search

Note: After saving, 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: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will be applied to all skins */
#ca-talk { display: none !important; }
#ca-pdfbook { display: none !important; }
body.page h1.firstHeading { display:block !important; }
/* hiding existing toolbox */
/* #p-navigation, #p-tb h5, #p-tb div.body { display:none !important; } */
#p-navigation { display:none !important; }
#Toolbox { display:none; }
#t-recentchangeslinked { display: none; }
#t-upload { display: none; }
#t-specialpages { display: none; }

.printonly {
  display: none;
}

@media print {
  .printonly {
    display: initial;
  }
}

.fancytree span.fancytree-title {
  font-size: 11px !important;
  white-space: normal !important;
  font-weight: normal !important;
}

div#mw-panel div.portal div.body .fancytree span.fancytree-title a {
  white-space: normal !important;
  line-height: 1.3em;
  font-weight: normal !important;
}

span.fancytree-node {
  position: relative;
  padding-left: 10px;
  box-sizing: border-box;
}

span.fancytree-node > .fancytree-expander {
  position: absolute;
  left: 0;
}

portal .body > .fancytree {
 margin-left: -30px;
}