MediaWiki:Print.css

From Species-ID
Revision as of 16:46, 14 March 2016 by Andreas Plank (Talk | contribs) (TOC, Template:Gallery, .mw-collapsible-toggle)

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: Clear the cache in Tools → Preferences
/* CSS placed here will affect the print output */
/* don't print */
  .editbtn {  display:none;}
  .noprint { display:none; }
  .jkeyControls { display:none; }
span.mw-collapsible-toggle {display:none}

/* Template:Gallery */
.custom-gallery-caption div {
  overflow-y: auto!important;
}
table.custom-gallery-picture {
  background-color: #fff!important;
}
table.custom-gallery
, table.custom-gallery-picture
, td.custom-gallery-caption
, td.custom-gallery-caption div 
{
  height: auto!important;
}
/* table of contents */
#toc {
  background-color: #fff;
  border-left:0px none;
  border-right:0px none;
  border-top-color: black;
  border-top-width: 2px;
  border-bottom-color: black;
  border-bottom-width: 2px;
}