MediaWiki:Print.css: Difference between revisions

No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 55: Line 55:
     margin: 0 !important;
     margin: 0 !important;
     padding: 0 !important;
     padding: 0 !important;
  }
}
@media print {
  /* Hide chrome only */
  #mw-navigation,
  #mw-panel,
  #footer,
  .printfooter,
  .toc,
  .mw-editsection {
    display: none !important;
  }
  /* Title */
  #firstHeading {
    display: block !important;
    margin-bottom: 1cm;
  }
  /* Infobox: NOT floated */
  table.ic-infobox,
  table.infobox {
    float: none !important;
    margin: 0 auto !important;  /* centers it */
    width: 60% !important;
   }
   }


}
}