MediaWiki:Common.css

From SuperJoy Wiki
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* ===== SuperJoy Wiki Custom Styling (Main Page) ===== */

.page-Main_Page {
  background: #fff;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, sans-serif;
}

/* ---------- HERO BANNER ---------- */
.page-Main_Page .sj-hero {
  width: calc(100% - 2rem);
  margin: 1rem auto 0 auto;
  background-image: url('https://wiki.sjs.gg/images/a/a8/SuperJoyBanner.png');
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  height: 260px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  position: relative;
  max-width: 1600px;
}

/* ---------- QUICK LINKS ---------- */
.page-Main_Page .sj-quick {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.6rem auto;
}

.page-Main_Page .sj-pill,
.page-Main_Page .sj-pill:visited {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.1rem;
  border-radius: 9999px;
  color: #fff !important;       /* force white text & icons (currentColor) */
  font-weight: 700;
  font-size: 0.96rem;
  text-decoration: none;
  line-height: 1;
  box-shadow: 0 3px 6px rgba(0,0,0,0.14);
  transition: transform 0.18s, box-shadow 0.18s;
  will-change: transform;
}

.page-Main_Page .sj-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 18px rgba(0,0,0,0.22);
}

/* Brand colors */
.page-Main_Page .sj-pill.discord { background-color: #5865F2; }
.page-Main_Page .sj-pill.twitter { background-color: #1D9BF0; }
.page-Main_Page .sj-pill.youtube { background-color: #FF0000; }
.page-Main_Page .sj-pill.web     { background-color: #111; }

/* Font Awesome icons in the pills */
.page-Main_Page .sj-pill i {
  font-size: 1.1em;       /* slightly larger so they read well */
  line-height: 1;         /* avoid vertical squish */
  display: inline-block;  /* stable box for vertical-align */
  vertical-align: -0.05em;
}

/* Per-brand optical balance */
.page-Main_Page .sj-pill.youtube i { font-size: 1.18em; }
.page-Main_Page .sj-pill.discord i { font-size: 1.14em; }
.page-Main_Page .sj-pill.twitter i { font-size: 1.12em; }

/* ---------- PROJECTS ---------- */
.page-Main_Page .sj-projects {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 2rem auto;
}

.page-Main_Page .sj-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  overflow: hidden;
  text-decoration: none;
  width: 220px;
  transition: transform 0.18s, box-shadow 0.18s;
}

.page-Main_Page .sj-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.16);
}

.page-Main_Page .sj-card img {
  width: 100%;
  height: auto;
  display: block;
}

.page-Main_Page .sj-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0.7rem 0 1rem 0;
  text-align: center;
  color: #111;
}

/* ---------- FOOTER ---------- */
.page-Main_Page .sj-footer {
  text-align: center;
  color: #666;
  font-size: 0.92rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* ---------- LOGO ---------- */
.skin-vector .mw-wiki-logo {
  width: 160px !important;
  height: 85px !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  display: block !important;
}

.skin-vector #p-logo,
.skin-vector .mw-portlet-logo {
  width: 180px !important;
}


/* ================================
   Catch a Kraken — Page Styling
   Scopes to: /wiki/Catch_a_Kraken
   ================================ */
.page-Catch_a_Kraken {
  --cak-bg: #0b1b2a;
  --cak-bg-2: #0e2135;
  --cak-card: #ffffff;
  --cak-ink: #0e1722;
  --cak-ink-soft: #3a4a60;
  --cak-blue: #2a7dff;
  --cak-reef: #0f2d48;
  --cak-aqua: #59b7ff;
  --cak-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  --cak-radius: 14px;
  --cak-radius-lg: 20px;
}

.page-Catch_a_Kraken .mw-parser-output > p:first-child {
  /* hide accidental blank paragraphs */
  display: none;
}

/* --- HERO --- */
.page-Catch_a_Kraken .cak-hero {
  position: relative;
  border-radius: var(--cak-radius-lg);
  overflow: hidden;
  margin: 8px auto 18px;
  max-width: 1200px;
  min-height: 260px;
  box-shadow: var(--cak-shadow);
}

.page-Catch_a_Kraken .cak-hero__img {
  position: absolute;
  inset: 0;
  background-image: url('https://wiki.sjs.gg/images/6/6c/CatchaKrakenBanner.png?20251006165508');
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.page-Catch_a_Kraken .cak-hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.55) 100%);
}

.page-Catch_a_Kraken .cak-hero__content {
  position: relative;
  z-index: 1;
  padding: 42px 24px 30px;
  text-align: center;
  color: #fff;
}

.page-Catch_a_Kraken .cak-hero h1 {
  margin: 0 0 4px;
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.1;
  font-weight: 800;
  color: #ffffff !important;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.45);
}

.page-Catch_a_Kraken .cak-tagline {
  margin: 0 0 14px;
  font-size: clamp(14px, 1.7vw, 18px);
  color: #e6f2ff !important;
  opacity: 0.95;
}

/* --- SOCIAL PILLS --- */
.page-Catch_a_Kraken .cak-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.page-Catch_a_Kraken .cak-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  line-height: 1;
  transition: transform .18s ease, box-shadow .18s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,.22);
}

.page-Catch_a_Kraken .cak-pill:hover { transform: translateY(-2px); }

