MediaWiki:Common.css: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 1,165:
@media print {
/* --- Force landscape and minimize physical page margins --- */
/* Hide floating buttons */▼
@page {
size: landscape;
margin: 0.5cm;
}
/* --- Maximize main content width --- */
#content, #bodyContent {
width: 100% !important;
max-width: 100% !important;
margin: 0 !important;
padding: 0 !important;
}
/* --- Force tables to fit horizontally and compress vertically --- */
table, .wikitable {
width: 100% !important;
max-width: 100% !important;
word-wrap: break-word;
overflow-wrap: break-word;
}
table, .wikitable td, .wikitable th {
font-size: 8pt !important;
padding: 2px !important; /* Removes excess white space inside cells */
}
table tr {
page-break-inside: avoid;
break-inside: avoid;
}
▲ /* --- Hide floating buttons, overlays, and AI assistant --- */
#searchIcon,
.branding-box,
#cps-open-toc,
#custom-email-btn
#cps-toc-panel,
#cps-toc-overlay
▲ .minerva-header .search-box { display: none !important; }
.ext-aiassistant,
.ext-aiassistant-panel,
.ext-aiassistant-trigger {
display: none !important;
}
/* --- Hide standard MediaWiki UI elements to free up space --- */
#mw-navigation,
#footer,
.printfooter,
.mw-editsection {
display: none !important;
}
.mw-parser-output ul,
.mw-parser-output ol,
.mw-parser-output li {
font-family: inherit !important;
}
/* --- Remove underlines specifically from internal links in print --- */
.mw-parser-output a:not(.external),
.mw-parser-output a:not(.external):visited {
| |||