MediaWiki:Common.css: Difference between revisions

From Squidgy
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 143: Line 143:
.flyingbg    { background:#A890F0; color:#000; }
.flyingbg    { background:#A890F0; color:#000; }
.psychicbg  { background:#F85888; color:#fff; }
.psychicbg  { background:#F85888; color:#fff; }
.bugb       { background:#A8B820; color:#000; }
.bugbg       { background:#A8B820; color:#000; }
.rockbg      { background:#B8A038; color:#000; }
.rockbg      { background:#B8A038; color:#000; }
.ghostbg    { background:#705898; color:#fff; }
.ghostbg    { background:#705898; color:#fff; }
Line 150: Line 150:
.steelbg    { background:#B8B8D0; color:#000; }
.steelbg    { background:#B8B8D0; color:#000; }
.unknownbg  { background:#68A090; color:#fff; }
.unknownbg  { background:#68A090; color:#fff; }
.fairy_pbg  { background:#EF70EF; color:#fff; }
.fairy_sbg  { background:#EF70EF; color:#fff; }
.???bg      { background:#68A090; color:#fff; }  /* for ??? type */
.???bg      { background:#68A090; color:#fff; }  /* for ??? type */
/* Ensure float="left" galleries actually float left */
li.gallerybox {
  float: left !important;
}

Latest revision as of 21:31, 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; }


/* Learnset Table Base */
table.learnset {
  background: #f8f8ff;
  border: 1px solid #88a;
  border-collapse: collapse;
  font-size: 90%;
  width: auto;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
 margin: 1em 0;
}

table.learnset th,
table.learnset td {
  border: 1px solid #88a;
  padding: 4px 6px;
  text-align: center;
}

table.learnset th.learnset-header {
  background: #ccf;
  font-weight: bold;
  font-size: 95%;
}

/* Type Backgrounds (same as before, but ensure these are here too) */
.normalbg    { background:#A8A878; color:#000; }
.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; }
.bugbg        { 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; }
.unknownbg   { background:#68A090; color:#fff; }
.fairy_pbg   { background:#EF70EF; color:#fff; }
.fairy_sbg   { background:#EF70EF; color:#fff; }
.???bg       { background:#68A090; color:#fff; }  /* for ??? type */


/* Ensure float="left" galleries actually float left */
li.gallerybox {
  float: left !important;
}