Template:CAK/styles-rods.css

From SuperJoy Wiki
Revision as of 02:42, 7 October 2025 by Zach (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
/* Grid wrapper */
.rod-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 8px 0 16px 0;
}

/* Individual card */
.rod-card {
  width: 220px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: #111111;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
}

/* Image area — fixed viewport for consistent size */
.rod-img {
  background: #0b1b2a;
  height: 220px;                 /* use a fixed height for all rods */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.rod-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;           /* keeps aspect ratio */
  display: block;
}

/* Body */
.rod-body {
  padding: 10px 12px 12px 12px;
}

/* Name */
.rod-name {
  font-weight: 800;
  font-size: 15px;
  margin: 0 0 6px 0;
}

/* Rarity tag */
.rod-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 999px;
  margin: 0 0 8px 0;
  color: #ffffff;
}

/* Rarity colors */
.rod-common    { background: #6b7280; }  /* gray */
.rod-uncommon  { background: #10b981; }  /* green */
.rod-rare      { background: #3b82f6; }  /* blue */
.rod-epic      { background: #8b5cf6; }  /* purple */
.rod-legendary { background: #f59e0b; }  /* amber */

/* Description */
.rod-desc {
  font-size: 13px;
  color: #374151;
}

/* Section headings on the page */
.rod-section-title {
  font-size: 18px;
  font-weight: 800;
  margin: 14px 0 8px 0;
}

/* Stat pills line */
.rod-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.rod-stat {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  background: #0d6efd;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}