MediaWiki:Print.css : Différence entre versions
Sauter à la navigation
Sauter à la recherche
(Page créée avec « →Le CSS placé ici affectera les impressions : .toc { display: none !important; } #p-logo a { display: inline !important; } .mw-wiki-logo { background-imag… ») |
|||
Ligne 1 : | Ligne 1 : | ||
+ | /* CSS placed here will affect the print output */ | ||
+ | |||
+ | body, #globalWrapper, #column-content, #content, #bodyContent, @media print { | ||
+ | font: fedra; | ||
+ | } | ||
+ | |||
+ | @font-face { | ||
+ | font-family: "fedra"; | ||
+ | src: url("FedraSans-Light.ttf"); | ||
+ | font-style:normal; | ||
+ | } | ||
+ | @font-face { | ||
+ | font-family: "fedra"; | ||
+ | src: url("FedraSans-Medium.ttf"); | ||
+ | font-weight:bold; | ||
+ | } | ||
+ | @font-face { | ||
+ | font-family: "fedra"; | ||
+ | src: url("FedraSans-LightItalic.ttf"); | ||
+ | font-style:italic; | ||
+ | } | ||
+ | |||
/* Le CSS placé ici affectera les impressions */ | /* Le CSS placé ici affectera les impressions */ | ||
Version du 20 juillet 2022 à 14:20
/* CSS placed here will affect the print output */ body, #globalWrapper, #column-content, #content, #bodyContent, @media print { font: fedra; } @font-face { font-family: "fedra"; src: url("FedraSans-Light.ttf"); font-style:normal; } @font-face { font-family: "fedra"; src: url("FedraSans-Medium.ttf"); font-weight:bold; } @font-face { font-family: "fedra"; src: url("FedraSans-LightItalic.ttf"); font-style:italic; } /* 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; }