Actions

MediaWiki

Print.css : Différence entre versions

De erg

 
(7 révisions intermédiaires par le même utilisateur non affichées)
Ligne 2 : Ligne 2 :
 
@page {
 
@page {
 
   size: A4;
 
   size: A4;
}
+
font-size:12px;
 
 
@page :first {
 
}
 
 
 
@page :blank {
 
  @top-center { content: "This page is intentionally left blank." }
 
 
}
 
}
  
 
h1 {
 
h1 {
color:red !important
+
color:red !important;
 
}
 
}
p {
+
/* p {
 
font-size:12px;
 
font-size:12px;
}
+
} */
 
#footer{
 
#footer{
 
font-size:9px;
 
font-size:9px;

Version actuelle datée du 24 janvier 2024 à 15:50

/* Le CSS placé ici affectera les impressions */
@page {
  size: A4;
font-size:12px;
}

h1 {
color:red !important;
}
/* p {
font-size:12px;
} */
#footer{
font-size:9px;
}
.printfooter, #footer-privacy, #footer-about, #footer-disclaimer {
display:none !important;
}

/* To do : ajouter "imprimé depuis le site de l'erg" dans le footer / colophon */

/* https://www.smashingmagazine.com/2015/01/designing-for-print-with-css/ */