MediaWiki:Print.css: Difference between revisions

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


/* Hide everything inside article content */
  /* Hide all article content */
#mw-content-text > * {
  #mw-content-text > * {
  display: none !important;
    display: none !important;
}
  }


/* Keep the title */
  /* Keep the page title */
#firstHeading {
  #firstHeading {
  display: block !important;
    display: block !important;
}
  }


/* Keep the infobox */
  /* Keep the agent infobox */
#mw-content-text table.ic-infobox {
  #mw-content-text table.ic-infobox {
  display: table !important;
    display: table !important;
  float: right !important;
    float: right;
   width: 35% !important;
    width: 35% !important;
}
   }
 
  /* Remove footer / chrome */
  .mw-footer,
  #mw-navigation,
  .mw-editsection,
  .toc {
    display: none !important;
  }
}
}