MediaWiki:Common.css

From FansubWiki

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 */

/*<pre>*/


/* wikitable class for skinning normal tables */
table.wikitable {
  margin: 0.5em 0.5em 0.5em 0;
  background: #f9f9f9;
  border: 1px #aaa solid;
  border-collapse: collapse;
}
.wikitable th, .wikitable td {
  border: 1px #aaa solid;
  padding: 0.2em 1em 0.2em 1em;
  vertical-align: top;
}
.wikitable th {
  text-align: center;
  background: #f2f2ff;
}
.wikitable caption {
  font-weight: bold;
}

/* Removes underlines from certain links */
.nounderlines a { 
  text-decoration: none !important;
}


/* For template documentation */
.template-documentation {
  clear: both;
  margin: 1em 0 0 0;
  border: 1px solid #aaa;
  background-color: #ecfcf4;
  padding: 1em;
}


/** Collapsible tables *********************************************************
 *
 *  Description: Allows tables to be collapsed, showing only the header. See
 *		   http://www.mediawiki.org/wiki/Manual:Collapsible_tables.
 *  Maintainers: [[en:User:R. Koot]]
 */

table.collapsed tr.collapsible {
	display: none;
}

.collapseButton {		/* 'show'/'hide' buttons created dynamically by the	*/
	float: right;		/* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */
	font-weight: normal;	/* are styled here so they can be customised.		  */
	text-align: right;
	width: auto;
}

/*</pre>*/