Template:Item Infobox/styles.css

From I-Pixelmon
Revision as of 16:04, 10 June 2025 by NewAdmin (talk | contribs) (Created page with "→‎═════════════ Item infobox (minimal) ═════════════: table.item-infobox { float: right; clear: right; width: 220px; background-color: #fefefe; →‎static accent colour for every item page: border: 4px solid #8BC34A; border-radius: 12px; border-collapse: separate; box-shadow: 0 0 0 2px rgba(0,0,0,0.1); } table.item-infobox th.header-main { →‎same accent colour, darker shade: background-c...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
/* ═════════════ Item infobox (minimal) ═════════════ */
table.item-infobox {
  float: right;
  clear: right;
  width: 220px;

  background-color: #fefefe;

  /* static accent colour for every item page */
  border: 4px solid #8BC34A;
  border-radius: 12px;

  border-collapse: separate;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.1);
}

table.item-infobox th.header-main {
  /* same accent colour, darker shade */
  background-color: #4CAF50;
  color: #fff;

  font-size: 140%;
  text-align: center;
  padding: 6px 0;
}

table.item-infobox td.img-cell {
  text-align: center;
  padding: 8px 0;
}