Difference between revisions of "MediaWiki:Print.css"

From DFM Wiki
(Use png logo)
(Set the logo as a background image for better placement and sizing options.)
Line 15: Line 15:
 
h1, h2, h3, h4, h5, h6 {color:#4680c6;}
 
h1, h2, h3, h4, h5, h6 {color:#4680c6;}
 
p{line-height:1.4}
 
p{line-height:1.4}
.mw-body::before {
+
.mw-body {
     content: url(https://driedfishmatters.org/DFM-logo-square_400px-no-outline.png);
+
     background: url(https://driedfishmatters.org/DFM-logo-square_400px-no-outline.png);
 +
    padding-top: 25% !important;
 +
    background-repeat: no-repeat;
 +
    background-size: 30%;
 
}
 
}
 
h1#firstHeading {
 
h1#firstHeading {

Revision as of 14:17, 17 February 2021

/* CSS placed here will affect the print output */
body{
  font-family: "Open Sans",arial;
}
.toc{border:none;}
.toc li{list-style-type:none}
@page {
  size: 8.5in 11in;
  margin: 1in;
  @bottom-right {
    content: counter(page);
  }
}
#siteSub, .printfooter{display:None}
h1, h2, h3, h4, h5, h6 {color:#4680c6;}
p{line-height:1.4}
.mw-body {
    background: url(https://driedfishmatters.org/DFM-logo-square_400px-no-outline.png);
    padding-top: 25% !important;
    background-repeat: no-repeat;
    background-size: 30%;
}
h1#firstHeading {
    border-bottom: solid;
    margin-top: 2em;
}