MediaWiki:Common.css: Difference between revisions

No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 967: Line 967:
}
}


@media print {
/* ================================
  PRINTABLE SNAPSHOT (SCREEN)
  Title + Agent Infobox only
  ================================ */


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


  /* -----------------------------------------
/* Re-show the agent infobox */
    PAGE TITLE
#mw-content-text > table.ic-infobox {
    ----------------------------------------- */
   display: table !important;
   #firstHeading {
  float: right;
    display: block !important;
  width: 35%;
    font-size: 26pt;
  margin-left: 1.5em;
    font-weight: bold;
  margin-bottom: 1em;
    margin-bottom: 1em;
}
    border-bottom: 2px solid #000;
    padding-bottom: 0.3em;
  }


  /* -----------------------------------------
/* Ensure images behave */
    RE-SHOW AGENT INFOBOX (CRITICAL FIX)
#mw-content-text > table.ic-infobox img {
    ----------------------------------------- */
   max-width: 100%;
  #mw-content-text > table.ic-infobox {
  height: auto;
    display: table !important;
    float: right !important;
    width: 35% !important;
    margin-left: 1.5em !important;
    margin-bottom: 1em !important;
   }
 
  #mw-content-text > table.ic-infobox img {
    max-width: 100% !important;
    height: auto !important;
  }
 
  /* -----------------------------------------
    REMOVE UI CHROME
    ----------------------------------------- */
  #mw-navigation,
  .mw-footer,
  .mw-editsection,
  .toc,
  .mw-indicators {
    display: none !important;
  }
}
}