Infrastructure checker
A white heading bar over a grid of boxed cells in white, black, hatched and orange, each with a numbered line icon, plus an engraved plate with a caption slip.
Part of the style
Machine Shop Grid
7 parts that belong together, with their tokens, type and rules.
https://kitbash.me/components/machine-shop-grid/plant/figma.html?palette=d6fabe2aae6efa7e
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/machine-shop-grid/plant/figma.html?palette=d6fabe2aae6efa7e and pass that whole HTML document to the html_to_figma tool, so the part "Infrastructure checker" 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 {
--page: #12100e;
--ink: #85b5c3;
--ink-soft: rgba(132, 180, 194, 0.65);
--paper: #060504;
--on-dark: #12100e;
--rule-col: #231f1a;
--grid-dark: rgba(18, 16, 14, 0.12);
--hatch: #1d1a16;
--steel: #29241e;
--accent: #0d434f;
}
</style>
<section class="plant" aria-labelledby="plant-title">
<h2 class="plant__title" id="plant-title">In-house infrastructure</h2>
<ul class="plant__grid">
<li class="plant__cell">
<svg class="plant__icon" viewBox="0 0 48 48" aria-hidden="true"><path d="M24 6c6 5 6 31 0 36c-6-5-6-31 0-36z"/><path d="M2 24h44M4 16l20 8l20-8M4 32l20-8l20 8"/></svg>
<span class="plant__number">01</span>
<h3 class="plant__name">Optics room</h3>
<p class="plant__text">Grinding and figuring spindles for glass up to 1.2 metres, with an interferometer on the next bench.</p>
</li>
<li class="plant__cell plant__cell--dark">
<svg class="plant__icon" viewBox="0 0 48 48" aria-hidden="true"><path d="M20 30V8a4 4 0 0 1 8 0v22a8 8 0 1 1-8 0z"/><path d="M24 14v20M30 12h6M30 18h4M30 24h6M30 30h4"/><circle cx="24" cy="37" r="3"/></svg>
<span class="plant__number">02</span>
<h3 class="plant__name">Cold room</h3>
<p class="plant__text">Mounts run for a week at minus forty before they ship north. Grease, worms and encoders all.</p>
</li>
<li class="plant__cell plant__cell--hatched">
<svg class="plant__icon" viewBox="0 0 48 48" aria-hidden="true"><path d="M6 34a18 18 0 0 1 36 0z"/><path d="M21 16.3V34M27 16.3V34M4 38h40M10 42h28"/></svg>
<span class="plant__number">03</span>
<h3 class="plant__name">Dome yard</h3>
<p class="plant__text">Two test domes on the roof, one for each kind of mount, open on every clear night of the year.</p>
</li>
<li class="plant__cell plant__cell--accent">
<svg class="plant__icon" viewBox="0 0 48 48" aria-hidden="true"><path d="M24 4v12M24 32v12M4 24h12M32 24h12M10 10l8 8M30 30l8 8M38 10l-8 8M18 30l-8 8"/><circle cx="24" cy="24" r="3"/></svg>
<span class="plant__number">04</span>
<h3 class="plant__name">Star test tower</h3>
<p class="plant__text">A forty-metre tower with an artificial star at the top, for when the real ones stay behind cloud.</p>
</li>
<li class="plant__cell plant__cell--picture">
<img class="plant__picture" src="assets/dividing-drawing.jpg" alt="An engraved plate of an engine for dividing straight lines on mathematical instruments" width="800" height="457" loading="lazy">
<p class="plant__caption"><span>Plate 3</span> The dividing engine downstairs still works from this drawing.</p>
</li>
<li class="plant__cell">
<svg class="plant__icon" viewBox="0 0 48 48" aria-hidden="true"><circle cx="24" cy="24" r="18"/><circle cx="24" cy="24" r="10"/><path d="M24 2v6M24 40v6M2 24h6M40 24h6M8.4 8.4l4.3 4.3M35.3 35.3l4.3 4.3M39.6 8.4l-4.3 4.3M12.7 35.3l-4.3 4.3"/></svg>
<span class="plant__number">05</span>
<h3 class="plant__name">Metrology lab</h3>
<p class="plant__text">A measuring machine and an autocollimator check every ring to a tenth of an arcsecond.</p>
</li>
<li class="plant__cell plant__cell--dark">
<svg class="plant__icon" viewBox="0 0 48 48" aria-hidden="true"><path d="M24 4l17.3 10v20L24 44L6.7 34V14z"/><path d="M24 14l8.7 5v10L24 34l-8.7-5V19z"/><path d="M24 4v10M41.3 14l-8.6 5M41.3 34l-8.6-5M24 44V34M6.7 34l8.6-5M6.7 14l8.6 5"/></svg>
<span class="plant__number">06</span>
<h3 class="plant__name">Clean assembly</h3>
<p class="plant__text">Optics meet their cells in filtered air, gloved, logged and photographed bolt by bolt.</p>
</li>
</ul>
</section>
<style>
.plant {
padding: var(--frame);
background: var(--ink);
}
.plant__title {
margin: 0 0 var(--frame);
padding: var(--space-m) var(--gutter);
background: var(--paper);
font: var(--weight-mid) var(--title-xl)/1 var(--font-display);
text-transform: uppercase;
letter-spacing: -0.01em;
}
.plant__grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: var(--frame);
margin: 0;
padding: 0;
list-style: none;
}
.plant__cell {
display: grid;
grid-template-columns: 1fr auto;
align-content: start;
gap: var(--space-s) var(--space-m);
min-height: 260px;
padding: var(--space-l) var(--gutter);
background: var(--paper);
color: var(--ink);
}
.plant__cell--dark {
background: var(--ink);
color: var(--on-dark);
box-shadow: inset 0 0 0 var(--hair) var(--on-dark);
}
.plant__cell--accent {
background: var(--accent);
}
.plant__cell--hatched {
background:
repeating-linear-gradient(135deg, var(--hatch) 0 1px, transparent 1px 8px),
var(--paper);
}
.plant__icon {
width: 48px;
height: 48px;
margin-bottom: var(--space-m);
fill: none;
stroke: currentColor;
stroke-width: 1;
stroke-linejoin: round;
transition: rotate var(--slow) var(--ease);
}
.plant__cell:hover .plant__icon {
rotate: 45deg;
}
.plant__number {
justify-self: end;
font: var(--weight-label) var(--text-label)/var(--lh-label) var(--font-display);
}
.plant__name,
.plant__text {
grid-column: 1 / -1;
margin: 0;
}
.plant__name {
font: var(--weight-mid) var(--title-s)/var(--lh-title-s) var(--font-display);
text-transform: uppercase;
}
.plant__text {
max-width: 26em;
}
.plant__cell--picture {
position: relative;
grid-column: span 2;
display: block;
padding: 0;
overflow: hidden;
background: var(--page);
}
.plant__picture {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
filter: grayscale(1) contrast(1.3);
mix-blend-mode: multiply;
}
.plant__caption {
position: absolute;
left: 0;
bottom: 0;
display: flex;
gap: var(--space-s);
max-width: 100%;
margin: 0;
padding: var(--space-s) var(--space-m);
background: var(--ink);
color: var(--on-dark);
font: var(--weight-label) var(--text-label)/var(--lh-label) var(--font-display);
text-transform: uppercase;
}
.plant__caption span {
color: var(--accent);
}
@media (max-width: 64rem) {
.plant__grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.plant__cell {
min-height: 220px;
}
}
@media (max-width: 30rem) {
.plant__grid {
grid-template-columns: minmax(0, 1fr);
}
.plant__cell {
min-height: 0;
}
.plant__cell--picture {
grid-column: auto;
min-height: 240px;
}
}
</style>