Difference between revisions of "MediaWiki:Common.css"

m
m
Line 8: Line 8:
  
 
/* Avoid losing the body's background color 'below the fold'. *.
 
/* Avoid losing the body's background color 'below the fold'. *.
body {
+
.mainPanelWrapper {
 
     background-color: rgb(32,37,42);
 
     background-color: rgb(32,37,42);
 
}
 
}

Revision as of 16:21, 22 May 2016

/* 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.6) ;
    color: black;
}

/* Avoid losing the body's background color 'below the fold'. *.
.mainPanelWrapper {
    background-color: rgb(32,37,42);
}

/* Force the editor to be monospaced. */
textarea {
    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;
    padding-top: 5px;
}

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

/* Formats left-column text in infoboxes. */
.infobox tr td:first-of-type {
    font-weight: 600; 
    padding-left: 5px;
    padding-right: 8px;
}

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