MediaWiki:Vector.css

Revision as of 04:11, 12 October 2017 by Matt Pijoan (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will affect users of the Vector skin */
#content{width:100% important!;}
#p-search{display:none;}
#p-navigation{display:none;}
#p-tb{display:none;}
#p-logo{display:none;}
#p-navigation, #p-tb { display:none }
#content{margin-left: 0em !important;}
#left-navigation{left: 0em !important;}
#footer{margin-left: 0em !important;}
#p-lang{display:none;}
#mw-head-base{margin-left: 0em !important;}
/* do not print references */
@media print {
    ol.references, a.references-small {display: none;}
}

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

/* Remove non-essential elements */
@media print {
    .firstHeading { margin-top: 0; padding-top: 0; }
    #siteSub { display: none; }
    .printfooter { display: none; }
    #catlinks, .catlinks { display: none; }
    #footer { display: none; }
    }