MediaWiki:Common.css

From CHG-Wiki
Revision as of 16:00, 2 November 2012 by Libby (talk | contribs)
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: 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;
	clear: right;
	margin-bottom: 0.5em;
	margin-left: 1em;
	padding: 0.2em;
	border: 1px solid #AAA;
	background: #F9F9F9;
	color: black;
}

.infobox td,
.infobox th {
	vertical-align: top;
}

.infobox caption {
	margin-left: inherit;
	font-size: larger;
}

.infobox.bordered {
	border-collapse: collapse;
}

.infobox.bordered td,
.infobox.bordered th {
	border: 1px solid #AAA;
}

.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
	border: 0;
}

/**
 * Apparently the namespaces parameter
 * for inputbox forces a checkbox.
 * Let's hide it in the API sidebar
 */
.mw-inputbox-hideapicheck label[for="mw-inputbox-ns104"],
#mw-inputbox-ns104 {
	display: none;
}

/** Testing for code review **/
div.mw-wordcloud {
	width: 100%;
	text-align: justify;
}

.mw-wordcloud-size-1 {
	color: #222;
	font-size: 2.4em;
}
.mw-wordcloud-size-2 {
	color: #333;
	font-size: 2.2em;
}
.mw-wordcloud-size-3 {
	color: #444;
	font-size: 2.0em;
}
.mw-wordcloud-size-4 {
	color: #555;
	font-size: 1.8em;
}
.mw-wordcloud-size-5 {
	color: #666;
	font-size: 1.6em;
}
.mw-wordcloud-size-6 {
	color: #777;
	font-size: 1.4em;
}
.mw-wordcloud-size-7 {
	color: #888;
	font-size: 1.2em;
}
.mw-wordcloud-size-8 {
	color: #999;
	font-size: 1em;
}
.mw-wordcloud-size-9 {
	color: #aaa;
	font-size: 0.8em;
	letter-spacing: 3px;
}
.mw-wordcloud-size-10,
.mw-wordcloud-size-0 {
	color: #bbb;
	font-size: 0.8em;
}

/* Styling for related links and disambiguation links */
.rellink,
.dablink {
	font-style: italic;
	margin-bottom: 0.5em;
	padding-left: 2em;
}


/* Wikitable (Prettytable) class for skinning normal tables */
table.wikitable,
table.prettytable {
	margin: 1em 1em 1em 0;
	background: #f9f9f9;
	border: 1px #aaaaaa solid;
	border-collapse: collapse;
	empty-cells: show;
}
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
	border: 1px #aaaaaa solid;
	padding: 0.2em 0.4em;
}
table.wikitable th, table.wikitable td.hl3, table.wikitable th.hl3,
table.prettytable th, table.prettytable td.hl3, table.wikitable th.hl3 {
	background: #8da7d6;
	text-align: center;
}
table.wikitable td.hl1, table.wikitable th.hl1,
table.prettytable td.hl1, table.wikitable th.hl1 {
	background: #c5d8fc;
	text-align: center;
}
table.wikitable td.hl2, table.wikitable th.hl2,
table.prettytable td.hl2, table.wikitable th.hl2 {
	background: #a7c1f2;
	text-align: center;
}
table.wikitable caption,
table.prettytable caption {
	margin-left: inherit;
	margin-right: inherit;
	font-weight: bold;
}