kitbash Sign in Connect agent
Components

Heat-flooded night cards

Three staggered cards, each flooded with its own part of the spectrum, a heavy condensed name, a thermal picture and a ruled timetable.

Part of the style

Thermal Spectrum Letters

7 parts that belong together, with their tokens, type and rules.

Preview

Code
<section class="nights">
  <svg class="nights__defs" width="0" height="0" aria-hidden="true" focusable="false">
    <filter id="nights-thermal" color-interpolation-filters="sRGB">
      <feColorMatrix type="matrix" values="0.3 0.59 0.11 0 0  0.3 0.59 0.11 0 0  0.3 0.59 0.11 0 0  0 0 0 1 0" />
      <feComponentTransfer>
        <feFuncR type="linear" slope="2" intercept="-0.35" />
        <feFuncG type="linear" slope="2" intercept="-0.35" />
        <feFuncB type="linear" slope="2" intercept="-0.35" />
      </feComponentTransfer>
      <feComponentTransfer>
        <feFuncR type="table" tableValues="0.18 0.18 0.10 0.56 1 1 1" />
        <feFuncG type="table" tableValues="0.09 0.42 0.78 0.82 0.83 0.48 0.18" />
        <feFuncB type="table" tableValues="0.66 1 0.90 0.42 0 0.10 0.53" />
      </feComponentTransfer>
    </filter>
  </svg>

  <header class="nights__head">
    <h2 class="nights__title">Three nights, three temperatures</h2>
    <p class="nights__text">Each night the cameras are tuned to a different band of warmth, from a slow ember opener to a cold blue close on Saturday.</p>
  </header>

  <div class="nights__cards">
    <article class="nights__card nights__card--ember">
      <p class="nights__kicker">Night one · Thu 12 Feb</p>
      <h3 class="nights__name">Ember</h3>
      <p class="nights__blurb">Slow light, the oldest paintings first, a string trio in the retort house.</p>
      <img class="nights__img" src="assets/rehearsal.jpg" alt="An orchestra rehearsing in a round hall, in thermal colour" width="635" height="800" />
      <ul class="nights__times">
        <li class="nights__row"><span class="nights__time">19:00</span><span class="nights__what">Doors and soup</span></li>
        <li class="nights__row"><span class="nights__time">20:30</span><span class="nights__what">The cold room tour</span></li>
        <li class="nights__row"><span class="nights__time">22:00</span><span class="nights__what">Trio for six cameras</span></li>
      </ul>
    </article>
    <article class="nights__card nights__card--day">
      <p class="nights__kicker">Night two · Fri 13 Feb</p>
      <h3 class="nights__name">Daylight</h3>
      <p class="nights__blurb">The full spectrum. Every room open until the last tram.</p>
      <img class="nights__img" src="assets/bathers-coast.jpg" alt="A wide beach with small figures by the water, in thermal colour" width="800" height="479" />
      <ul class="nights__times">
        <li class="nights__row"><span class="nights__time">19:00</span><span class="nights__what">Doors</span></li>
        <li class="nights__row"><span class="nights__time">21:00</span><span class="nights__what">Portrait sitting, live</span></li>
        <li class="nights__row"><span class="nights__time">23:30</span><span class="nights__what">Wall of a hundred faces</span></li>
      </ul>
    </article>
    <article class="nights__card nights__card--frost">
      <p class="nights__kicker">Night three · Sat 14 Feb</p>
      <h3 class="nights__name">Frost</h3>
      <p class="nights__blurb">The cool-down. Night views, quiet rooms and a choir in the dark.</p>
      <img class="nights__img" src="assets/nocturne.jpg" alt="A moon rising over still water at night, in thermal colour" width="800" height="529" />
      <ul class="nights__times">
        <li class="nights__row"><span class="nights__time">20:00</span><span class="nights__what">Doors</span></li>
        <li class="nights__row"><span class="nights__time">21:30</span><span class="nights__what">Choir in the dark</span></li>
        <li class="nights__row"><span class="nights__time">00:30</span><span class="nights__what">Lights back on</span></li>
      </ul>
    </article>
  </div>
</section>

<style>
  .nights {
    position: relative;
    padding: var(--section-space) var(--edge);
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
  }
  .nights__defs {
    position: absolute;
    width: 0;
    height: 0;
  }
  .nights__head {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: var(--gap);
    align-items: end;
    margin-bottom: var(--space-xl);
  }
  .nights__title {
    margin: 0;
    font-family: var(--font-serif);
    font-weight: 200;
    font-size: var(--serif-m);
    line-height: 1.02;
    letter-spacing: -0.02em;
  }
  .nights__text {
    margin: 0;
    color: var(--ink-soft);
    font-size: var(--text-s);
  }
  .nights__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--gap);
    align-items: start;
  }
  .nights__card {
    display: flex;
    flex-direction: column;
    gap: var(--space-s);
    padding: var(--space-m);
    box-shadow: var(--shadow-lift);
    transition: transform var(--t-lift) var(--ease);
  }
  .nights__card:hover {
    transform: translateY(-6px);
  }
  .nights__card--ember {
    background: linear-gradient(180deg, var(--heat-6), var(--heat-7));
    margin-top: var(--space-l);
  }
  .nights__card--day {
    background: var(--heat-5);
  }
  .nights__card--frost {
    background: var(--violet);
    color: var(--paper);
    margin-top: var(--space-xl);
  }
  .nights__kicker {
    margin: 0;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: var(--track-label);
    text-transform: uppercase;
  }
  .nights__name {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 300;
    font-size: var(--numeral);
    line-height: 0.85;
    text-transform: uppercase;
  }
  .nights__blurb {
    margin: 0;
    font-size: var(--text-s);
    line-height: 1.45;
  }
  .nights__img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    filter: url(#nights-thermal);
  }
  .nights__times {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .nights__row {
    display: grid;
    grid-template-columns: 4.2em 1fr;
    gap: var(--space-s);
    padding: var(--space-xs) 0;
    border-top: var(--rule) solid currentColor;
    font-size: var(--text-s);
  }
  .nights__time {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
  }

  @media (max-width: 52rem) {
    .nights__head,
    .nights__cards {
      grid-template-columns: 1fr;
    }
    .nights__card--ember,
    .nights__card--frost {
      margin-top: 0;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .nights__card:hover {
      transform: none;
    }
  }
</style>

Similar components

Process cards on a string

Process cards on a string

Infrastructure checker

Infrastructure checker

Dark service columns

Dark service columns

Particle-icon services

Particle-icon services

This week

This week

Latest notes

Latest notes

Two-up entry cards

Two-up entry cards

Triage queue window

Triage queue window