MediaWiki:Vector.css

From Stiles Wiki
Revision as of 15:50, 14 March 2021 by Maxwells (talk | contribs)
Jump to navigation Jump to search

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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* All CSS here will be loaded for users of the Vector skin */
/* CSS for all infoboxes */
.infobox {
	border: 1px solid #aaa;
	border-collapse: collapse;
	border-spacing: 3px;
	background-color: #eee;
	margin: 0.5em 0 0.5em 1em;
	padding: 0.2em;
	float: right;
	clear: right;
	font-size: 88%;
	line-height: 1.5em;
	width: 22em;
}
.infobox td,
.infobox th {
	border-top: 1px solid #aaa;
	padding: 0.4em 0.6em 0 0.6em;
	vertical-align: top;
	text-align: left;
}
.infobox .name {
	text-align: center;
	font-size: 125%;
	font-weight: bold;
	font-size: 1.25em;
	white-space: nowrap;
	padding-bottom: 0.4em;
}
.infobox .tag {
	text-align: center;
	font-weight: bold;
	background-color: aqua;
}
.infobox img {
	display: block;
	margin: auto;
}
.infobox .mergedtoprow td,
.infobox .mergedtoprow th {
	border-top: 1px solid #aaa;
	padding: 0.4em 0.6em 0.2em 0.6em;
}
.infobox .mergedrow td,
.infobox .mergedrow th {
	border: 0;
	padding: 0.2em 0.6em 0.2em 0.6em;
}
/* CSS for Player and NPC Infoboxes */
.infobox.player,
.infobox.npc {
	line-height: 1.2em;
	font-size: 90%;
}
.infobox.player .tag,
.infobox.npc .tag {
	text-align: center;
	background-color: transparent;
	font-weight: bold;
}
.infobox.player .charactersheet {
	text-align: center;
	padding-bottom: 0.4em;
}