Difference between revisions of "MediaWiki:Print.css"

From DFM Wiki
(Set the logo as a background image for better placement and sizing options.)
(Remove formatting customizations (e.g., logo at top) since browser support is poor. We will generate print reports using a separate utility, using a minimalist stylesheet for single-page printing.)
Line 8: Line 8:
 
   size: 8.5in 11in;
 
   size: 8.5in 11in;
 
   margin: 1in;
 
   margin: 1in;
   @bottom-right {
+
   @bottom-right-corner {
 
     content: counter(page);
 
     content: counter(page);
 
   }
 
   }
 
}
 
}
#siteSub, .printfooter{display:None}
+
#siteSub {display:None}
 
h1, h2, h3, h4, h5, h6 {color:#4680c6;}
 
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 {
 
h1#firstHeading {
 
     border-bottom: solid;
 
     border-bottom: solid;
 
     margin-top: 2em;
 
     margin-top: 2em;
 
}
 
}

Revision as of 09:37, 5 March 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-corner {
    content: counter(page);
  }
}
#siteSub {display:None}
h1, h2, h3, h4, h5, h6 {color:#4680c6;}

h1#firstHeading {
    border-bottom: solid;
    margin-top: 2em;
}