Difference between revisions of "MediaWiki:Common.css"

Line 2: Line 2:
  
 
.mw-body {
 
.mw-body {
     background-color: rgba(187,187,187 0.6) ;
+
     background-color: rgba(187,187,187,0.3) ;
 
     color: black;
 
     color: black;
 
}
 
}

Revision as of 06:08, 20 May 2016

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

.mw-body {
    background-color: rgba(187,187,187,0.3) ;
    color: black;
}

/* 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: chocolate ;
}