Print.css : Différence entre versions
De erg
| (20 révisions intermédiaires par le même utilisateur non affichées) | |||
| Ligne 1 : | Ligne 1 : | ||
/* Le CSS placé ici affectera les impressions */ | /* Le CSS placé ici affectera les impressions */ | ||
| − | + | @page { | |
| − | + | size: A4; | |
| + | font-size:12px; | ||
| + | } | ||
| + | #toc { | ||
| + | display: none; | ||
} | } | ||
h1 { | h1 { | ||
| − | color: | + | color: #a700ff !important; |
} | } | ||
| − | + | ||
| − | + | h2 span { | |
| + | color : #00ab6b !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{ | #footer{ | ||
font-size:9px; | 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/ */ | ||
Version actuelle datée du 19 septembre 2024 à 14:43
/* Le CSS placé ici affectera les impressions */
@page {
size: A4;
font-size:12px;
}
#toc {
display: none;
}
h1 {
color: #a700ff !important;
}
h2 span {
color : #00ab6b !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/ */