kitbash Sign in Connect agent
Components

Programme list

Ruled list of dated entries: kind on the left, a tall slab title with one line of copy in the centre, date on the right. The title picks up a hard white shade on hover. Restacks on phones with kind and date on one line.

Part of the style

Wood Type Playbill

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

Preview

Code
<style>
/* Goes after the pack's base.css */
:root {
  --page: #f1f1f1;
  --ink: #2c1608;
  --ink-mid: rgba(44, 22, 8, 0.8);
  --ink-soft: rgba(44, 22, 8, 0.5);
  --paper: #ffffff;
  --night: #665449;
  --poster-cream: #ffffff;
  --poster-cobalt: #d86d02;
  --poster-dusk: #fcbe96;
  --poster-red: #dc621f;
  --hot: #f39368;
  --plum: #613a28;
  --tile-brick: #793b1e;
  --poster-lemon: #c3743f;
  --tile-olive: #aa7c60;
  --poster-mint: #a38a77;
  --tile-forest: #946948;
  --tile-leaf: #a87a58;
  --poster-neon: #d86d02;
  --poster-heather: #977159;
  --tile-violet: #ce5506;
  --tile-sky: #c3743f;
}
</style>

<section class="events">
  <h2 class="events__heading">Workshops &amp; Open Calls</h2>
  <ul class="events__list">
    <li class="events__row">
      <a class="events__link" href="#">
        <span class="events__kind">workshop</span>
        <span class="events__main">
          <span class="events__title">Wood type for beginners</span>
          <span class="events__blurb">Six evenings, very large letters, inky hands. No experience needed.</span>
          <span class="events__place">Holler Press, Unit 4</span>
        </span>
        <time class="events__when" datetime="2027-03-09T18:30">March 9, 2027 <span class="events__hour">6:30pm</span></time>
      </a>
    </li>
    <li class="events__row">
      <a class="events__link" href="#">
        <span class="events__kind">open call</span>
        <span class="events__main">
          <span class="events__title">Posters for the night bus</span>
          <span class="events__blurb">Twelve shelters, twelve sheets. Send us one idea by the end of the month.</span>
          <span class="events__place">Route 47, all stops</span>
        </span>
        <time class="events__when" datetime="2027-03-21T23:59">March 21, 2027 <span class="events__hour">midnight</span></time>
      </a>
    </li>
    <li class="events__row">
      <a class="events__link" href="#">
        <span class="events__kind">family day</span>
        <span class="events__main">
          <span class="events__title">Potato print Saturday</span>
          <span class="events__blurb">Bring a potato. Leave with a flag.</span>
          <span class="events__place">Holler Press yard</span>
        </span>
        <time class="events__when" datetime="2027-04-03T14:00">April 3, 2027 <span class="events__hour">2:00pm</span></time>
      </a>
    </li>
  </ul>
</section>

<style>
  .events {
    padding: 0 var(--edge) var(--section-space);
  }
  .events__heading {
    margin: 0 0 var(--space-l);
    font-size: var(--text-xl);
    font-weight: 900;
    line-height: 1.2;
  }
  .events__list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-block: var(--rule-thick) solid var(--ink);
  }
  .events__row + .events__row {
    border-top: var(--rule-thin) solid var(--ink);
  }
  .events__link {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr) minmax(0, 1fr);
    gap: var(--gap);
    padding: var(--space-xl) 0;
    color: inherit;
    text-decoration: none;
  }
  .events__link:focus-visible {
    outline: var(--rule-thick) solid var(--ink);
    outline-offset: -3px;
  }
  .events__kind,
  .events__when {
    font-size: var(--text-l);
    font-weight: 800;
    line-height: 1.1;
  }
  .events__when {
    text-align: right;
  }
  .events__hour {
    display: block;
  }
  .events__main {
    display: grid;
    gap: var(--space-m);
    text-align: center;
  }

  /* The slab is drawn wide and squeezed, so the box is made wider by the same factor first. */
  .events__title {
    display: block;
    width: calc(100% * var(--display-stretch));
    transform: scaleX(calc(1 / var(--display-stretch)));
    transform-origin: 0 0;
    font-family: var(--font-display);
    font-size: var(--display-m);
    font-weight: 900;
    line-height: 0.72;
    letter-spacing: 0;
    text-transform: uppercase;
    text-wrap: balance;
    text-shadow: 0 0 0 transparent;
    transition: text-shadow var(--time) var(--ease);
  }
  .events__link:hover .events__title,
  .events__link:focus-visible .events__title {
    text-shadow: calc(0.035em * var(--display-stretch)) 0.035em 0 var(--paper);
  }
  .events__blurb {
    font-size: var(--text-m);
    line-height: 1.3;
    text-wrap: balance;
  }
  .events__place {
    color: var(--ink-soft);
    font-size: var(--text-s);
    font-weight: 700;
  }

  @media (max-width: 56rem) {
    .events__link {
      grid-template-columns: 1fr auto;
      padding: var(--space-l) 0;
    }
    .events__kind,
    .events__when {
      font-size: var(--text-m);
    }
    .events__main {
      grid-column: 1 / -1;
      grid-row: 2;
      padding-top: var(--space-s);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .events__title {
      transition-duration: 0s;
    }
  }
</style>

Similar components

Ruled trade list

Ruled trade list

Entry columns

Entry columns

Ruled lists

Ruled lists

Stockist list

Stockist list

News

News

Ray lab

Ray lab

Scan-weight index

Scan-weight index

Contents with buttons

Contents with buttons