kitbash Sign in Connect agent
Components

Pair row

A small letterbox crop pushed right, then two pictures edge to edge beside a pale column holding the caption stack.

Part of the style

Blackletter Credit Stack

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

Preview

Code
<style>
/* Goes after the pack's base.css */
@import url("https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@200;300;800;900&family=Kalnia:wght@200;300&family=Mona+Sans:wght@400;500;600;700;800&display=swap");
:root {
  --font-body: "Mona Sans", "Helvetica Neue", sans-serif;
  --font-mark: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-small: "Big Shoulders Display", "Arial Narrow", sans-serif;
}
</style>

<section class="pair-row">
  <div class="pair-row__lone">
    <img class="pair-row__picture pair-row__picture--lone" src="assets/daguerreotype.jpg" alt="Daguerreotype of a young woman in a lace collar, in a gilt frame" width="663" height="800">
  </div>
  <div class="pair-row__pair">
    <figure class="pair-row__cell">
      <img class="pair-row__picture" src="assets/roses-box.jpg" alt="Painted roses lying beside a gilded jewel box" width="800" height="599">
    </figure>
    <figure class="pair-row__cell">
      <img class="pair-row__picture" src="assets/egg-cup.jpg" alt="Dark still life of a gilt ostrich-egg cup, a spoon and a medal on green cloth" width="800" height="680">
    </figure>
    <div class="pair-row__side">
      <a class="pair-row__caption" href="#">
        <span class="pair-row__client">ARKIV NORD</span>
        <span class="pair-row__maker">Tobias Lehr</span>
      </a>
    </div>
  </div>
</section>

<style>
  .pair-row {
    background: var(--paper);
    padding-bottom: var(--section-space);
  }
  .pair-row__lone {
    display: flex;
    justify-content: flex-end;
    padding-left: 45%;
  }
  .pair-row__picture--lone {
    width: min(100%, 420px);
    aspect-ratio: 2 / 1;
    object-fit: cover;
    object-position: 50% 42%;
  }
  .pair-row__pair {
    display: grid;
    grid-template-columns: 1fr 1fr minmax(160px, 0.5fr);
    margin-top: var(--space-xl);
  }
  .pair-row__cell {
    margin: 0;
    overflow: hidden;
    aspect-ratio: 4 / 5;
  }
  .pair-row__picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms var(--ease-out);
  }
  .pair-row__cell:hover .pair-row__picture {
    transform: scale(1.03);
  }
  .pair-row__side {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 var(--edge) var(--space-m);
    background: var(--paper-lift);
  }
  .pair-row__caption {
    display: grid;
    width: min(100%, var(--caption-w));
    color: var(--ink-deep);
    text-align: center;
    text-decoration: none;
  }
  .pair-row__client,
  .pair-row__maker {
    display: block;
    padding: 9px var(--space-xs) 10px;
    line-height: 1;
  }
  .pair-row__maker {
    border-top: var(--hair) solid var(--rule);
    color: var(--ink);
    transition: color var(--quick) var(--ease);
  }
  .pair-row__caption::after {
    content: "";
    height: 15px;
    border-top: var(--hair) solid var(--rule);
    background: repeating-linear-gradient(to bottom, var(--rule) 0 1px, transparent 1px 7px);
  }
  .pair-row__caption:hover .pair-row__maker,
  .pair-row__caption:focus-visible .pair-row__maker {
    color: var(--oxblood);
  }

  @media (max-width: 52rem) {
    .pair-row__lone {
      padding-left: 30%;
    }
    .pair-row__pair {
      grid-template-columns: 1fr 1fr;
      margin-top: var(--space-l);
    }
    .pair-row__side {
      grid-column: 1 / -1;
      justify-content: flex-start;
      padding: var(--space-m) 0 0;
      background: none;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .pair-row__picture { transition: none; }
  }
</style>

Similar components

Stagger

Stagger

Spread

Spread

Thumbnail tray

Thumbnail tray

Colour wash showcase

Colour wash showcase

Bleed and column cascade

Bleed and column cascade

Latest work rail

Latest work rail

Hanging rail

Hanging rail

Line-screen archive

Line-screen archive