MediaWiki:Common.css: Difference between revisions

No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 966: Line 966:
   padding-right: 40px !important;
   padding-right: 40px !important;
}
}
/* PRINT: show only page title + agent infobox */


@media print {
@media print {


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


   /* Keep the page title */
   /* -----------------------------------------
    PAGE TITLE
    ----------------------------------------- */
   #firstHeading {
   #firstHeading {
     display: block !important;
     display: block !important;
    font-size: 26pt;
    font-weight: bold;
    margin-bottom: 1em;
    border-bottom: 2px solid #000;
    padding-bottom: 0.3em;
   }
   }


   /* Keep the agent infobox (you confirmed this class) */
   /* -----------------------------------------
   table.ic-infobox,
    RE-SHOW AGENT INFOBOX (CRITICAL FIX)
  table.infobox.ic-infobox {
    ----------------------------------------- */
   #mw-content-text > table.ic-infobox {
     display: table !important;
     display: table !important;
     float: right !important;
     float: right !important;
Line 991: Line 999:
   }
   }


   table.ic-infobox img {
   #mw-content-text > table.ic-infobox img {
     max-width: 100% !important;
     max-width: 100% !important;
     height: auto !important;
     height: auto !important;
   }
   }


   /* Optional: remove obvious UI */
   /* -----------------------------------------
    REMOVE UI CHROME
    ----------------------------------------- */
   #mw-navigation,
   #mw-navigation,
   .mw-footer,
   .mw-footer,