MediaWiki:Common.css

From Ultronomicon
Revision as of 08:08, 28 August 2012 by Svdb (talk | contribs) (Stuff from Template:Planet_infobox#CSS so that Svip can make pretty infoboxes)
(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 */
.infobox {
	float: right;
	width: 250px;
	margin: 0 0 10px 15px;
	text-align: center;
}
.infobox table {
	background: #eee;
}
.infobox th {
	text-align: right; 
}
.infobox td {
	text-align: left; 
}
.infoboxCentre,
.infoboxHeader,
.infoboxTitle {
	text-align: center !important; 
}
.infoboxTitle {
	background: #ccc;
	font-size: 150%;
	padding: 4px;
}
.infoboxHeader {
	background: #ccc;
	font-size: 120%;
}
.infoboxCaption {
	font-size: 85%;
}
.infobox .odd th,
.infobox .odd td {
	background: #ddd; 
}