kitbash Sign in Connect agent
Components

Honours table

An ampersand and a hyphen-broken 90px heading stepping across columns, over a small ruled table of years, projects, juries and prizes whose rows tint on hover.

Part of the style

Ink Bloom Column

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

Preview

Code
<style>
/* Goes after the pack's base.css */
:root {
  --paper: #1e1b11;
  --ink: #d1ad7a;
  --mist: #232014;
  --tint: rgba(209, 173, 122, 0.05);
  --hairline: rgba(209, 173, 122, 0.1);
  --ink-ghost: rgba(209, 173, 122, 0.1);
  --ink-soft: rgba(209, 173, 122, 0.5);
  --menu-1: #342f1f;
  --menu-2: #2e2a1b;
  --menu-3: #292518;
  --theme-slate: #393422;
  --on-ink: #1e1b11;
  --theme-ember: #5d331e;
  --theme-oxblood: #693d27;
  --theme-lichen: #5b3417;
}
</style>

<section class="honours" aria-labelledby="honours-title">
  <span class="honours__rule" aria-hidden="true"></span>
  <p class="honours__amp" aria-hidden="true" data-goo>&amp;</p>
  <h2 class="honours__title" id="honours-title" aria-label="Honours and mentions" data-goo>
    <span class="honours__line" data-line>Honours</span>
    <span class="honours__line" data-line>Men-</span>
    <span class="honours__line honours__line--offset" data-line>tions</span>
  </h2>
  <p class="honours__count" data-goo>&rsquo;23&ndash;&rsquo;26<br />11 entries</p>

  <div class="honours__table">
    <div class="honours__head" aria-hidden="true">
      <span>Year</span><span>Project</span><span>Jury</span><span>Prize</span>
    </div>
    <ul class="honours__list">
      <li class="honours__group">
        <a class="honours__row" href="#"><span class="honours__year">&rsquo;26</span><span class="honours__project">nachklang&rsquo;26</span><span>H&ouml;rfeld Awards</span><span>Sound of the Year</span></a>
        <a class="honours__row" href="#"><span class="honours__year"></span><span class="honours__project"></span><span>Reel Guild</span><span>Honourable Mention</span></a>
        <a class="honours__row" href="#"><span class="honours__year"></span><span class="honours__project"></span><span>Index of Quiet</span><span>Shortlist</span></a>
      </li>
      <li class="honours__group">
        <a class="honours__row" href="#"><span class="honours__year">&rsquo;25</span><span class="honours__project">Ferry Hall</span><span>Mono/Stereo Annual</span><span>Gold</span></a>
        <a class="honours__row" href="#"><span class="honours__year"></span><span class="honours__project"></span><span>H&ouml;rfeld Awards</span><span>Best Installation</span></a>
        <a class="honours__row" href="#"><span class="honours__year"></span><span class="honours__project"></span><span>Reel Guild</span><span>Craft Award</span></a>
        <a class="honours__row" href="#"><span class="honours__year"></span><span class="honours__project"></span><span>Lautsprecher Prize</span><span>Winner</span></a>
      </li>
      <li class="honours__group">
        <a class="honours__row" href="#"><span class="honours__year">&rsquo;24</span><span class="honours__project">Kiln, short film</span><span>Northern Shorts</span><span>Best Sound</span></a>
        <a class="honours__row" href="#"><span class="honours__year"></span><span class="honours__project"></span><span>Reel Guild</span><span>Nomination</span></a>
      </li>
      <li class="honours__group">
        <a class="honours__row" href="#"><span class="honours__year">&rsquo;23</span><span class="honours__project">Moss Archive</span><span>Interface Sound Club</span><span>Pick of the Month</span></a>
        <a class="honours__row" href="#"><span class="honours__year"></span><span class="honours__project"></span><span>Index of Quiet</span><span>Feature</span></a>
      </li>
    </ul>
  </div>
</section>

