User:Matěj Grabovský/vector.css

From Wikibooks, open books for an open world
Jump to navigation Jump to search
Note: After saving, changes may not occur immediately. Click here to learn how to bypass your browser's cache.
  • Mozilla / Firefox / Safari: hold down Shift while clicking Reload, or press Ctrl-Shift-R (Cmd-Shift-R on Apple Mac);
  • Internet Explorer: hold Ctrl while clicking Refresh, or press Ctrl-F5;
  • Konqueror: simply click the Reload button, or press F5;
  • Opera users may need to completely clear their cache in Tools→Preferences.
/* Make the top navigation bar a bit lower in height */
#left-navigation {
  margin-top: 1.5em;
  margin-bottom: -1.5em;
}
#right-navigation { margin-top: 1.5em; }
#mw-page-base { height: 4em; }

/* Hide sidebar in smaller window */
@media screen and (max-width: 800px) {
  div#mw-panel { display: none; }
  div#content { margin-left: 0; }
  #mw-head-base { margin-left: 0; }
  #left-navigation { margin-left: 0; }
}

/* Better typography */
#bodyContent { font-size: 1em; }
div#content h2, div#content #firstHeading { font-family: 'Linux Libertine O', Georgia, Times, serif; }
html, body { font-family: Calibri, 'Liberation Sans', Arial, sans-serif; }
html { font-size: 14px; }
div#content p { line-height: 1.6em; }
div#mw-panel div.portal div.body ul li { font-size: .85em; }
#mw-panel.collapsible-nav .portal h3 { font-size: .85em; }