|
|
| (30 versions 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 */ |
| /*
| |
| ** Place all print-specific rules in an @media print block.
| |
| */
| |
|
| |
| /* 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;
| |
| }
| |
| }
| |
|
| |
| /* Advanced things: using :before and :after it's possible to add formatting
| |
| this here adds the full href of a link after it (not needed in the current version): */
| |
| @media print {
| |
| #content a:link:after,
| |
| #content a:visited:after {
| |
| content: " ( " attr(href) " ) ";
| |
| }
| |
| }
| |