Actions

MediaWiki

Print.css : Différence entre versions

De erg

 
(7 révisions intermédiaires par le même utilisateur non affichées)
Ligne 3 : Ligne 3 :
 
   size: A4;
 
   size: A4;
 
font-size:12px;
 
font-size:12px;
 +
}
 +
#toc {
 +
  display: none;
 +
}
 +
 +
h1 {
 +
color: #a700ff !important;
 +
}
 +
 +
h2 span {
 +
color : #00ab6b !important;
 
}
 
}
  
/* h1 {
 
color:red !important;
 
}*/
 
 
p {
 
p {
font-size:12px;
+
font-size:14px;
 +
font-family: sans;
 
}  
 
}  
 +
 +
li {
 +
font-size:14px;
 +
font-family: sans;
 +
}
 +
 +
.external::after {
 +
  font-size: 8px;
 +
  font-variant-position: super;
 +
}
 
#footer{
 
#footer{
 
font-size:9px;
 
font-size:9px;
Ligne 18 : Ligne 37 :
 
}
 
}
  
/* To do : ajouter "imprimé depuis le site de l'erg" dans le footer / colophon */
+
 
 +
 
 +
#footer-lastmod:after{
 +
  content:" Imprimé directement depuis wiki.erg.be .";
 +
}
  
 
/* https://www.smashingmagazine.com/2015/01/designing-for-print-with-css/ */
 
/* https://www.smashingmagazine.com/2015/01/designing-for-print-with-css/ */

Version actuelle datée du 19 septembre 2024 à 15:43

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

h1 {
color: #a700ff !important;
}

h2 span {
color : #00ab6b !important;
}

p {
font-size:14px;
font-family: sans;
} 

li {
font-size:14px;
font-family: sans;
}

.external::after {
  font-size: 8px;
  font-variant-position: super;
}
#footer{
font-size:9px;
}
.printfooter, #footer-privacy, #footer-about, #footer-disclaimer {
display:none !important;
}



#footer-lastmod:after{
  content:" Imprimé directement depuis wiki.erg.be .";
}

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