Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:DMW/Island homepage/styles.css

Template page
Revision as of 03:13, 3 December 2026 by Maintenance script (talk | contribs) (Deploy QA-reviewed Island homepage styles and navigation)

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)

Revision as of 03:13, 3 December 2026 by Maintenance script (talk | contribs) (Deploy QA-reviewed Island homepage styles and navigation)

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)
.dmw-island-v2 {
  box-sizing: border-box;
  max-width: 1192px;
  margin: 0 auto;
  padding: 14px 20px 20px;
  color: #062e6b;
}
.dmw-island-v2 .island-banner { position: relative; margin-bottom: 16px; }
.dmw-island-v2 .dmw-home-hero {
  min-height: 152px;
  padding: 18px 25px;
  border: 1px solid #8fbaff;
  border-radius: 14px 14px 7px 7px;
  background-position: center 48%;
}
.dmw-island-v2 .dmw-home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #102a49e8, #102a4970);
}
.dmw-island-v2 .dmw-home-hero__content {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr) minmax(180px, 27%);
  gap: 16px;
  max-width: none;
  align-items: center;
}
.dmw-island-v2 .dmw-home-hero__logo { width: 124px; max-width: 100%; }
.dmw-island-v2 .dmw-home-hero__title {
  color: #fffdf3;
  text-align: left;
  font-size: 32px;
  text-shadow: 0 2px 2px #102a49;
}
.dmw-island-v2 .dmw-home-hero__search { margin-top: 18px; }
.dmw-island-v2 .hero-website { position: absolute; right: 25px; top: 9px; }
.dmw-island-v2 .hero-website a {
  background: #062e6b;
  color: white;
  padding: 3px 8px;
  border-radius: 5px;
  font-weight: 700;
}
.dmw-island-v2 .layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas: "directory directory updates" "systems tamer guides";
  align-items: stretch;
  gap: 14px;
}
.dmw-island-v2 .directory { grid-area: directory; }
.dmw-island-v2 .updates { grid-area: updates; }
.dmw-island-v2 .systems { grid-area: systems; }
.dmw-island-v2 .tamer { grid-area: tamer; }
.dmw-island-v2 .guides { grid-area: guides; }
.dmw-island-v2 .panel {
  background: #f5fbff;
  border: 1px solid #8fbaff;
  border-radius: 11px;
  min-width: 0;
  overflow: hidden;
}
.dmw-island-v2 .panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  padding: 9px 13px;
  background: #e6f2fb;
  border-bottom: 1px solid #8fbaff;
}
.dmw-island-v2 .panel h2, .dmw-island-v2 .community h2 {
  border: 0;
  margin: 0;
  padding: 0;
  font: 700 18px/24px Play, "Trebuchet MS", sans-serif;
  color: inherit;
}
.dmw-island-v2 .panel h2 { border-left: 3px solid #ff9d19; padding-left: 8px; }
.dmw-island-v2 .panel ul { margin: 0; padding: 8px 14px; list-style: none; }
.dmw-island-v2 .panel li { margin: 0; padding: 5px 0; }
.dmw-island-v2 .systems ul, .dmw-island-v2 .tamer ul, .dmw-island-v2 .guides ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 12px;
}
.dmw-island-v2 .updates li { border-bottom: 1px solid #c4dcff; }
.dmw-island-v2 .updates li:last-child { border: 0; }
.dmw-island-v2 .patch-date { margin-right: 10px; color: #3e5f6f; font-size: 13px; white-space: nowrap; }
.dmw-island-v2 .portraits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 12px 13px 8px;
}
.dmw-island-v2 .sprite {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  justify-items: start;
  gap: 8px;
  min-height: 64px;
  padding: 5px 8px;
  border: 1px solid #d7caa4;
  border-radius: 6px;
  background: #fbefd2;
}
.dmw-island-v2 .sprite > a { overflow-wrap: break-word; }
.dmw-island-v2 .sprite:nth-child(4n + 2) { background: #d8edf5; }
.dmw-island-v2 .sprite:nth-child(4n + 3) { background: #f0dfec; }
.dmw-island-v2 .sprite:nth-child(4n) { background: #e5def1; }
.dmw-island-v2 .browse { margin: 0; padding: 0 13px 10px; font-size: 14px; }
.dmw-island-v2 .browse a { display: inline-block; margin: 3px 10px 3px 0; }
.dmw-island-v2 .community {
  display: flex;
  align-items: center;
  gap: 10px 16px;
  flex-wrap: wrap;
  margin: 16px 0 0;
  padding: 12px 16px;
  border: 1px solid #f0c977;
  border-radius: 11px;
  background: #062e6b;
  color: white;
}
.dmw-island-v2 .community h2 { margin-right: auto; }
.dmw-island-v2 .community a {
  display: inline-block;
  padding: 6px 10px;
  color: white;
  border: 1px solid #9badc5;
  border-radius: 5px;
  font-weight: 700;
}
.dmw-island-v2 .discord a { background: #414b9e; }
.dmw-island-v2 .hero-website a, .dmw-island-v2 .community a { background-image: none; }
@media (max-width: 960px) {
  .dmw-island-v2 .layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "directory directory" "updates systems" "tamer guides";
  }
  .dmw-island-v2 .dmw-home-hero__title { font-size: 26px; }
}
@media (max-width: 680px) {
  .dmw-island-v2 { padding-inline: 12px; }
  .dmw-island-v2 .layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "directory" "updates" "systems" "tamer" "guides";
  }
  .dmw-island-v2 .dmw-home-hero { padding: 40px 12px 12px; }
  .dmw-island-v2 .dmw-home-hero__content { grid-template-columns: 62px minmax(0,1fr); gap: 7px; }
  .dmw-island-v2 .dmw-home-hero__title { font-size: 21px; line-height: 1.15; }
  .dmw-island-v2 .dmw-home-hero__search { grid-column: 1 / -1; margin-top: 6px; }
  .dmw-island-v2 .hero-website { right: 12px; }
  .dmw-island-v2 .portraits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dmw-island-v2 .community h2 { width: 100%; }
}