MediaWiki:Common.css: Difference between revisions

From PMDOWiki
Shitpost Sunkern (talk | contribs)
No edit summary
Shitpost Sunkern (talk | contribs)
No edit summary
Line 14: Line 14:
}
}


.inline-icon {
.inline-icon img {
   width: 1.25em;
   width: 1.25em;
   vertical-align: text-top;
   vertical-align: text-top;

Revision as of 23:50, 30 July 2023

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

h2 {
  clear: both;
}

.infobox {
  float: right; 
  margin-left: 1em;
}

.infobox img, .sprite {
  image-rendering: crisp-edges;
}

.inline-icon img {
  width: 1.25em;
  vertical-align: text-top;
}

.statbar-table {
  text-align: right;
}

.statbar-container {
  width: 15em;
}

.statbar-filled {
  float: left;
  height: .75em;
  background-color: black;
}

.statbar-empty {
  float: left;
  height: .75em;
  background-color: #eee;
  border: 1px solid #ccc;
  border-left: 1px solid #eee;
}

.stat-hp {
  border: 1px solid #dfb600;
  background-color: #fff900;
}
.stat-atk {
  border: 1px solid #d03800;
  background-color: #f88058;
}
.stat-def {
  border: 1px solid #58c030;
  background-color: #88f860;
}
.stat-spa {
  border: 1px solid #a868b0;
  background-color: #d090d8;
}
.stat-spd {
  border: 1px solid #a8b0b8;
  background-color: #d0d8d8;
}
.stat-spe {
  border: 1px solid #1898e0;
  background-color: #88d8f8;
}