« MediaWiki:Print.css » : différence entre les versions

De WikInSituFr
Aller à la navigation Aller à la recherche
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 8 : Ligne 8 :
   page-break-inside: avoid;
   page-break-inside: avoid;
   font-size: 12px;
   font-size: 12px;
  padding-bottom: 5px;
  padding-top: 0px;
}
}



Version du 8 janvier 2024 à 12:10

/* Le CSS placé ici affectera les impressions UNIQUEMENT. */
* {
  font-size: 12px;
  line-height: 14px;
}

p, ul, li {
  page-break-inside: avoid;
  font-size: 12px;
  padding-bottom: 5px;
  padding-top: 0px;
}

div.one_page {
  /*height: 904px;*/
  aspect-ratio: 210/297;
  width: 100%;
}

div.one_page .col-w-10 {
  column-width: 10rem;
}

.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;
}