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 {
   #mw-navigation,
 
   #mw-head,
  /* hide common content blocks */
   #mw-panel,
  .mw-parser-output > p,
   #footer,
   .mw-parser-output > ul,
   .mw-editsection,
   .mw-parser-output > ol,
   .toc,
   .mw-parser-output > dl,
   .printfooter,
   .mw-parser-output > div,
   #siteNotice {
   .mw-parser-output > h2,
   .mw-parser-output > h3,
   .mw-parser-output > h4,
   .mw-parser-output > h5,
  .mw-parser-output > h6,
  .mw-parser-output > table:not(.ic-infobox):not(.infobox),
  .mw-parser-output > figure {
     display: none !important;
     display: none !important;
  }
  /* show title */
  #firstHeading {
    display: block !important;
  }
  /* show infobox */
  table.ic-infobox,
  table.infobox {
    display: table !important;
    float: right;
    width: 35%;
   }
   }
}
}

Revision as of 01:42, 25 December 2025

@media print {

  /* hide common content blocks */
  .mw-parser-output > p,
  .mw-parser-output > ul,
  .mw-parser-output > ol,
  .mw-parser-output > dl,
  .mw-parser-output > div,
  .mw-parser-output > h2,
  .mw-parser-output > h3,
  .mw-parser-output > h4,
  .mw-parser-output > h5,
  .mw-parser-output > h6,
  .mw-parser-output > table:not(.ic-infobox):not(.infobox),
  .mw-parser-output > figure {
    display: none !important;
  }

  /* show title */
  #firstHeading {
    display: block !important;
  }

  /* show infobox */
  table.ic-infobox,
  table.infobox {
    display: table !important;
    float: right;
    width: 35%;
  }
}