MediaWiki:Print.css: Difference between revisions

From ICE List Wiki
Jump to navigation Jump to search
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;
  }
}
}

Revision as of 01:16, 25 December 2025

@media print {

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

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

  /* Keep the agent infobox */
  #mw-content-text table.ic-infobox {
    display: table !important;
    float: right;
    width: 35% !important;
  }

  /* Remove footer / chrome */
  .mw-footer,
  #mw-navigation,
  .mw-editsection,
  .toc {
    display: none !important;
  }
}