kitbash Sign in Connect agent
Components

Short letter

A centred letter: a small rounded picture, a serif heading, two paragraphs of large grotesk and an italic sign-off.

Part of the style

Forest Ink on Cream

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

Preview

Code
<style>
/* Goes after the pack's base.css */
:root {
  --paper: #f15b29;
  --tile: #e15527;
  --ink: #1d0c0b;
  --on-ink: #f15b29;
  --ink-soft: #7f0601;
  --blossom: #b46662;
  --blossom-deep: #3c0106;
  --blossom-eye: #4b1c1c;
}
</style>

<article class="letter">
  <img class="letter__picture" src="assets/still-life-flowers.jpg" alt="A painted vase of wild flowers with butterflies" width="564" height="800" loading="lazy">
  <h2 class="letter__title">A note from the potting&nbsp;shed</h2>
  <div class="letter__body">
    <p>Every spring we open the gate a little earlier than we should, because the first seedlings never wait for the forecast. This year we are doing the opposite and letting the beds rest.</p>
    <p>The greenhouse stays warm, the seed library stays open by appointment, and the cat stays exactly where she is.</p>
  </div>
  <p class="letter__sign">Ada, Wren and the bench</p>
</article>

<style>
  .letter {
    display: grid;
    justify-items: center;
    padding: var(--section-space) var(--edge);
    color: var(--ink);
    text-align: center;
  }
  .letter__picture {
    width: clamp(6rem, 11vw, 8.5rem);
    aspect-ratio: 564 / 800;
    height: auto;
    object-fit: cover;
    border-radius: var(--radius);
  }
  .letter__title {
    max-width: 14ch;
    margin: var(--space-l) 0 0;
    font-family: var(--font-display);
    font-size: var(--display-l);
    font-weight: var(--weight-display);
    font-variation-settings: "SOFT" 100;
    line-height: var(--leading-display);
    letter-spacing: var(--track-display);
    text-wrap: balance;
  }
  .letter__body {
    max-width: var(--measure);
    margin-top: var(--space-l);
    font-size: var(--text-l);
    line-height: var(--leading-text);
  }
  .letter__body p {
    margin: 0;
    text-wrap: pretty;
  }
  .letter__body p + p {
    margin-top: var(--space-m);
  }
  .letter__sign {
    margin: var(--space-l) 0 0;
    padding-top: var(--space-m);
    border-top: var(--rule) solid var(--ink);
    font-family: var(--font-display);
    font-size: var(--display-m);
    font-style: italic;
    font-weight: var(--weight-display);
    letter-spacing: var(--track-display);
  }
</style>

Similar components

Centred statement

Centred statement

Essay

Essay

Script statement

Script statement

Lit statement card

Lit statement card

Black half, photo half

Black half, photo half

Credits statement

Credits statement

Published page

Published page

Drifting statement

Drifting statement