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

Join the Playtest on Steam Now: SpiritVale

Template:PatchHighlights/styles.css

Template page
/* Bordered container */
.sv-highlights-wrap {
  border: 2px solid #372b54;
  border-radius: 10px;
  padding: 0.75rem;
  background: transparent;
}

/* Responsive grid: naturally flows 3 → 2 → 1 as space shrinks */
.sv-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  grid-auto-rows: auto;
  align-items: start;
  width: 100%;
}

/* Empty state */
.sv-empty {
  grid-column: 1 / -1;
  opacity: .75;
  text-align: center;
  padding: 1rem;
  direction: ltr;
}

/* Card base */
.sv-card {
  text-align: left;
  padding: 1rem 1.5rem 0.75rem;
  direction: ltr;
  border-radius: 8px;
  min-width: 0;
  word-wrap: break-word;
}

/* Card pieces */
.sv-card__title {
  font-size: 1.4em;
  font-weight: 700;
  line-height: 1.2;
  margin: -0.2em 0 0.3em 0;
}
.sv-card__divider {
  height: 1px;
  background: rgba(55, 43, 84, 0.25);
  margin: 0.35rem 0 0.5rem 0;
}
.sv-card__date {
  margin: .1em 0;
  font-size: .85em;
  font-style: italic;
  color: var(--text-color);
}
.sv-card__blurb {
  font-size: .9em;
  line-height: 1.75em;
  color: var(--text-color);
  margin: .3em 0 0 0;
}

/* Mobile: 1 column and hide all but the newest card. */
@media (max-width: 640px) {
  .sv-highlights { grid-template-columns: 1fr; }
  .sv-highlights > div.sv-card:nth-of-type(n+2) { display: none; }
}