MediaWiki:Common.css

From TyvaWiki
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: 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.
/* <pre><nowiki> */
/** CSS placed here will be applied to all skins */

/* From http://en.wikipedia.org/wiki/MediaWiki:Common.css */
/* 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;
}

/**
 * Stylesheet for Babel extension.
 *
 * You can override the CSS code on the MediaWiki:Common.css page
 * on your wiki to adjust colours etc.
 *
 * @file
 * @ingroup Extensions
 */

/* Babel wrapper layout. */
/* @noflip */table.mw-babel-wrapper {
	width:        238px;
	float:        right;
	clear:        right;
	margin:       1em;
	background-color: white;
	border-style: solid;
	border-width: 1px;
	border-color: #99B3FF;
}

/* @noflip */.mw-content-ltr table.mw-babel-wrapper {
	float: right;
	clear: right;
}
/* @noflip */.mw-content-rtl table.mw-babel-wrapper {
	float: left;
	clear: left;
}

/* Babel box layout */
/* @noflip */div.mw-babel-box {
	float:  left;
	clear:  left;
	margin: 1px;
}

/* @noflip */.mw-content-ltr table.mw-babel-box {
	float: left;
	clear: left;
}
/* @noflip */.mw-content-rtl table.mw-babel-box {
	float: right;
	clear: right;
}

div.mw-babel-box table {
	width: 238px;
}

div.mw-babel-box table th {
	width:       238px;
	width:       45px;
	height:      45px;
	font-size:   14pt;
	font-family: monospace;
}

div.mw-babel-box table td {
	font-size:   8pt;
	padding:     4pt;
	line-height: 1.25em;
}

/* Babel box colours. */
div.mw-babel-box-0 {
	border: solid #FFBBBB 1px;
}

div.mw-babel-box-1 {
	border: solid #E0C0E0 1px;
}

div.mw-babel-box-2 {
	border: solid #BCB9EF 1px;
}

div.mw-babel-box-3 {
	border: solid #99B3FF 1px;
}

div.mw-babel-box-4 {
	border: solid #77E0E8 1px;
}

div.mw-babel-box-5 {
	border: solid #CCCC00 1px;
}

div.mw-babel-box-N {
	border: solid #6EF7A7 1px;
}

div.mw-babel-box-0 table th {
	background-color: #FFBBBB;
}

div.mw-babel-box-1 table th {
	background-color: #E0C0E0;
}

div.mw-babel-box-2 table th {
	background-color: #BCB9EF;
}

div.mw-babel-box-3 table th {
	background-color: #99B3FF;
}

div.mw-babel-box-4 table th {
	background-color: #77E0E8;
}

div.mw-babel-box-5 table th {
	background-color: #CCCC00;
}

div.mw-babel-box-N table th{
	background-color: #6EF7A7;
}

div.mw-babel-box-0 table {
	background-color: #FFEEEE;
}

div.mw-babel-box-1 table {
	background-color: #F3E0F3;
}

div.mw-babel-box-2 table {
	background-color: #E9E5F9;
}

div.mw-babel-box-3 table {
	background-color: #E0E8FF;
}

div.mw-babel-box-4 table {
	background-color: #D0F8FF;
}

div.mw-babel-box-5 table {
	background-color: #FFFF99;
}

div.mw-babel-box-N table {
	background-color: #C5FCDC;
}

/* header and footer */
.mw.babel-box th.mw-babel-header {
	text-align: center;
	font-weight: bold;
}
.mw.babel-box th.mw-babel-footer {
	text-align: center;
	font-weight: normal;
}


/* </nowiki></pre> */