MediaWiki:Common.css: Difference between revisions

From Stunts Wiki
Added wikitable style class.
 
Added syntax highlighting classes
Line 22: Line 22:
   color: black;
   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> */
/* </nowiki></pre> */

Revision as of 12:35, 22 April 2008

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