MediaWiki:Print.css : Différence entre versions

De Le Parergon
Sauter à la navigation Sauter à la recherche
Ligne 1 : Ligne 1 :
/* CSS placed here will affect the print output */
+
/* save ink and paper with very small fonts */
 
+
@media print {
body, #globalWrapper, #column-content, #content, #bodyContent, @media print {
+
    #footer,
  font: fedra;
+
    #content,
}
+
    body { font-size: 8pt !important; }
 
+
    h1 { font-size: 17pt }
@font-face {
+
    h2 { font-size: 14pt }
font-family: "fedra";
+
    h3 { font-size: 11pt }
src: url("FedraSans-Light.ttf");
+
    h4 { font-size: 9pt }
font-style:normal;
+
    h5 { font-size: 8pt }
}
+
    h6 {
@font-face {
+
        font-size: 8pt;
font-family: "fedra";
+
        font-weight: normal;
src: url("FedraSans-Medium.ttf");
+
    }
font-weight:bold;
 
}
 
@font-face {
 
font-family: "fedra";
 
src: url("FedraSans-LightItalic.ttf");
 
font-style:italic;
 
 
}
 
}
  

Version du 21 juillet 2022 à 15:16

/* save ink and paper with very small fonts */
@media print {
    #footer,
    #content,
    body { font-size: 8pt !important; }
    h1 { font-size: 17pt }
    h2 { font-size: 14pt }
    h3 { font-size: 11pt }
    h4 { font-size: 9pt }
    h5 { font-size: 8pt }
    h6 {
        font-size: 8pt;
        font-weight: normal;
    }
}

/* Le CSS placé ici affectera les impressions */

.toc {
	display: none !important;
}


#p-logo a {
    display: inline !important;
}

.mw-wiki-logo {
    background-image: url(/resources/assets/logo.png);	
}

.mw-logo {
    display: right !important;
}

.printfooter {
	clear: both;
}

#footer-info li {
     display: none !important;
}


/* Évite les lignes solitaires */
.content p {
	orphans: 4;
	widows: 4;
}

.printfooter {
	display: none !important;
}