|
|
| (2 intermediate revisions by the same user not shown) |
| Line 967: |
Line 967: |
| } | | } |
|
| |
|
| @media print {
| | /* =============================== |
| | Printable version (screen) |
| | =============================== */ |
|
| |
|
| /* -----------------------------------------
| | body.mw-printable-view #mw-content-text > * { |
| HIDE EVERYTHING IN CONTENT
| | display: none !important; |
| ----------------------------------------- */
| | } |
| #mw-content-text > * {
| |
| display: none !important;
| |
| }
| |
|
| |
|
| /* -----------------------------------------
| | /* Re-show the agent infobox */ |
| PAGE TITLE
| | body.mw-printable-view #mw-content-text table.ic-infobox { |
| ----------------------------------------- */
| | display: table !important; |
| #firstHeading { | | float: right; |
| display: block !important;
| | width: 35% !important; |
| font-size: 26pt;
| | } |
| font-weight: bold;
| |
| margin-bottom: 1em;
| |
| border-bottom: 2px solid #000;
| |
| padding-bottom: 0.3em;
| |
| }
| |
|
| |
|
| /* -----------------------------------------
| | /* Ensure the title stays visible */ |
| RE-SHOW AGENT INFOBOX (CRITICAL FIX)
| | body.mw-printable-view #firstHeading { |
| ----------------------------------------- */
| | display: block !important; |
| #mw-content-text > table.ic-infobox {
| | } |
| 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 {
| | /* Optional: remove leftover UI noise */ |
| max-width: 100% !important;
| | body.mw-printable-view .toc, |
| height: auto !important;
| | body.mw-printable-view .mw-editsection, |
| }
| | body.mw-printable-view #siteNotice { |
| | | display: none !important; |
| /* -----------------------------------------
| |
| REMOVE UI CHROME
| |
| ----------------------------------------- */
| |
| #mw-navigation,
| |
| .mw-footer,
| |
| .mw-editsection,
| |
| .toc,
| |
| .mw-indicators {
| |
| display: none !important;
| |
| }
| |
| } | | } |