Skip to main content

  • Foundations
    • Border radius
    • Breakpoints
    • Colours
    • Colour scheme
    • Elevation
    • Focus and outline
    • Sizing and spacing
    • Layout
    • Motion
    • Typography
    • Z-index
  • Elements
    • Buttons
    • Code
    • Icons
    • Figure and caption
    • Forms
    • Links
    • Lists
    • Media
    • Tables
  • Components
    • Accordion
    • Alerts
    • Avatar
    • Blockquote
    • Breadcrumbs
    • Card
    • Chiplets
    • Details and summary
    • Dialog
    • Empty state
    • Stats
    • Global footer
    • Horizontal rule
    • Kanban
    • Key-value list
    • Meter
    • Objects
    • Pagination
    • Polka background
    • Post-it note
    • Progress
    • Speech bubbles
    • Status dot
    • Skeleton
    • Skip link
    • Spinner
    • Toggles
    • Tooltip
    • Webmentions
  • Patterns
    • Article header
    • Author card
    • App list and app sheet
    • Error page
    • Related posts
    • Search results
    • Utilities

John Peart

  • Search
  • Menu
John Peart

Related posts

Polka + card + key-value list.

Composed from existing primitives: a .polka full-width background holds a .card, inside which a .key-value list renders each post with its date as the value and title as the key.

Related posts

  • 16 April 2024

    I listened to every Eurovision 2024 entry, so you don't have to

  • 1 May 2023

    I listened to every Eurovision 2023 entry, so you don't have to

<aside id="related-posts" class="grid polka padding-top" style="background-position: top; --mult: 2;">
  <div class="card margin-top margin-bottom" style="--mult: 1;">
    <h1 class="key-value--heading key-value--heading--small">Related posts</h1>
    <ul class="related-posts key-value">
      <li class="key-value--item">
        <a class="key-value--link" href="/2024/04/16/eurovision-first-listens/">
          <p class="key-value--value small-text secondary-text">
            <time datetime="2024-04-16">16 April 2024</time>
          </p>
          <p class="key-value--key">I listened to every Eurovision 2024 entry, so you don't have to</p>
        </a>
      </li>
    </ul>
  </div>
</aside>
A line drawing of John Peart

John Peart

www.johnpe.art

Mastodon logo

Mastodon

BlueSky logo

Bluesky

LinkedIn logo

LinkedIn

Github logo

GitHub