« MediaWiki:Print.css » : différence entre les versions
Aller à la navigation
Aller à la recherche
Aucun résumé des modifications |
Aucun résumé des modifications |
||
(38 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
/* Le CSS placé ici affectera les impressions UNIQUEMENT. */ | /* Le CSS placé ici affectera les impressions UNIQUEMENT. */ | ||
* { | * { | ||
font-size: | font-size: 10px; | ||
line-height: | line-height: 12px; | ||
} | } | ||
p, ul, li { | p, ul, li { | ||
page-break-inside: avoid; | page-break-inside: avoid; | ||
font-size: | font-size: 10px; | ||
} | |||
.big { | |||
font-size: 115%; | |||
} | } | ||
Ligne 21 : | Ligne 25 : | ||
div.one_page .col-w-10 { | div.one_page .col-w-10 { | ||
column-width: | column-width: 12rem; | ||
} | } | ||
div.one_page .col-w-10 * { | div.one_page .col-w-10 * { | ||
padding-bottom: | padding-bottom: 2px; | ||
padding-top: 0px; | padding-top: 0px; | ||
margin: 0px; | margin: 0px; | ||
Ligne 37 : | Ligne 41 : | ||
} | } | ||
.gif, .barre_menu, .cadrevideo, .btnretour, .btnhome { | h1 { | ||
font-size: 18px; | |||
} | |||
.gif, .barre_menu, .cadrevideo, .btnretour, .btnhome, .firstHeading, .no_print { | |||
display: none; | display: none; | ||
} | } | ||
Ligne 55 : | Ligne 63 : | ||
.replace_gif { | .replace_gif { | ||
display: block; | |||
} | |||
.print_only { | |||
display: block; | display: block; | ||
} | } |
Version actuelle datée du 29 février 2024 à 16:28
/* Le CSS placé ici affectera les impressions UNIQUEMENT. */ * { font-size: 10px; line-height: 12px; } p, ul, li { page-break-inside: avoid; font-size: 10px; } .big { font-size: 115%; } ul { list-style-position: inside; } div.one_page { height: 904px; /*aspect-ratio: 210/297;*/ width: 100%; } div.one_page .col-w-10 { column-width: 12rem; } div.one_page .col-w-10 * { padding-bottom: 2px; padding-top: 0px; margin: 0px; page-break-inside: auto; } .firstHeading { font-size: 18px; padding: 0px; margin: 0px; } h1 { font-size: 18px; } .gif, .barre_menu, .cadrevideo, .btnretour, .btnhome, .firstHeading, .no_print { display: none; } /* On règle le problème des 80%-100% en version web/imprimée */ table:first-of-type tr:first-child td:last-child { display: none; width: 0%; } table:first-of-type tr:first-child td:first-child { border: 5px solid red width: 100%; padding-right: 1px; } .replace_gif { display: block; } .print_only { display: block; } /* On retire le footer du print (écritures automatiques) */ #footer { display: none; }