Difference between revisions of "MediaWiki:Common.css"
BrianFreud (talk | contribs) |
|||
Line 3: | Line 3: | ||
/* Global css, sets the background and text color for the entire wiki. */ | /* Global css, sets the background and text color for the entire wiki. */ | ||
.mw-body { | .mw-body { | ||
− | background-color: rgba(244,244,244,0. | + | background-color: rgba(244,244,244,0.5) ; |
color: black; | color: black; | ||
} | } |
Revision as of 18:03, 20 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.5) ;
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);
}