User:Microtony/commonPrint.css

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
/*
** Place all print-specific rules in an @media print block.
*/

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

/* Advanced things: using :before and :after it's possible to add formatting 
this here adds the full href of a link after it (not needed in the current version): */
@media print {
  #content a:link:after, 
  #content a:visited:after {
     content: " ( " attr(href) " ) ";
  }
}