MediaWiki:Print.css

From Grooper Wiki
Revision as of 13:34, 6 July 2020 by Configadmin (talk | contribs)
Jump to navigation Jump to 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 affect the print output */
* {
   border-style: none !important;
}



.tabs-content {
   display: block !important;

}

.tabs-container {
    border-style: none !important;
}

img {
    display: block !important; 
    page-break-inside: avoid !important;
    max-width: 100% !important;
    height: auto !important;
}


.tabs-container img {
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.tabs-container td {
   display: block !important;
   padding: 5px !important;
   page-break-inside: avoid !important;
   max-width: 100% !important;

}

.tabs-container tr {
   border-style: none !important;
   width: 100% !important;
}

h1 {
    border-style: solid !important;
    text-align: center !important;
}

h2 {
    page-break-before: always !important;
    border-bottom-style: solid !important;
}

h3, h4 {
   border-style: solid !important;
}

.tabs-label,
 .radio {
   display: none !important;
   visibility: hidden !important;
}

.toc {
   display: none !important;
}

input[type=radio] {
    display: none !important;
}

.mw-empty-elt {
    display: none !important;
}