MediaWiki:Print.css : Différence entre versions
Sauter à la navigation
Sauter à la recherche
Ligne 1 : | Ligne 1 : | ||
− | /* | + | /* save ink and paper with very small fonts */ |
− | + | @media print { | |
− | + | #footer, | |
− | + | #content, | |
− | } | + | body { font-size: 8pt !important; } |
− | + | h1 { font-size: 17pt } | |
− | + | h2 { font-size: 14pt } | |
− | + | h3 { font-size: 11pt } | |
− | + | h4 { font-size: 9pt } | |
− | + | h5 { font-size: 8pt } | |
− | } | + | h6 { |
− | + | font-size: 8pt; | |
− | + | font-weight: normal; | |
− | + | } | |
− | |||
− | } | ||
− | |||
− | |||
− | |||
− | |||
} | } | ||
Version du 21 juillet 2022 à 15:16
/* save ink and paper with very small fonts */ @media print { #footer, #content, body { font-size: 8pt !important; } h1 { font-size: 17pt } h2 { font-size: 14pt } h3 { font-size: 11pt } h4 { font-size: 9pt } h5 { font-size: 8pt } h6 { font-size: 8pt; font-weight: normal; } } /* Le CSS placé ici affectera les impressions */ .toc { display: none !important; } #p-logo a { display: inline !important; } .mw-wiki-logo { background-image: url(/resources/assets/logo.png); } .mw-logo { display: right !important; } .printfooter { clear: both; } #footer-info li { display: none !important; } /* Évite les lignes solitaires */ .content p { orphans: 4; widows: 4; } .printfooter { display: none !important; }