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.
https://kitbash.me/components/pixel-map-yellow/about/figma.html?palette=badb825c54a0c19e
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/pixel-map-yellow/about/figma.html?palette=badb825c54a0c19e and pass that whole HTML document to the html_to_figma tool, so the part "About banner" lands as editable layers in my open Figma file. Fonts come from Google Fonts: if a face is missing in Figma, pick the closest one.
Code
<style>
/* Goes after the pack's base.css */
:root {
--paper: #e9e9e9;
--ink: #363736;
--white: #434343;
--field: #e2e2e2;
--ink-soft: rgba(54, 55, 54, 0.6);
--flame: #4bb299;
--sun: #4bb299;
--sun-pale: #6ab39f;
--sea: #4bb299;
--sky: #4bb299;
}
</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>