Lineup tiles
Edge-to-edge archive portraits printed in one ink over a colour backdrop, with a name and a bracketed country code under each; on hover the picture tightens and the brackets blink.
Part of the style
Lime Field Mono
6 parts that belong together, with their tokens, type and rules.
https://kitbash.me/components/lime-field-mono/lineup/figma.html?palette=bd2b4e42ca648d23
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/lime-field-mono/lineup/figma.html?palette=bd2b4e42ca648d23 and pass that whole HTML document to the html_to_figma tool, so the part "Lineup tiles" 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 {
--lime: #fef1f6;
--night: #0d02fe;
--void: #0a20e9;
--fog: #fff9fb;
--lime-dim: rgba(254, 241, 246, 0.55);
--shade: rgba(4, 20, 154, 0.18);
--pic-steel: #feb0d1;
--pic-olive: #c63282;
--pic-mustard: #ffeafc;
--orb: #7c4afb;
--pic-ember: #8e72fc;
--orb-deep: #544594;
--pic-clay: #c4befd;
--pic-magenta: #cd4fb5;
--pic-violet: #7c346d;
}
</style>
<section class="lineup" aria-labelledby="lineup-heading">
<h2 class="lineup__heading" id="lineup-heading">First Announce <span class="lineup__count">[04/31]</span></h2>
<ul class="lineup__grid">
<li class="lineup__item">
<a class="lineup__tile" href="#">
<span class="lineup__pic" style="--bg: var(--pic-steel)"><img class="lineup__photo" src="assets/portrait-turban.jpg" alt="" width="360" height="390"></span>
<span class="lineup__name">Mossbank <span class="lineup__code">[NZ]</span></span>
</a>
</li>
<li class="lineup__item">
<a class="lineup__tile" href="#">
<span class="lineup__pic" style="--bg: var(--pic-mustard)"><img class="lineup__photo" src="assets/portrait-beard.jpg" alt="" width="360" height="390"></span>
<span class="lineup__name">Teo Varga <span class="lineup__code">[HU]</span></span>
</a>
</li>
<li class="lineup__item">
<a class="lineup__tile" href="#">
<span class="lineup__pic" style="--bg: var(--pic-clay)"><img class="lineup__photo" src="assets/portrait-long-hair.jpg" alt="" width="360" height="390"></span>
<span class="lineup__name">Quiet Dial <span class="lineup__code">[JP]</span></span>
</a>
</li>
<li class="lineup__item">
<a class="lineup__tile" href="#">
<span class="lineup__pic" style="--bg: var(--pic-olive)"><img class="lineup__photo" src="assets/portrait-veil.jpg" alt="" width="360" height="390"></span>
<span class="lineup__name">Ama Sol <span class="lineup__code">[GH]</span></span>
</a>
</li>
</ul>
</section>
<style>
.lineup {
padding: var(--space-l) 0 var(--space-xl);
background: var(--night);
color: var(--lime);
}
.lineup__heading {
margin: 0 var(--edge) var(--space-m);
font-size: var(--text-s);
font-weight: var(--weight-base);
}
.lineup__count {
color: var(--lime-dim);
}
.lineup__grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: var(--gap);
margin: 0;
padding: 0;
list-style: none;
}
.lineup__tile {
display: block;
color: inherit;
text-decoration: none;
opacity: 0;
translate: 0 16px;
transition: opacity var(--slow) var(--ease-out), translate var(--slow) var(--ease-out);
transition-delay: calc(var(--order, 0) * 90ms);
}
.lineup.is-seen .lineup__tile {
opacity: 1;
translate: 0 0;
}
.lineup__tile:focus-visible {
outline: var(--rule) solid var(--lime);
outline-offset: 4px;
}
/* An archive portrait printed in one ink over the backdrop colour, like a riso poster. */
.lineup__pic {
display: block;
overflow: hidden;
aspect-ratio: 360 / 390;
background: var(--bg);
}
.lineup__photo {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
object-position: 50% 20%;
scale: 1.08;
filter: grayscale(1) contrast(1.35) brightness(1.15);
mix-blend-mode: multiply;
transition: transform 500ms var(--ease-out), filter 500ms var(--ease-out);
}
.lineup__tile:hover .lineup__photo,
.lineup__tile:focus-visible .lineup__photo {
transform: scale(1.05);
filter: grayscale(1) contrast(1.6) brightness(1.15);
}
.lineup__name {
display: flex;
align-items: center;
gap: 0.6ch;
min-height: var(--tap);
font-size: var(--text-s);
}
.lineup__tile:hover .lineup__code,
.lineup__tile:focus-visible .lineup__code {
animation: lineup-blink var(--blink-time) steps(1) infinite;
}
@keyframes lineup-blink {
50% { opacity: 0; }
}
@media (max-width: 760px) {
.lineup__grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
row-gap: var(--space-s);
}
.lineup__name {
padding: 0 var(--space-s);
}
}
@media (prefers-reduced-motion: reduce) {
.lineup__tile {
opacity: 1;
translate: none;
transition: none;
}
.lineup__code {
animation: none !important;
}
}
</style>
<script>
(() => {
const seen = new IntersectionObserver((entries) => {
for (const entry of entries) {
if (!entry.isIntersecting) continue;
entry.target.classList.add("is-seen");
seen.unobserve(entry.target);
}
}, { threshold: 0.15 });
document.querySelectorAll(".lineup").forEach((root) => {
root.querySelectorAll(".lineup__tile").forEach((tile, order) => tile.style.setProperty("--order", order));
seen.observe(root);
});
})();
</script>