Template:CAK/styles-boats.css

From SuperJoy Wiki
Jump to navigation Jump to search
/* ===== Catch a Kraken – Boats ===== */

/* Grid */
.boat-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 8px 0 16px 0;
}

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

/* Image viewport (boats are wider) */
.boat-img {
  background: #0b1b2a;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.boat-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

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

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

/* Tier / rarity tag (optional) */
.boat-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;
}
.boat-tier1 { background: #6b7280; }
.boat-tier2 { background: #10b981; }
.boat-tier3 { background: #3b82f6; }
.boat-tier4 { background: #8b5cf6; }
.boat-tier5 { background: #f59e0b; }

/* Stats */
.boat-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.boat-stat {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  background: #0d6efd;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

/* Section title */
.boat-section-title {
  font-size: 18px;
  font-weight: 800;
  margin: 14px 0 8px 0;
}