MediaWiki:Common.css

From MegaGlest
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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;
}