MediaWiki:Common.css

From HodHood
Revision as of 08:07, 23 March 2018 by P.Astakhov (talk | contribs) (add .infobox.infobox-800 class)

Jump to: navigation, 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: 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 */

.category-tree {
	background: #f9f9f9;
	border: 1px solid #aaa;
	float: right;
	margin: 0 0 1em 1em;
	padding: 1em;
}

.infobox {
	background: #f9f9f9;
	border: 1px solid #aaa;
	float: right;
	margin: 0 0 1em 1em;
	padding: 1em;
	width: 300px;
}
.infobox big,
.infobox small {
	display: block;
	text-align: center;
}
.infobox p {
	margin: 0;
}
.infobox img {
	display: block;
	margin: auto;
}
.infobox th {
	text-align: right;
	vertical-align: top;
	width: 50%;
}

.infobox.infobox-800 {
	width: 800px;
}

.infobox.infobox-800 th {
	width: 25%;
}