Difference between revisions of "MediaWiki:Print.css"

From Grooper Wiki
Jump to navigation Jump to search
Line 33: Line 33:
 
   padding: 5px !important;
 
   padding: 5px !important;
 
   page-break-inside: avoid !important;
 
   page-break-inside: avoid !important;
 +
  max-width: 100% !important;
 +
 
}
 
}
  

Revision as of 13:31, 6 July 2020

/* 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;
}

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;
}