Difference between revisions of "MediaWiki:Print.css"

From Grooper Wiki
Jump to navigation Jump to search
 
Line 24: Line 24:
  
 
.tabs-container img {
 
.tabs-container img {
     margin-left: auto;
+
     margin-left: auto !important;
     margin-right: auto;
+
     margin-right: auto !important;
     display: block;
+
     display: block !important;
 
}
 
}
  
 
.tabs-container td {
 
.tabs-container td {
 
   display: block !important;
 
   display: block !important;
 +
  page-break-inside: avoid !important;
 +
  width: 95% !important;
 
   padding: 5px !important;
 
   padding: 5px !important;
  page-break-inside: avoid !important;
 
  max-width: 100% !important;
 
 
 
}
 
}
  

Latest revision as of 13:38, 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 !important;
    margin-right: auto !important;
    display: block !important;
}

.tabs-container td {
   display: block !important;
   page-break-inside: avoid !important;
   width: 95% !important;
   padding: 5px !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;
}