MediaWiki:Common.css

From Veronica Mars Wiki
Jump to navigationJump 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 template styling */
.infobox {
	float: right;
	clear: right;
	margin: 0 0 .5em 1em;
	width: 250px;
	background: none;
	border-collapse: collapse;
	border: 1px solid #999999;
	font-size: 0.8em;
	line-height: 1.5;
}

.infobox table.infoboxtable {
	background: #f0f0f0;
	float: right;
	margin: 0;
	width: 100%;
	border-collapse: collapse;
}

.infobox td.infoboximage {
	padding: 0;
	text-align: center;
}

.infobox th.infoboxheading {
	font-weight: bold;
	text-align: center;
	color: #ffffff;
	font-size: larger;
}

.infobox th.infoboxsubheading {
	vertical-align: top;
	text-align: left;
	font-weight: normal;
}

.infobox td.infoboxlabel, .infobox td.infoboxcell {
	vertical-align: middle;
}

/* ugly hack to force normal height for infobox cells */
.infoboxcell p {
	margin-top: 0px;
	margin-bottom: 0px;
}

.infoboxcell ul {
	padding-left: 10px;
	margin-left: 10px;
}

.infoboxcell ul li {
	padding-left: 0;
	margin-left: 0;
	list-style-type: square;
}

.infobox div.plainlinks {
	color: #fff;
}

.infobox div.plainlinks a, .infoboximage a {
	color: #f0f0f0;
}

/*
 ** Place all print-specific rules in an @media print block.
 */
@media print {
	#toc,
	#catlinks {
		display: none;
	}
}

/* class for stub template styling */
/* only applies to table and div elements - avoids conflicts with preexisting a.stub */
table.stub, div.stub {
	background: #cedff2;
	/* border: 1px solid #a3b0bf; */
	text-align: center;
	padding: 2px;
	width: 50%;
}

/* class for article disambiguation templates */
.disambig {
	background: #cedff2;
	/* border: 1px solid #a3b0bf; */
	text-align: center;
	padding: 2px;
	width: 100%;
	margin: 0 auto 3px auto;
}

.dablink {
	font-style: italic;
	padding-left: 2em;
}

/* default skin for navigation boxes */
table.navbox {
	background-color: #f9f9f9;
	border: 1px solid #aaa;
	clear: both;
	font-size: 90%;
	margin: 1em 0em 0em;
	padding: 2px;
	text-align: center;
	width: 100%;
}

table.navbox th {
	background-color: #ccf;
	padding-left: 1em;
	padding-right: 1em;
}

/* Main Page styling */
body.page-Main_Page .firstHeading,
body.page-Main_Page #contentSub {
	display: none;
}

/* class for message box template styling */
.messagebox {
	clear: both;
	width: 85%;
	margin: 0px auto 3px auto;
	padding: 3px;
	font-size: 95%;
}

/* in-universe and out-of-universe message boxes */
.iumb, .ooumb {
	border-width: 0;
	text-align: left;
	padding: 0;
}

.iumb table, .ooumb table {
	padding: 5px 10px 5px 10px;
	background: transparent;
	color: inherit;
}

.iumb table.hidable-content, .ooumb table.hidable-content {
	padding: 0;
}

.iumb-icon, .ooumb-icon {
	vertical-align: middle;
	padding: 0;
}

.iumb-main, .ooumb-main {
	padding: 0 0 0 10px;
}

.iumb-caption {
	font-size: 1.3em;
	font-weight: bold;
}

.ooumb-caption {
	font-size: 1em;
	font-weight: bold;
}

.iumb-comment {
	font-size: 0.8em;
}

.iumb-hidable-button, .ooumb-hidable-button {
	text-align: right;
	margin: 0;
	padding: 0 5px 0 0;
	font-size: 0.8em;
	vertical-align: bottom;
}

.iumb-table-container, .ooumb-table-container {
	width: 100%;
}

.iumb p {
	margin-top: 0;
	margin-bottom: 0;
}

.spoiler {
	background-color: #fff8f8;
	color: #000000;
	border-color: black;
	border-style: solid;
	border-width: 1px 0px 1px 0px;
	text-align: center;
}

.mp-header {
	background: #66606b;
	font-family: Arial, Helvetica, sans-serif;
	font-size:120%;
	border:1px solid #aaa;
	text-align: center;
	color:white;
}

/* Featured star */
div.topicon {
	position:absolute;
	z-index:100;
	top:10px;
	display: block !important;
}

/* wikitable/prettytable class for skinning normal tables */
table.wikitable,
table.prettytable {
	margin: 1em 1em 1em 0;
	background: #f9f9f9;
	border: 1px #aaa solid;
	border-collapse: collapse;
}

table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
	border: 1px #aaa solid;
	padding: 0.2em;
}

table.wikitable th,
table.prettytable th {
	background: #f2f2f2;
	text-align: center;
}

table.wikitable caption,
table.prettytable caption {
	margin-left: inherit;
	margin-right: inherit;
	font-weight: bold;
}

table.prettytable code,
table.wikitable code {
	background-color: transparent;
}