« MediaWiki:Print.css » : différence entre les versions
Aller à la navigation
Aller à la recherche
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| Ligne 11 : | Ligne 11 : | ||
div.one_page { | div.one_page { | ||
height: 904px; | |||
aspect-ratio: 210/297; | /*aspect-ratio: 210/297;*/ | ||
width: 100%; | width: 100%; | ||
} | } | ||
Version du 8 janvier 2024 à 11:14
/* Le CSS placé ici affectera les impressions UNIQUEMENT. */
* {
font-size: 12px;
line-height: 14px;
}
p, ul, li {
page-break-inside: avoid;
font-size: 12px;
}
div.one_page {
height: 904px;
/*aspect-ratio: 210/297;*/
width: 100%;
}
div.one_page .col-w-10 {
column-width: 10rem;
}
div.one_page .col-w-10 * {
padding-bottom: 5px;
padding-top: 0px;
margin: 0px;
page-break-inside: auto;
}
.firstHeading {
font-size: 18px;
padding: 0px;
margin: 0px;
}
.gif, .barre_menu, .cadrevideo, .btnretour, .btnhome {
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;
}
/* On retire le footer du print (écritures automatiques) */
#footer {
display: none;
}