Difference between revisions of "MediaWiki:Common.css"

Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
  
.xfMediaWiki {
+
#content {
 
     background-color: #fff;
 
     background-color: #fff;
 
     color: black;
 
     color: black;

Revision as of 23:20, 19 May 2016

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

#content {
    background-color: #fff;
    color: black;
}

/* Infobox template style */
.infobox {
    border: 1px solid #aaa;
    border-spacing: 3px;
    background-color: #f9f9f9;
    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: #77d;
}
.energy {
    background-color: #d7d;
}
.fire {
    background-color: #db7;
}
.physical {
    background-color: #ddd;
}
.poison {
    background-color: #7d7;
}
a.new
{
color: chocolate ;
}
.body {
background-image: url("http://stratics.com/styles/images/stone.png");
}