« MediaWiki:Print.css » : différence entre les versions
De WikiMontessori
Aucun résumé des modifications |
Aucun résumé des modifications |
||
Ligne 41 : | Ligne 41 : | ||
{ | { | ||
padding-left:0; | padding-left:0; | ||
} | |||
/* Onglets */ | |||
.fiche .partie h2 .mw-headline { | |||
/*Hack pour Firefox et Chrome pour éviter une légère ligne à l'impression */ | |||
margin-bottom: -1px; | |||
} | } |
Version du 27 février 2023 à 21:19
/* Le CSS placé ici affectera les impressions. */ .mw-editsection{ display:none; } .nobreak{ break-inside: avoid; page-break-inside:avoid; } /* 2023-02-27 GD / Efface les pieds de page à l'impression pour éviter des blocs bleus sous Firefox au moins */ .msd-block, .msd-footer { display:none; } h1,h2,h3,h4,h5,h6 { page-break-after: auto; page-break-before: auto; } /* -------------------------------------------------------------*/ /* Fiches */ /* -------------------------------------------------------------*/ .container, .mw-body, .fiche .sim-block { margin:0; padding:0; width: 100%; max-width: 100%; } .fiche { border-width: 0; box-shadow: none; } .fiche ul { padding-left:0; } /* Onglets */ .fiche .partie h2 .mw-headline { /*Hack pour Firefox et Chrome pour éviter une légère ligne à l'impression */ margin-bottom: -1px; }