kitbash Sign in Connect agent
Components

About banner

Pale yellow inset panel with a hill photograph multiplied faintly into it, an outlined orange heading, a paragraph and an orange button.

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 */
:root {
  --paper: #f1f3f4;
  --ink: #171918;
  --white: #ffffff;
  --field: #e8eaeb;
  --ink-soft: rgba(23, 25, 24, 0.6);
  --flame: #c16c5a;
  --sun: #a47974;
  --sun-pale: #a3817d;
  --sea: #c16c5a;
  --sky: #a47974;
}
</style>

<section class="about">
  <div class="about__panel">
    <div class="about__wash" role="img" aria-label="Faint hills along the panel"></div>
    <p class="about__label">About the project</p>
    <div class="about__copy">
      <h2 class="about__title">About Valdorna</h2>
      <p class="about__text">Valdorna is a listening residency in the high valley. Each season three artists live in three villages, record with their neighbours and walk the old paths between them, and the work is shown where it was made.</p>
      <a class="about__button" href="#">Know more</a>
    </div>
  </div>
</section>

<style>
  .about {
    padding: var(--section-space) var(--edge);
    background: var(--paper);
    color: var(--ink);
  }
  .about__panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-l);
    min-height: clamp(380px, 36vw, 520px);
    padding: var(--space-l);
    overflow: hidden;
    background: var(--sun-pale);
    isolation: isolate;
  }
  .about__wash {
    --picture: url("assets/hills.jpg");
    position: absolute;
    inset: 30% 0 0;
    z-index: -1;
    background: var(--picture) center 40% / cover no-repeat;
    filter: grayscale(1) contrast(1.1);
    mix-blend-mode: multiply;
    opacity: 0.16;
  }
  .about__label {
    margin: 0;
    font-size: var(--text-xs);
    line-height: var(--leading-tight);
    text-transform: uppercase;
  }
  .about__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-m);
  }
  .about__title {
    margin: 0;
    color: transparent;
    font-size: var(--display-l);
    font-weight: 400;
    line-height: 1.05;
    text-transform: uppercase;
    -webkit-text-stroke: var(--rule) var(--flame);
  }
  .about__text {
    max-width: 31em;
    margin: 0 0 var(--space-l);
    font-size: var(--text-l);
    line-height: 1.3;
  }
  .about__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 158px;
    min-height: var(--button-h);
    padding: 0 var(--space-m);
    border-radius: var(--radius);
    background: var(--flame);
    color: var(--white);
    font-size: var(--text-xs);
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color var(--quick) var(--ease);
  }
  .about__button:hover,
  .about__button:focus-visible { background: var(--ink); }
  .about__button:focus-visible {
    outline: var(--rule) solid var(--ink);
    outline-offset: 3px;
  }

  @media (max-width: 48rem) {
    .about__panel {
      grid-template-columns: 1fr;
      padding: var(--space-l) var(--space-m);
    }
    .about__button { align-self: stretch; }
  }
</style>

Similar components

Getting there

Getting there

Wiped statement

Wiped statement

Small caps statement

Small caps statement

Black statement

Black statement

Hazard diamond notice

Hazard diamond notice

Dark ask panel

Dark ask panel

Open call

Open call

Centred statement

Centred statement