MediaWiki:Print.css: Difference between revisions

No edit summary
No edit summary
 
Line 61: Line 61:
@media print {
@media print {


   /* Collapse the article column */
   /* Hide chrome only */
   #content,
   #mw-navigation,
   #bodyContent,
   #mw-panel,
   #mw-content-text,
   #footer,
   .mw-parser-output {
  .printfooter,
     width: auto !important;
  .toc,
    max-width: none !important;
   .mw-editsection {
    margin: 0 !important;
     display: none !important;
    padding: 0 !important;
   }
   }


   /* Let the infobox sit closer to the left */
   /* Title */
  #firstHeading {
    display: block !important;
    margin-bottom: 1cm;
  }
 
  /* Infobox: NOT floated */
   table.ic-infobox,
   table.ic-infobox,
   table.infobox {
   table.infobox {
     float: right;
     float: none !important;
     margin-left: 0.5cm;
     margin: 0 auto !important;  /* centers it */
    width: 60% !important;
   }
   }


}
}