MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Tag: Reverted
Line 965: Line 965:
#siteNotice > .mw-dismissable-notice .mw-dismissable-notice-body {
#siteNotice > .mw-dismissable-notice .mw-dismissable-notice-body {
   padding-right: 40px !important;
   padding-right: 40px !important;
}
/* =========================================
  PRINTABLE VIEW — AGENT SNAPSHOT ONLY
  Shows: Page title + agent infobox
  Hides: Everything else
  ========================================= */
/* Apply only to printable view */
body.printable {
  margin: 2cm;
}
/* -----------------------------------------
  HIDE ALL MAIN PAGE CONTENT
  ----------------------------------------- */
body.printable #mw-content-text > * {
  display: none !important;
}
/* -----------------------------------------
  PAGE TITLE
  ----------------------------------------- */
body.printable #firstHeading {
  display: block !important;
  font-size: 26pt;
  font-weight: bold;
  margin-bottom: 1em;
  border-bottom: 2px solid #000;
  padding-bottom: 0.3em;
}
/* -----------------------------------------
  AGENT INFOBOX
  ----------------------------------------- */
body.printable table.ic-infobox {
  display: table !important;
  float: right;
  width: 35% !important;
  margin-left: 1.5em;
  margin-bottom: 1em;
  border: 1px solid #ccc;
}
/* Ensure infobox images scale correctly */
body.printable table.ic-infobox img {
  max-width: 100%;
  height: auto;
}
/* -----------------------------------------
  REMOVE MEDIAWIKI UI / CHROME
  ----------------------------------------- */
body.printable #mw-navigation,
body.printable .mw-footer,
body.printable .mw-editsection,
body.printable .toc,
body.printable .mw-indicators,
body.printable .mw-page-info {
  display: none !important;
}
}