MediaWiki:Common.css

From Stunts Wiki
Revision as of 16:50, 24 February 2010 by Duplode (talk | contribs) (collapsible tables test)

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

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

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