MediaWiki:Common.css: Difference between revisions

No edit summary
Tag: Reverted
No edit summary
 
(One intermediate revision by the same user not shown)
Line 967: Line 967:
}
}


/* ================================
/* ===============================
   PRINTABLE SNAPSHOT (SCREEN)
   Printable version (screen)
   Title + Agent Infobox only
   =============================== */
  ================================ */


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


/* Re-show the agent infobox */
/* Re-show the agent infobox */
#mw-content-text > table.ic-infobox {
body.mw-printable-view #mw-content-text table.ic-infobox {
   display: table !important;
   display: table !important;
   float: right;
   float: right;
   width: 35%;
   width: 35% !important;
  margin-left: 1.5em;
  margin-bottom: 1em;
}
}


/* Ensure images behave */
/* Ensure the title stays visible */
#mw-content-text > table.ic-infobox img {
body.mw-printable-view #firstHeading {
  max-width: 100%;
  display: block !important;
   height: auto;
}
 
/* Optional: remove leftover UI noise */
body.mw-printable-view .toc,
body.mw-printable-view .mw-editsection,
body.mw-printable-view #siteNotice {
   display: none !important;
}
}