kitbash Sign in Connect agent
Components

Paper roster card

A tilted sheet of textured paper with an inset double rule, an underlined heading, a framed picture and names in small capitals.

Part of the style

Line Screen Folio

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

Preview

Code
<style>
/* Goes after the pack's base.css */
:root {
  --night: #91816b;
  --night-raised: #756650;
  --night-warm: #eddcc4;
  --ivory: #1c0d06;
  --ivory-soft: rgba(28, 13, 6, 0.62);
  --ivory-faint: rgba(28, 13, 6, 0.32);
  --rule: rgba(28, 13, 6, 0.16);
  --paper: #ffe7dc;
  --paper-shade: #24140b;
  --ink: #746550;
  --ink-soft: #534633;
  --screen-ice: #766258;
  --black: #8b7c66;
  --rule-faint: rgba(28, 13, 6, 0.06);
  --night-panel: #93846e;
  --silver: #25150c;
  --screen-blue: #978068;
  --folder-deep: #665d53;
  --screen-steel: #1a1611;
  --screen-night: #847f7b;
  --folder-light: #9b958f;
  --screen-sepia: #261501;
  --copper: #2a1803;
}
</style>

<section class="roster" aria-labelledby="roster-title">
  <article class="roster__sheet">
    <svg class="roster__grain" aria-hidden="true" focusable="false">
      <filter id="roster-grain-filter">
        <feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="3" seed="7" result="noise" />
        <feColorMatrix in="noise" type="matrix" values="0 0 0 0 0.35  0 0 0 0 0.32  0 0 0 0 0.27  0 0 0 0.5 0" />
      </filter>
      <rect width="100%" height="100%" filter="url(#roster-grain-filter)" />
    </svg>
    <div class="roster__rule">
      <h2 class="roster__title" id="roster-title"><a class="roster__link" href="#">Sign the Ship's Book</a></h2>
      <figure class="roster__plate">
        <img class="roster__picture" src="assets/harbor-sete.jpg" alt="Tall sailing ships moored in a harbour, an early albumen print" width="800" height="586" loading="lazy">
      </figure>
      <ul class="roster__names" aria-label="The studio">
        <li class="roster__name">Ottilie Varga</li>
        <li class="roster__name">Bram Okonjo</li>
        <li class="roster__name">Ines Calloway</li>
        <li class="roster__name">Teodor Lisle</li>
        <li class="roster__name">Mara Quint</li>
        <li class="roster__name">Ansel Bright</li>
        <li class="roster__name">Hollis Fenn</li>
      </ul>
      <p class="roster__note">Three berths open for the winter crossing</p>
    </div>
  </article>
</section>

<style>
  .roster {
    padding: var(--section-space) var(--edge);
    background: var(--night-warm);
  }
  .roster__sheet {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    padding: clamp(0.6rem, 1.4vw, 1rem);
    background: var(--paper);
    color: var(--ink);
    box-shadow: var(--shadow-paper);
    transform: rotate(var(--tilt));
    transition: transform 420ms var(--ease-spring);
  }
  .roster__sheet:hover,
  .roster__sheet:focus-within { transform: rotate(0deg) translateY(-4px); }
  .roster__grain {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.32;
    mix-blend-mode: multiply;
    pointer-events: none;
  }
  .roster__rule {
    position: relative;
    display: grid;
    justify-items: center;
    gap: clamp(1rem, 2.4vw, 1.75rem);
    padding: clamp(1.25rem, 3.4vw, 2.5rem) clamp(1rem, 4vw, 3rem);
    border: var(--line) solid var(--ink);
    outline: var(--line) solid var(--ink);
    outline-offset: -5px;
    text-align: center;
  }
  .roster__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 400;
    letter-spacing: var(--track-caps);
    line-height: 1.1;
    text-transform: uppercase;
  }
  .roster__link {
    display: inline-block;
    padding: var(--space-xs) 0;
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: var(--line);
    text-underline-offset: 0.16em;
    transition: text-underline-offset var(--quick) ease-out;
  }
  .roster__link:hover,
  .roster__link:focus-visible { text-underline-offset: 0.3em; }
  .roster__link:focus-visible { outline: var(--line) solid var(--ink); outline-offset: 4px; }
  .roster__plate {
    width: min(100%, 360px);
    margin: 0;
    padding: 6px;
    background: var(--paper-shade);
    box-shadow: inset 0 0 0 var(--line) var(--ink-soft);
  }
  .roster__picture {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    filter: sepia(0.35) contrast(1.05);
  }
  .roster__names {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-xs) 0;
    max-width: 40rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: var(--font-caps);
    font-size: var(--text-l);
    font-weight: 500;
    line-height: 1.3;
  }
  .roster__name:not(:last-child)::after {
    content: "·";
    margin: 0 0.6em;
    color: var(--ink-soft);
  }
  .roster__note {
    margin: 0;
    color: var(--ink-soft);
    font-family: var(--font-sans);
    font-size: var(--text-s);
    letter-spacing: var(--track-label);
    text-transform: uppercase;
  }

  @media (max-width: 40rem) {
    .roster__sheet { transform: rotate(calc(var(--tilt) * 0.6)); }
    .roster__names { font-size: var(--text-m); }
  }
  @media (prefers-reduced-motion: reduce) {
    .roster__sheet { transition: none; }
  }
</style>

Similar components

Team portraits

Team portraits

Lead paragraph and fact card

Lead paragraph and fact card

Info sheet

Info sheet

Author

Author

Guest profiles

Guest profiles

Drawn self-portrait

Drawn self-portrait

About with cut-out portrait

About with cut-out portrait

Single contact profile

Single contact profile