kitbash Sign in Connect agent
Components

Latest notes

Three white cards with photographs, uppercase dates and short titles under a small section label.

Part of the style

Pixel Map Yellow

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=Inter:opsz,wght@14..32,400..700&family=Fraunces:ital,opsz,wght@1,9..144,400..600&display=swap");
:root {
  --paper: #acaca7;
  --ink: #16100b;
  --white: #fcfcf6;
  --field: #a6a6a0;
  --ink-soft: rgba(22, 16, 11, 0.6);
  --flame: #89876e;
  --sun: #89876e;
  --sun-pale: #81806d;
  --sea: #89876e;
  --sky: #89876e;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;
}
</style>

<section class="notes">
  <header class="notes__head">
    <h2 class="notes__title">Latest field notes</h2>
    <a class="notes__all" href="#">All notes <span class="notes__arrow" aria-hidden="true">→</span></a>
  </header>
  <ul class="notes__grid">
    <li class="notes__card">
      <a class="notes__link" href="#">
        <img class="notes__img" src="assets/olives.jpg" alt="Looking up through the twisted branches of an old olive tree into the sun" width="800" height="533">
        <span class="notes__meta">12 May 2027 · Pedralva</span>
        <span class="notes__name">What an olive grove sounds like at four in the afternoon</span>
      </a>
    </li>
    <li class="notes__card">
      <a class="notes__link" href="#">
        <img class="notes__img" src="assets/alley.jpg" alt="A stone-paved lane descending through a mountain village" width="900" height="1200">
        <span class="notes__meta">28 April 2027 · Ouriço Alto</span>
        <span class="notes__name">Forty steps down: a recording walk with the bakers</span>
      </a>
    </li>
    <li class="notes__card">
      <a class="notes__link" href="#">
        <img class="notes__img" src="assets/vines.jpg" alt="Rows of green vines climbing to a hill with a windmill" width="800" height="450">
        <span class="notes__meta">3 April 2027 · Lameiras</span>
        <span class="notes__name">Open call: the second season of residencies</span>
      </a>
    </li>
  </ul>
</section>

<style>
  .notes {
    padding: var(--section-space) var(--edge);
    background: var(--paper);
    color: var(--ink);
  }
  .notes__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
    margin-bottom: var(--space-l);
    padding-bottom: var(--space-s);
    border-bottom: var(--rule) var(--rule-style) var(--ink);
  }
  .notes__title {
    margin: 0;
    font-size: var(--text-xl);
    font-weight: 400;
    line-height: var(--leading-tight);
  }
  .notes__all {
    display: inline-flex;
    align-items: center;
    gap: var(--space-s);
    min-height: var(--button-h);
    color: var(--ink);
    font-size: var(--text-xs);
    text-decoration: none;
    text-transform: uppercase;
    transition: color var(--quick) var(--ease);
  }
  .notes__arrow {
    display: inline-block;
    transition: transform var(--quick) var(--ease);
  }
  .notes__all:hover,
  .notes__all:focus-visible { color: var(--flame); }
  .notes__all:hover .notes__arrow,
  .notes__all:focus-visible .notes__arrow { transform: translateX(4px); }
  .notes__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--gap);
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .notes__card { background: var(--white); }
  .notes__link {
    display: grid;
    align-content: start;
    gap: var(--space-s);
    height: 100%;
    padding: var(--space-s) var(--space-s) var(--space-l);
    color: var(--ink);
    text-decoration: none;
  }
  .notes__img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    margin-bottom: var(--space-s);
    object-fit: cover;
    border-bottom: 6px solid var(--white);
    transition: border-color var(--quick) var(--ease);
  }
  .notes__link:hover .notes__img,
  .notes__link:focus-visible .notes__img { border-bottom-color: var(--flame); }
  .notes__link:focus-visible {
    outline: var(--rule) solid var(--flame);
    outline-offset: -4px;
  }
  .notes__meta {
    font-size: var(--text-xs);
    line-height: var(--leading-tight);
    text-transform: uppercase;
  }
  .notes__name {
    font-size: var(--text-l);
    line-height: 1.3;
    transition: color var(--quick) var(--ease);
  }
  .notes__link:hover .notes__name,
  .notes__link:focus-visible .notes__name { color: var(--flame); }

  @media (max-width: 56rem) {
    .notes__grid { grid-template-columns: 1fr; }
    .notes__link { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: var(--space-m); padding-bottom: var(--space-s); }
    .notes__img { grid-row: span 2; margin-bottom: 0; aspect-ratio: 1 / 1; }
    .notes__meta { align-self: end; }
    .notes__name { font-size: var(--text-m); align-self: start; }
  }
</style>

Similar components

Coming-soon card

Coming-soon card

Swatch service tiles

Swatch service tiles

Fanned feature cards

Fanned feature cards

Heat-flooded night cards

Heat-flooded night cards

Grey card rail

Grey card rail

Stacked step sheets

Stacked step sheets

Edition slips

Edition slips

Offer panel

Offer panel