MediaWiki:Common.css: Difference between revisions

Content deleted Content added
No edit summary
Tags: Manual revert Reverted
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1,165:
 
@media print {
/* --- Force landscape and minimize physical page margins --- */
@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: 9pt !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 --- */