kitbash Sign in Connect agent
Components

Poster programme

A two-line condensed heading in cream and pink over a four-up grid of event posters, each with its date in big pink condensed figures.

Part of the style

Starfield Halftone Globe

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

Preview

Code
<style>
/* Goes after the pack's base.css */
:root {
  --night: #503628;
  --void: #200a01;
  --cream: #f8e5d4;
  --white: #fff3e8;
  --muted: #c0aa97;
  --hairline: rgba(255, 243, 232, 0.16);
  --hairline-strong: rgba(255, 243, 232, 0.42);
  --chip: #533a2d;
  --star: rgba(255, 243, 232, 0.55);
  --pink: #cdab92;
  --pink-deep: #9c7455;
}
</style>

<section class="posters" aria-labelledby="posters-title">
  <h2 class="posters__title" id="posters-title">The big nights<span class="posters__title-accent">at Nadir</span></h2>
  <ul class="posters__grid">
    <li class="posters__item">
      <a class="posters__link" href="#">
        <img class="posters__img" src="assets/poster-ice.jpg" alt="Lithograph poster of a skater in a long yellow coat" width="496" height="700" loading="lazy">
        <span class="posters__name">Cold Hands, Warm Room: winter soul all-nighter</span>
        <time class="posters__date" datetime="2027-01-14">14.01</time>
      </a>
    </li>
    <li class="posters__item">
      <a class="posters__link" href="#">
        <img class="posters__img" src="assets/poster-dancer.jpg" alt="Lithograph poster of a dancer kicking on a crowded floor" width="428" height="700" loading="lazy">
        <span class="posters__name">Kick Drum Ball with the Lantern Row house band</span>
        <time class="posters__date" datetime="2027-01-16">16.01</time>
      </a>
    </li>
    <li class="posters__item">
      <a class="posters__link" href="#">
        <img class="posters__img" src="assets/poster-singer.jpg" alt="Lithograph poster of a singer in a black cape seen from behind" width="528" height="700" loading="lazy">
        <span class="posters__name">One Voice, No Microphone: a cellar recital</span>
        <time class="posters__date" datetime="2027-01-22">22.01</time>
      </a>
    </li>
    <li class="posters__item">
      <a class="posters__link" href="#">
        <img class="posters__img" src="assets/poster-zodiac.jpg" alt="Lithograph poster of a woman in profile ringed by zodiac signs" width="522" height="700" loading="lazy">
        <span class="posters__name">Star Signs Disco, twelve DJs for twelve houses</span>
        <time class="posters__date" datetime="2027-01-29">Fri–Sat</time>
      </a>
    </li>
    <li class="posters__item">
      <a class="posters__link" href="#">
        <img class="posters__img" src="assets/poster-queen.jpg" alt="Lithograph poster of a couple at a dinner table" width="477" height="700" loading="lazy">
        <span class="posters__name">Supper Club with the night kitchen</span>
        <time class="posters__date" datetime="2027-02-04">04.02</time>
      </a>
    </li>
    <li class="posters__item">
      <a class="posters__link" href="#">
        <img class="posters__img" src="assets/poster-skater.jpg" alt="Lithograph poster of a woman in a spotted dress and a muff" width="502" height="700" loading="lazy">
        <span class="posters__name">Fur and Feathers: a costume ball</span>
        <time class="posters__date" datetime="2027-02-12">12.02</time>
      </a>
    </li>
  </ul>
</section>

<style>
  .posters {
    padding: var(--section-space) var(--edge);
    background-color: var(--night);
    background-image: var(--stars);
    background-size: var(--stars-tile);
    color: var(--cream);
  }
  .posters__title {
    margin: 0 0 var(--space-xl);
    font-family: var(--font-display);
    font-weight: 400;
    font-size: var(--display-m);
    line-height: 1.1;
    text-transform: uppercase;
  }
  .posters__title-accent {
    display: block;
    color: var(--pink);
  }
  .posters__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-xl) var(--gap);
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .posters__link {
    display: grid;
    justify-items: center;
    gap: var(--space-s);
    color: inherit;
    text-decoration: none;
  }
  .posters__img {
    width: 100%;
    aspect-ratio: 5 / 7;
    height: auto;
    object-fit: cover;
    transition: transform var(--quick) var(--ease), filter var(--quick) var(--ease);
    filter: saturate(1.15) contrast(1.05);
  }
  .posters__name {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .posters__date {
    font-family: var(--font-display);
    font-size: var(--display-s);
    line-height: 1;
    color: var(--pink);
    transition: color var(--quick) var(--ease);
  }
  .posters__link:hover .posters__img,
  .posters__link:focus-visible .posters__img {
    transform: translateY(-6px);
  }
  .posters__link:hover .posters__date,
  .posters__link:focus-visible .posters__date {
    color: var(--cream);
  }
  .posters__link:focus-visible {
    outline: var(--rule-bold) solid var(--pink);
    outline-offset: 6px;
  }

  @media (min-width: 1100px) {
    .posters__grid {
      grid-template-columns: repeat(6, minmax(0, 1fr));
    }
  }
  @media (max-width: 760px) {
    .posters__grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: var(--space-l) var(--space-s);
    }
    .posters__title {
      margin-bottom: var(--space-l);
    }
  }
</style>

Similar components

Lineup rail

Lineup rail

Floating card wall

Floating card wall

Matted device wall

Matted device wall

Project slice

Project slice

Project windows

Project windows

Grey print tiles

Grey print tiles

Reel

Reel

Thermal portrait scatter

Thermal portrait scatter