Actions

MediaWiki

Print.css : Différence entre versions

De erg

 
(16 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;
 +
}
 +
#toc {
 +
  display: none;
 
}
 
}
  
@page :first {
+
h1 {
 +
color: #a700ff !important;
 
}
 
}
  
@page :blank {
+
h2 span {
  @top-center { content: "This page is intentionally left blank." }
+
color : #00ab6b !important;
 
}
 
}
  
h1 {
+
p {
color:red !important
+
font-size:14px;
 +
font-family: sans;
 +
}
 +
 
 +
li {
 +
font-size:14px;
 +
font-family: sans;
 
}
 
}
p {
+
 
font-size:12px;
+
.external::after {
 +
  font-size: 8px;
 +
  font-variant-position: super;
 
}
 
}
 
#footer{
 
#footer{
Ligne 24 : 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/ */