MediaWiki:Common.css

From MegaGlest
Revision as of 03:25, 22 July 2014 by Omega (talk | contribs) (Some browsers still don't allow the use of tab-size without a browser prefix)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Note: After saving, 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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will be applied to all skins */

/* Infoboxes */
.infobox
{
	float: right;
	border: 1px solid black;
}

/* Teletype tag is used for inline code */
tt
{
	background-color: #ddd;
	padding-left: 0.5em;
	padding-right: 0.5em;
}

/* Make sure the logo is the right width */
#p-logo a
{
	width: 160px;
}

/* Gallery formatting */
.gallerybox .thumb div
{
	margin: 5px;
}

/* Fix the font-size */
.source-javascript, .source-css, .source-xml, .source-cpp
{
	font-size: 1.2em !important;
}

/* Tabs == 4 spaces */
body
{
	tab-size: 4;
	-moz-tab-size: 4;
	-o-tab-size: 4;
}