Difference between revisions of "MediaWiki:Print.css"

From DFM Wiki
(Use vector logo)
 
(6 intermediate revisions by the same user not shown)
Line 12: Line 12:
 
   }
 
   }
 
}
 
}
#siteSub, .printfooter{display:None}
+
#siteSub {display:None}
h1, h2, h3, h4, h5, h6 {color:#4680c6;}
+
 
p{line-height:1.4}
 
.mw-body::before {
 
    content: url(https://driedfishmatters.org/DFM-logo-square.svg);
 
}
 
 
h1#firstHeading {
 
h1#firstHeading {
 
     border-bottom: solid;
 
     border-bottom: solid;
     margin-top: 2em;
+
     margin-top: 1em;
 +
}
 +
 
 +
.printfooter{
 +
font-size:x-small;
 +
margin-top:2em;
 +
}
 +
 
 +
/* Show only when printing */
 +
@media screen, projection, handheld {
 +
  .printonly { display: initial !important; }
 
}
 
}

Latest revision as of 08:37, 3 June 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 {display:None}

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

.printfooter{
font-size:x-small;
margin-top:2em;
}

/* Show only when printing */
@media screen, projection, handheld {
  .printonly { display: initial !important; }
}