MediaWiki:Common.css: Difference between revisions

From Squidgy
Jump to navigation Jump to search
No edit summary
No edit summary
Line 83: Line 83:
   font-weight: bold;
   font-weight: bold;
}
}
/* Basic Bulbapedia type backgrounds */
.firebg      { background: #F08030; color: #fff; }
.waterbg    { background: #6890F0; color: #fff; }
.electricbg  { background: #F8D030; color: #000; }
.grassbg    { background: #78C850; color: #000; }
.icebg      { background: #98D8D8; color: #000; }
.fightingbg  { background: #C03028; color: #fff; }
.poisonbg    { background: #A040A0; color: #fff; }
.groundbg    { background: #E0C068; color: #000; }
.flyingbg    { background: #A890F0; color: #000; }
.psychicbg  { background: #F85888; color: #fff; }
.bugb      { background: #A8B820; color: #000; }
.rockbg      { background: #B8A038; color: #000; }
.ghostbg    { background: #705898; color: #fff; }
.dragonbg    { background: #7038F8; color: #fff; }
.darkbg      { background: #705848; color: #fff; }
.steelbg    { background: #B8B8D0; color: #000; }
.normalbg    { background: #A8A878; color: #000; }
.unknownbg  { background: #68A090; color: #fff; }

Revision as of 20:32, 27 April 2025

/* General body tweaks */
body {
  font-family: 'Museo', sans-serif;
  background-color: #e3f2f1;
  color: #111;
}

/* Page title */
.firstHeading {
  font-size: 28px;
  color: #003344;
  font-weight: bold;
  border-bottom: 2px solid #ccc;
  margin-bottom: 20px;
}

/* Content area */
#content {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

/* Headings */
h1, h2, h3, h4 {
  font-weight: bold;
  color: #003344;
  border-bottom: 1px solid #ccc;
  padding-bottom: 4px;
  margin-top: 30px;
}


/* Main link styles */
a {
  color: #007a8c;
  font-weight: bold;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Infobox */
.infobox {
  border: 2px solid #bbb;
  background: #f9f9f9;
  padding: 8px;
  float: right;
  margin: 0 0 10px 20px;
  width: 250px;
  font-size: 90%;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.infobox th {
  background-color: #cceeee;
  text-align: left;
  padding: 4px;
}

.infobox td {
  padding: 4px 8px;
}

/* Table tweaks */
table.wikitable {
  border: 1px solid #ccc;
  background-color: #fff;
  border-collapse: collapse;
}

table.wikitable th, table.wikitable td {
  border: 1px solid #ccc;
  padding: 8px;
}

table.wikitable th {
  background-color: #def;
  font-weight: bold;
}

/* Basic Bulbapedia type backgrounds */
.firebg      { background: #F08030; color: #fff; }
.waterbg     { background: #6890F0; color: #fff; }
.electricbg  { background: #F8D030; color: #000; }
.grassbg     { background: #78C850; color: #000; }
.icebg       { background: #98D8D8; color: #000; }
.fightingbg  { background: #C03028; color: #fff; }
.poisonbg    { background: #A040A0; color: #fff; }
.groundbg    { background: #E0C068; color: #000; }
.flyingbg    { background: #A890F0; color: #000; }
.psychicbg   { background: #F85888; color: #fff; }
.bugb      { background: #A8B820; color: #000; }
.rockbg      { background: #B8A038; color: #000; }
.ghostbg     { background: #705898; color: #fff; }
.dragonbg    { background: #7038F8; color: #fff; }
.darkbg      { background: #705848; color: #fff; }
.steelbg     { background: #B8B8D0; color: #000; }
.normalbg    { background: #A8A878; color: #000; }
.unknownbg   { background: #68A090; color: #fff; }