Ruled work index
Hairline rows of client, maker, job and year; hovering a row recolours it, dims the rest and shows a cropped picture.
Part of the style
Blackletter Credit Stack
7 parts that belong together, with their tokens, type and rules.
https://kitbash.me/components/blackletter-credit-stack/work-index/figma.html?type=kraft-panel-split
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/blackletter-credit-stack/work-index/figma.html?type=kraft-panel-split and pass that whole HTML document to the html_to_figma tool, so the part "Ruled work index" 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 */
@import url("https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500&family=Newsreader:opsz,wght@6..72,400;6..72,500&display=swap");
:root {
--font-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
--font-mark: "Newsreader", Georgia, serif;
--font-small: "Newsreader", Georgia, serif;
}
</style>
<section class="work-index">
<div class="work-index__head">
<h2 class="work-index__title">Index of Work</h2>
<p class="work-index__count">Plates delivered, 2019 – 2026</p>
</div>
<ol class="work-index__list">
<li class="work-index__row">
<a class="work-index__link" href="#">
<span class="work-index__client">KESTREL HALL</span>
<span class="work-index__maker">Edda Rønning</span>
<span class="work-index__job">Catalogue raisonné, sculpture</span>
<span class="work-index__year">2026</span>
<img class="work-index__peek" src="assets/aphrodite.jpg" alt="" width="800" height="800" loading="lazy">
</a>
</li>
<li class="work-index__row">
<a class="work-index__link" href="#">
<span class="work-index__client">THE VARGAS COLLECTION</span>
<span class="work-index__maker">Ines Carrow</span>
<span class="work-index__job">Frame and varnish retouch</span>
<span class="work-index__year">2025</span>
<img class="work-index__peek" src="assets/spring-portrait.jpg" alt="" width="768" height="1024" loading="lazy">
</a>
</li>
<li class="work-index__row">
<a class="work-index__link" href="#">
<span class="work-index__client">ARKIV NORD</span>
<span class="work-index__maker">Tobias Lehr</span>
<span class="work-index__job">Still life plates, 112 leaves</span>
<span class="work-index__year">2024</span>
<img class="work-index__peek" src="assets/egg-cup.jpg" alt="" width="800" height="680" loading="lazy">
</a>
</li>
<li class="work-index__row">
<a class="work-index__link" href="#">
<span class="work-index__client">LINDQVIST AUCTIONS</span>
<span class="work-index__maker">Signe Halvorsen</span>
<span class="work-index__job">Spring sale, landscapes</span>
<span class="work-index__year">2023</span>
<img class="work-index__peek" src="assets/stormy-landscape.jpg" alt="" width="1024" height="680" loading="lazy">
</a>
</li>
</ol>
<div class="work-index__end" aria-hidden="true"></div>
</section>
<style>
.work-index {
padding: var(--section-space) var(--edge);
background: var(--paper);
color: var(--ink);
}
.work-index__head {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: baseline;
gap: var(--space-s);
padding-bottom: var(--space-m);
}
.work-index__title {
margin: 0;
font-size: var(--text-l);
font-weight: 400;
line-height: 1;
}
.work-index__count {
margin: 0;
font-family: var(--font-small);
font-size: var(--text-s);
line-height: 1.5;
letter-spacing: var(--track-small);
text-transform: uppercase;
}
.work-index__list {
margin: 0;
padding: 0;
list-style: none;
border-top: var(--hair) solid var(--rule);
}
.work-index__row {
border-bottom: var(--hair) solid var(--rule);
}
.work-index__link {
position: relative;
display: grid;
grid-template-columns: 2fr 1.4fr 2fr 0.5fr;
gap: var(--space-m);
align-items: center;
min-height: 56px;
padding: var(--space-s) 0;
color: inherit;
text-decoration: none;
transition: color var(--quick) var(--ease);
}
.work-index__job,
.work-index__year {
font-family: var(--font-small);
font-size: var(--text-s);
line-height: 1.5;
letter-spacing: var(--track-small);
text-transform: uppercase;
}
.work-index__year {
text-align: right;
}
/* The picture slides out of the row's right end on hover, cropped tight like a contact print. */
.work-index__peek {
position: absolute;
right: 12%;
top: 50%;
z-index: 1;
width: 150px;
height: 190px;
object-fit: cover;
pointer-events: none;
opacity: 0;
transform: translate(0, -46%) scale(0.96);
transition: opacity var(--quick) var(--ease), transform 400ms var(--ease-out);
}
.work-index__link:hover,
.work-index__link:focus-visible {
color: var(--oxblood);
}
.work-index__link:hover .work-index__peek,
.work-index__link:focus-visible .work-index__peek {
opacity: 1;
transform: translate(0, -50%) scale(1);
}
.work-index__list:hover .work-index__link:not(:hover) {
opacity: 0.45;
}
.work-index__end {
height: 15px;
background: repeating-linear-gradient(to bottom, var(--rule) 0 1px, transparent 1px 7px);
margin-top: 6px;
}
@media (max-width: 52rem) {
.work-index__link {
grid-template-columns: 1fr auto;
gap: var(--space-xs) var(--space-s);
}
.work-index__maker { grid-column: 1; }
.work-index__job { grid-column: 1; }
.work-index__year { grid-column: 2; grid-row: 1; }
.work-index__peek { display: none; }
}
</style>