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

De WikInSituFr
Aller à la navigation Aller à la recherche
Aucun résumé des modifications
Balise : Révoqué
Aucun résumé des modifications
Balise : Révoqué
Ligne 64 : Ligne 64 :
.encadre_alt_title {
.encadre_alt_title {
   width: fit-content !important;
   width: fit-content !important;
   min-width: 0;
   min-width: 0 !important;
}
}



Version du 7 février 2024 à 17:00

/* 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;
}

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

.encadre_alt_title {
  width: fit-content !important;
  min-width: 0 !important;
}

/* On retire le footer du print (écritures automatiques) */

#footer {
  display: none;
}