Print.css : Différence entre versions
De erg
Ligne 3 : | Ligne 3 : | ||
size: A4; | size: A4; | ||
font-size:12px; | font-size:12px; | ||
+ | } | ||
+ | #toc { | ||
+ | display: none; | ||
} | } | ||
Ligne 10 : | Ligne 13 : | ||
p { | p { | ||
font-size:14px; | font-size:14px; | ||
+ | font-family: sans; | ||
} | } | ||
li { | li { | ||
font-size:14px; | font-size:14px; | ||
+ | font-family: sans; | ||
} | } | ||
Ligne 27 : | Ligne 32 : | ||
} | } | ||
− | + | ||
+ | |||
+ | #footer-lastmod:after{ | ||
+ | content:" Imprimé directement depuis wiki.erg.be ."; | ||
+ | } | ||
/* https://www.smashingmagazine.com/2015/01/designing-for-print-with-css/ */ | /* https://www.smashingmagazine.com/2015/01/designing-for-print-with-css/ */ |
Version du 19 septembre 2024 à 14:32
/* Le CSS placé ici affectera les impressions */ @page { size: A4; font-size:12px; } #toc { display: none; } /* h1 { color:red !important; }*/ p { font-size:14px; font-family: sans; } li { font-size:14px; font-family: sans; } .external::after { font-size: 8px; font-variant-position: super; } #footer{ font-size:9px; } .printfooter, #footer-privacy, #footer-about, #footer-disclaimer { display:none !important; } #footer-lastmod:after{ content:" Imprimé directement depuis wiki.erg.be ."; } /* https://www.smashingmagazine.com/2015/01/designing-for-print-with-css/ */