Common.css

Revision as of 10:37, 20 May 2016 by BrianFreud (talk | contribs)

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

/* Global css, sets the background and text color for the entire wiki. */
.mw-body {
    background-color: rgba(244,244,244,0.7) ;
    color: black;
}

/* Force the editor to be monospaced. */
#editform {
    font-family: monospace;
}

/* Infobox template style */
.infobox {
    border: 1px solid #aaa;
    border-spacing: 3px;
    background-color: #dddddd;
    color: black;
    /* @noflip */
    margin: 0.5em 0 0.5em 1em;
    padding: 0.2em;
    /* @noflip */
    float: right;
    /* @noflip */
    clear: right;
    font-size: 88%;
    line-height: 1.5em;
    width: 235px;
}
.infobox caption {
    font-size: 125%;
    font-weight: bold;
    padding: 0.2em;
}
.infobox td,
.infobox th {
    vertical-align: top;
    /* @noflip */
    text-align: left;
}

/* Overrides the border otherwise drawn on all tables. */
table.wikitable {
  border: 0;
}

/* Centers an image in an infobox. */
.imagecell {
    padding: 1em 0!important;
    text-align: center!important;
}

/* Bolds left-column text in infoboxes. */
.infobox tr td:first-of-type {
    font-weight: 600;
}

/* Hides undesirable borders on the top-left cell of a table containing numberic data. */
.datatable tr:first-of-type td:first-of-type
{
    border-left: 0;
    border-top: 0;
}

/* Centers text in table cells (generally for tables containing numeric data). */
.datatable tr td:not(:first-of-type) {
    text-align: center;
}

/* Adds coloring to the top cell in infoboxes. */
.titlecell {
    background-color: #555;
    color: white;
    padding: 2px 8px;
}

/* Elemental cell coloring */
.cold {
    background-color: #2dbffd;
}
.energy {
    background-color: #d7d;
}
.fire {
    background-color: #db7;
}
.physical {
    background-color: #ddd;
}
.poison {
    background-color: #7d7;
}
a.new
{
color: rgb(221, 68, 68);
}