Jump to content

MediaWiki:Common.css

An idea by Jeff Lawlor
Created on 2024-10-08
Revision as of 23:43, 30 December 2024 by Admin (talk | contribs) (No more gray backgrounds behind pictures)

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 be applied to all skins */
body
{
     font-family: Trebuchet MS, Tahoma, sans-serif;
}

.mw-body h1, .mw-body-content h2, h3, h4, h5, h6, h7
{
     font-family: Verdana, sans-serif;
}

.vector-page-titlebar::after
{
	background-color: transparent;
}

/* Show subtitle */
#siteSub
{
    display: block; font-weight: normal; font-size: normal;
}

/* No gray background behind pictures */
html.skin-theme-clientpref-night .mw-parser-output > figure[typeof='mw:File'] img
{
	background-color: transparent;
}