.page-Catch_a_Kraken .cak-pill.is-discord { background: #5865F2; }
.page-Catch_a_Kraken .cak-pill.is-twitter { background: #1D9BF0; }
.page-Catch_a_Kraken .cak-pill.is-youtube { background: #FF0033; }
.page-Catch_a_Kraken .cak-pill.is-web     { background: #111; }

/* --- GRID LAYOUT --- */
.page-Catch_a_Kraken .cak-grid {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 320px);
  gap: 18px;
  max-width: 1200px;
  margin: 0 auto 24px;
  padding-inline: 6px;
}

@media (max-width: 980px) {
  .page-Catch_a_Kraken .cak-grid { grid-template-columns: 1fr; }
}

/* --- CARDS --- */
.page-Catch_a_Kraken .cak-card {
  background: var(--cak-card);
  color: var(--cak-ink);
  border-radius: var(--cak-radius);
  padding: 18px 18px 16px;
  box-shadow: var(--cak-shadow);
  margin-bottom: 18px;           /* spacing between sections (incl. before Guides) */
}

.page-Catch_a_Kraken .cak-card h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
  color: var(--cak-ink);
}

/* --- OVERVIEW (blue feature cards) --- */
.page-Catch_a_Kraken .cak-overview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 18px 0 22px;
}

@media (max-width: 980px) {
  .page-Catch_a_Kraken .cak-overview { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .page-Catch_a_Kraken .cak-overview { grid-template-columns: 1fr; }
}

.page-Catch_a_Kraken .cak-overview__item {
  background: linear-gradient(145deg, #081827, #0f2a43);
  color: #ffffff;                /* ✅ strong white body text */
  border-radius: var(--cak-radius);
  padding: 16px 14px;
  text-align: center;
  box-shadow: var(--cak-shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.page-Catch_a_Kraken .cak-overview__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0,0,0,.28);
}
.page-Catch_a_Kraken .cak-overview__item i {
  font-size: 22px;
  color: var(--cak-aqua);
  margin-bottom: 6px;
}
.page-Catch_a_Kraken .cak-overview__item h3 {
  margin: 4px 0 6px;
  font-size: 16px;
  font-weight: 800;
  color: #fff;                   /* ✅ white headings */
}
.page-Catch_a_Kraken .cak-overview__item p {
  margin: 0;
  color: rgba(255,255,255,.92);  /* ✅ high-contrast body copy */
}

/* --- SIMPLE LIST (Latest) --- */
.page-Catch_a_Kraken .cak-list {
  margin: 6px 0 4px 1.1em;
}
.page-Catch_a_Kraken .cak-list li { margin: 4px 0; }
.page-Catch_a_Kraken .cak-chip {
  display: inline-block;
  background: #0d6efd;
  color: #fff;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  margin-right: 6px;
}
.page-Catch_a_Kraken .cak-small { color: var(--cak-ink-soft); font-size: 13px; }

/* --- START HERE (guide cards) --- */
.page-Catch_a_Kraken .cak-starthere {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 980px) {
  .page-Catch_a_Kraken .cak-starthere { grid-template-columns: 1fr; }
}
.page-Catch_a_Kraken .cak-startcard {
  background: #0c1d2e;
  color: #ffffff;                 /* ✅ strong white */
  border-radius: var(--cak-radius);
  padding: 16px 16px 14px;
  box-shadow: var(--cak-shadow);
  border-top: 4px solid #2aa0ff;
}
.page-Catch_a_Kraken .cak-startcard:nth-child(2) { border-top-color: #00c2d7; }
.page-Catch_a_Kraken .cak-startcard:nth-child(3) { border-top-color: #ff9800; }
.page-Catch_a_Kraken .cak-startcard h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
  color: #fff;                    /* ✅ white headings */
}
.page-Catch_a_Kraken .cak-startcard p {
  margin: 0 0 10px;
  color: rgba(255,255,255,.92);   /* ✅ white body copy */
}
.page-Catch_a_Kraken .cak-startlink {
  display: inline-block;
  background: #fff;
  color: #0e1722 !important;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 700;
  transition: transform .18s ease, box-shadow .18s ease;
}
.page-Catch_a_Kraken .cak-startlink:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,.2);
}

/* --- SIDEBAR QUICK LINKS (clickable) --- */
.page-Catch_a_Kraken .cak-quicklinks ul {
  list-style: none;
  padding-left: 0;
  margin: 6px 0 0;
}
.page-Catch_a_Kraken .cak-quicklinks li {
  margin: 6px 0;
}
.page-Catch_a_Kraken .cak-quicklinks a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-weight: 700;
  color: #0d6efd;                 /* ✅ blue to signal clickability */
  transition: color .15s ease, transform .15s ease;
}
.page-Catch_a_Kraken .cak-quicklinks a::after {
  content: "›";
  font-weight: 800;
  line-height: 1;
  transform: translateY(-1px);
}
.page-Catch_a_Kraken .cak-quicklinks a:hover {
  color: #003bb5;
  text-decoration: underline;
}
.page-Catch_a_Kraken .cak-quicklinks a:focus-visible {
  outline: 2px solid #0d6efd;
  outline-offset: 2px;
  border-radius: 6px;
}
.page-Catch_a_Kraken .cak-pill.is-play {
  background: linear-gradient(135deg, #007cf0, #00dfd8);
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(0, 124, 240, 0.25);
}
.page-Catch_a_Kraken .cak-pill.is-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 124, 240, 0.35);
}
.page-Catch_a_Kraken .cak-pill.is-play i {
  font-size: 1.15em;
}


/* --- FOOTNOTE --- */
.page-Catch_a_Kraken .cak-footnote {
  text-align: center;
  color: #667a93;
  font-size: 13px;
  margin: 10px 0 24px;
}