Actions

MediaWiki

Print.css : Différence entre versions

De erg

Ligne 5 : Ligne 5 :
  
 
@page :first {
 
@page :first {
background-color:red!important;
+
box-shadow: inset 0 0 0 1000px gold;
 
}
 
}
 
body{
 
body{

Version du 24 janvier 2024 à 13:54

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

@page :first {
box-shadow: inset 0 0 0 1000px gold;
}
body{
  -webkit-print-color-adjust:exact !important;
  print-color-adjust:exact !important;
}


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