<style>
  .honours {
    position: relative;
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    column-gap: var(--gap);
    padding: var(--space-l) var(--edge);
    background: var(--paper);
  }
  .honours p, .honours h2 { margin: 0; font-weight: inherit; }
  .honours__rule {
    position: absolute;
    top: 0;
    height: calc(var(--space-l) + var(--text-xl) * var(--leading-xl) * 3);
    left: calc(var(--edge) + 3 * (100% - 2 * var(--edge) - 7 * var(--gap)) / 8 + 2.5 * var(--gap));
    width: var(--stroke);
    background: var(--ink);
  }
  .honours__amp,
  .honours__title {
    font-size: var(--text-xl);
    line-height: var(--leading-xl);
    letter-spacing: var(--tracking-xl);
  }
  .honours__amp {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    justify-self: end;
  }
  .honours__title {
    grid-column: 4 / -1;
    grid-row: 1;
  }
  .honours__line { display: block; }
  .honours__line--offset { padding-left: calc((100% - 4 * var(--gap)) / 5 * 0.74); }
  .honours__count {
    grid-column: 3;
    grid-row: 1;
    align-self: end;
    color: var(--ink-soft);
  }

  .honours__table {
    grid-column: 1 / -1;
    margin-top: var(--space-l);
  }
  .honours__head,
  .honours__row {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    column-gap: var(--gap);
  }
  .honours__head {
    padding-bottom: var(--space-s);
    border-bottom: var(--stroke) solid var(--ink);
    color: var(--ink-soft);
  }
  .honours__head > :nth-child(1), .honours__row > :nth-child(1) { grid-column: 1; }
  .honours__head > :nth-child(2), .honours__row > :nth-child(2) { grid-column: 3 / span 2; }
  .honours__head > :nth-child(3), .honours__row > :nth-child(3) { grid-column: 5 / span 2; }
  .honours__head > :nth-child(4), .honours__row > :nth-child(4) { grid-column: 7 / span 2; }
  .honours__list {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .honours__group {
    padding: var(--space-m) 0;
    border-bottom: var(--stroke) solid var(--hairline);
  }
  .honours__row {
    align-items: center;
    min-height: var(--tap);
    margin-inline: calc(var(--space-s) * -1);
    padding-inline: var(--space-s);
    color: inherit;
    text-decoration: none;
    transition: background var(--dur-s) var(--ease-out);
  }
  .honours__row + .honours__row { border-top: var(--stroke) solid var(--hairline); }
  .honours__row:hover,
  .honours__row:focus-visible {
    background: var(--tint);
  }
  .honours__row:focus-visible { outline: var(--stroke) solid var(--ink); outline-offset: -1px; }
  .honours__row > :last-child { position: relative; }
  .honours__row > :last-child::after {
    content: "\2197";
    position: absolute;
    right: 0;
    opacity: 0;
    translate: -6px 4px;
    transition: opacity var(--dur-s) var(--ease-out), translate var(--dur-s) var(--ease-out);
  }
  .honours__row:is(:hover, :focus-visible) > :last-child::after { opacity: 1; translate: 0 0; }

  @media (max-width: 47.99rem) {
    .honours { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .honours__rule { left: calc(var(--edge) + (100% - 2 * var(--edge) - 3 * var(--gap)) / 4 + 0.5 * var(--gap)); }
    .honours__amp { grid-column: 1; justify-self: start; }
    .honours__title { grid-column: 2 / -1; }
    .honours__count { grid-column: 1; grid-row: 2; margin-top: var(--space-m) !important; }
    .honours__head { display: none; }
    .honours__row { grid-template-columns: 3.5ch minmax(0, 1fr) minmax(0, 1fr); row-gap: 2px; padding-block: var(--space-s); }
    .honours__row > :nth-child(1) { grid-column: 1; grid-row: 1 / span 2; align-self: start; }
    .honours__row > :nth-child(2) { grid-column: 2 / -1; grid-row: 1; }
    .honours__row > :nth-child(2):empty { display: none; }
    .honours__row > :nth-child(3) { grid-column: 2; grid-row: 2; }
    .honours__row > :nth-child(4) { grid-column: 3; grid-row: 2; }
    .honours__row > :nth-child(2):empty ~ :nth-child(3),
    .honours__row > :nth-child(2):empty ~ :nth-child(4) { grid-row: 1; }
  }
</style>

<script>
(() => {
  /* Goo reveal: each line starts as a heavy blur through a hard alpha threshold and grows out of ink blobs.
     Blocks marked data-goo reveal when they come into view; their data-line children follow each other. */
  function revealOnView(root) {
    if (matchMedia('(prefers-reduced-motion: reduce)').matches) return;
    const styles = getComputedStyle(root);
    const time = (name) => parseFloat(styles.getPropertyValue(name)) * 1000;
    const durL = time('--dur-l'), stagger = time('--stagger');
    const most = parseFloat(styles.getPropertyValue('--goo-blur'));
    const [x1, y1, x2, y2] = styles.getPropertyValue('--ease-out').match(/-?[\d.]+/g).map(Number);
    const curve = (a, b, t) => 3 * a * t * (1 - t) ** 2 + 3 * b * t * t * (1 - t) + t ** 3;
    const easeOut = (x) => {
      let low = 0, high = 1, t = x;
      for (let step = 0; step < 24; step += 1) { t = (low + high) / 2; if (curve(x1, x2, t) < x) low = t; else high = t; }
      return curve(y1, y2, t);
    };
    const defs = document.createElementNS('http://www.w3.org/2000/svg', 'svg');
    defs.setAttribute('aria-hidden', 'true');
    defs.style.cssText = 'position:absolute;width:0;height:0;overflow:hidden';
    root.prepend(defs);
    const prepare = (line) => {
      const ns = 'http://www.w3.org/2000/svg';
      const filter = document.createElementNS(ns, 'filter');
      const blur = document.createElementNS(ns, 'feGaussianBlur');
      const matrix = document.createElementNS(ns, 'feColorMatrix');
      filter.id = `honours-goo-${Math.random().toString(36).slice(2, 9)}`;
      Object.entries({ x: '-25%', y: '-25%', width: '150%', height: '150%', 'color-interpolation-filters': 'sRGB' }).forEach(([key, value]) => filter.setAttribute(key, value));
      blur.setAttribute('in', 'SourceGraphic');
      matrix.setAttribute('type', 'matrix');
      filter.append(blur, matrix);
      defs.append(filter);
      const scale = Math.max(0.3, parseFloat(getComputedStyle(line).fontSize) / 90);
      line._goo = (deviation, amp, offset) => {
        blur.setAttribute('stdDeviation', (deviation * scale).toFixed(2));
        matrix.setAttribute('values', `1 0 0 0 0  0 1 0 0 0  0 0 1 0 0  0 0 0 ${amp} ${offset}`);
      };
      line._goo(most, 20, -8);
      line.style.filter = `url(#${filter.id})`;
    };
    const play = (line, delay) => {
      const begin = performance.now() + delay;
      const frame = (now) => {
        const elapsed = now - begin;
        if (elapsed < 0) { requestAnimationFrame(frame); return; }
        const blurDone = Math.min(1, elapsed / durL);
        const threshold = Math.min(1, Math.max(0, (elapsed - durL * 0.65) / (durL * 0.35)));
        line._goo(most * (1 - easeOut(blurDone)), 20 - 19 * threshold, -8 + 8 * threshold);
        if (blurDone < 1) requestAnimationFrame(frame); else line.style.filter = '';
      };
      requestAnimationFrame(frame);
    };
    const linesOf = (block) => {
      const lines = [...block.querySelectorAll('[data-line]')];
      return lines.length ? lines : [block];
    };
    const blocks = [...root.querySelectorAll('[data-goo]')];
    blocks.forEach((block) => linesOf(block).forEach(prepare));
    const seen = new IntersectionObserver((entries) => {
      entries.filter((entry) => entry.isIntersecting).forEach((entry, order) => {
        seen.unobserve(entry.target);
        linesOf(entry.target).forEach((line, index) => play(line, (order + index) * stagger));
      });
    }, { threshold: 0.1 });
    blocks.forEach((block) => seen.observe(block));
  }
  document.querySelectorAll('.honours').forEach(revealOnView);
})();
</script>

Similar components

Film index

Film index

Object index

Object index

Services table

Services table

Features and mentions

Features and mentions

About and wordmark band

About and wordmark band

Work grid with pill

Work grid with pill

Ruled lists

Ruled lists

Screensaver deck

Screensaver deck