Difference between revisions of "MediaWiki:Common.css"

From Stunts Wiki
(Import MediaWiki:Common.css/toc.css -- see https://en.wikibooks.org/w/index.php?title=MediaWiki:Common.css&oldid=4239101)
(Remove the toc.css import)
Line 2: Line 2:
  
 
/** CSS placed here will be applied to all skins */
 
/** CSS placed here will be applied to all skins */
 
@import url("/w/index.php?title=MediaWiki:Common.css/toc.css&action=raw&ctype=text/css") screen;
 
  
 
/* wikitable class */
 
/* wikitable class */

Revision as of 14:15, 6 January 2024

/* <pre><nowiki> */

/** CSS placed here will be applied to all skins */

/* wikitable class */
table.wikitable {
  margin: 1em;
  padding: 0.5em;
  background: #fafafa;
  border: 1px solid gray;
  color: black;
  text-align: left;
}

table.wikitable th,
table.wikitable td {
  padding-right: 1em;
}

table.wikitable th {
  background: #e9e9e9;
  color: black;
}

/* Pseudo code syntax highlighting classes */
.hlC { color: #777; font-style: italic } /* Comment */
.hlP { color: #933 }                     /* Primitive type */
.hlB { color: #6c6 }                     /* Bracket/operator */
.hlN { color: #c6c }                     /* Numeric */
.hlS { color: #f00 }                     /* String */

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

/* Taken from MediaWiki - http://www.mediawiki.org/wiki/Manual:Collapsible_tables */

.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;
}