Pixel Redaction Notes
One narrow column of grey Inter on a near-white page, quiet labelled notes with faint underlined links, and secret words blacked out by shuffling block glyphs that answer a hover with a bouncing speech bubble. It suits a personal homepage, a one-page portfolio or a studio that wants to say very little, very well.
Parts
Masthead
The name in 18 px medium over a grey role line, with a pinging status dot and a quiet three-link row.
Code
React For Figma<header class="masthead">
<div class="masthead__inner">
<div class="masthead__id">
<a class="masthead__name" href="#">Mara Quill</a>
<p class="masthead__role">Interface Carpenter</p>
</div>
<nav class="masthead__nav" aria-label="Main">
<a class="masthead__link" href="#">Notes</a>
<a class="masthead__link" href="#">Shelf</a>
<a class="masthead__link" href="#">Write</a>
</nav>
<p class="masthead__status">
<span class="masthead__dot" aria-hidden="true"></span>
Taking on two small projects this spring.
</p>
</div>
</header>
<style>
.masthead {
padding: var(--section-space) var(--edge) 0;
}
.masthead__inner {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
align-items: start;
gap: var(--space-l) var(--gap);
max-width: var(--measure);
margin: 0 auto;
}
.masthead__id {
min-width: 0;
}
.masthead__name {
display: inline-block;
color: var(--ink);
font-size: var(--text-l);
font-weight: 500;
line-height: 28px;
margin-block: -8px;
padding-block: 8px;
text-decoration: none;
border-radius: var(--radius-s);
}
.masthead__role {
margin: 0;
color: var(--ink-soft);
font-size: var(--text-m);
line-height: var(--leading-label);
}
.masthead__nav {
display: flex;
gap: var(--space-xs);
margin: -10px -12px 0 0;
}
.masthead__link {
display: inline-flex;
align-items: center;
min-height: 44px;
padding: 0 12px;
color: var(--ink-soft);
font-size: var(--text-s);
line-height: var(--leading-small);
text-decoration: underline;
text-decoration-color: color-mix(in srgb, currentColor var(--underline-rest), transparent);
text-underline-offset: var(--underline-offset);
border-radius: var(--radius-s);
transition: text-decoration-color var(--quick) var(--ease), color var(--quick) var(--ease);
}
.masthead__link:hover {
color: var(--ink);
text-decoration-color: color-mix(in srgb, currentColor var(--underline-hover), transparent);
}
.masthead__link:focus-visible,
.masthead__name:focus-visible {
outline: var(--rule) solid var(--ink);
outline-offset: 2px;
}
.masthead__status {
grid-column: 1 / -1;
display: inline-flex;
align-items: center;
gap: 10px;
justify-self: start;
margin: 0;
padding: var(--space-xs) 12px var(--space-xs) 10px;
background: var(--well);
border-radius: var(--radius-l);
color: var(--ink);
font-size: var(--text-s);
line-height: var(--leading-small);
}
.masthead__dot {
position: relative;
flex: none;
width: 8px;
height: 8px;
border-radius: var(--radius-pill);
background: var(--dot);
}
.masthead__dot::after {
content: "";
position: absolute;
inset: 0;
border-radius: inherit;
background: var(--dot);
animation: masthead-ping var(--pulse) cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes masthead-ping {
75%, 100% { transform: scale(2.4); opacity: 0; }
}
@media (max-width: 30rem) {
.masthead__inner {
grid-template-columns: 1fr;
gap: var(--space-m);
}
.masthead__nav {
margin: 0 0 0 -12px;
}
}
@media (prefers-reduced-motion: reduce) {
.masthead__dot::after { animation: none; opacity: 0; }
}
</style>
Notes
Labelled paragraphs, About, Latest, Connect, in one column with faint underlined links that darken on hover.
Code
React For Figma<section class="notes">
<div class="notes__inner">
<article class="notes__block">
<h2 class="notes__label">About</h2>
<p class="notes__text">I build small, careful interfaces for tools people open every morning. Right now I am the second pair of hands at <a class="notes__link" href="#">Lantern Post</a>, where we make writing software feel like a good pencil. Before that I worked at <a class="notes__link" href="#">Halfmoon Tools</a>, Gridwell and <a class="notes__link" href="#">Saltbox Radio</a>.</p>
</article>
<article class="notes__block">
<h2 class="notes__label">Latest</h2>
<p class="notes__text">This winter I rebuilt my <a class="notes__link" href="#">desk</a> out of an old drafting table and wrote down what I learned about drawers, light and patience.</p>
</article>
<article class="notes__block">
<h2 class="notes__label">Connect</h2>
<p class="notes__text">Letters are best. You can also find me on <a class="notes__link" href="#">Mastodon</a>; I answer slowly but always.</p>
</article>
</div>
</section>
<style>
.notes {
padding: var(--section-space) var(--edge);
}
.notes__inner {
display: grid;
gap: var(--space-xl);
max-width: var(--measure);
margin: 0 auto;
}
.notes__label {
margin: 0 0 var(--space-s);
color: var(--ink);
font-size: var(--text-m);
font-weight: 500;
line-height: var(--leading-label);
}
.notes__text {
margin: 0;
color: var(--ink-soft);
font-size: var(--text-m);
line-height: var(--leading-read);
text-wrap: pretty;
}
.notes__link {
color: inherit;
text-decoration: underline;
text-decoration-color: color-mix(in srgb, currentColor var(--underline-rest), transparent);
text-underline-offset: var(--underline-offset);
border-radius: var(--radius-s);
padding-block: 13px;
transition: text-decoration-color var(--quick) var(--ease);
}
.notes__link:hover {
text-decoration-color: color-mix(in srgb, currentColor var(--underline-hover), transparent);
}
.notes__link:focus-visible {
outline: var(--rule) solid var(--ink);
outline-offset: 2px;
padding-block: 0;
}
</style>
Redacted line
Sentences with secret words set as shuffling block glyphs; hover or focus pops a bouncing bubble with typing dots, then a hint.
Code
React For Figma<section class="redact">
<div class="redact__inner">
<h2 class="redact__label">In the workshop</h2>
<p class="redact__text">
On the side I'm building
<button class="redact__secret is-open" type="button" aria-describedby="redact-hint-1">
<span class="redact__glyphs" aria-hidden="true" data-length="9">▓▓░▒█░░▓▒</span>
<span class="redact__sr">a secret project</span>
<span class="redact__bubble" role="tooltip">
<span class="redact__dots" aria-hidden="true"><span class="redact__dot"></span><span class="redact__dot"></span><span class="redact__dot"></span></span>
<span class="redact__hint" id="redact-hint-1">A tiny bookbinding app. Out in March.</span>
</span>
</button>
and slowly teaching my
<button class="redact__secret" type="button" aria-describedby="redact-hint-2">
<span class="redact__glyphs" aria-hidden="true" data-length="7">░▒▓█▒░▓</span>
<span class="redact__sr">a second secret</span>
<span class="redact__bubble" role="tooltip">
<span class="redact__dots" aria-hidden="true"><span class="redact__dot"></span><span class="redact__dot"></span><span class="redact__dot"></span></span>
<span class="redact__hint" id="redact-hint-2">Old letterpress. It is going badly.</span>
</span>
</button>
to read.
</p>
<p class="redact__aside">Hover or tap the blocks. Some things are better said later.</p>
</div>
</section>
<style>
.redact {
padding: var(--section-space) var(--edge);
overflow-x: clip;
}
.redact__inner {
max-width: var(--measure);
margin: 0 auto;
padding-top: var(--space-m);
}
.redact__label {
margin: 0 0 var(--space-xl);
color: var(--ink);
font-size: var(--text-m);
font-weight: 500;
line-height: var(--leading-label);
}
.redact__text {
margin: 0;
color: var(--ink-soft);
font-size: var(--text-m);
line-height: var(--leading-read);
}
.redact__aside {
margin: var(--space-l) 0 0;
color: var(--ink-faint);
font-size: var(--text-s);
line-height: var(--leading-small);
}
.redact__secret {
position: relative;
display: inline-block;
min-height: 44px;
margin-block: -9px;
padding: 9px 0;
border: 0;
background: none;
color: var(--ink-soft);
font: 400 var(--text-m)/var(--leading-read) var(--font-mono);
vertical-align: baseline;
cursor: help;
border-radius: var(--radius-s);
}
.redact__secret:focus-visible {
outline: var(--rule) solid var(--ink);
outline-offset: 2px;
}
.redact__glyphs {
letter-spacing: -0.08em;
white-space: pre;
}
.redact__sr {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip-path: inset(50%);
white-space: nowrap;
}
.redact__bubble {
position: absolute;
left: 0;
bottom: calc(100% - 2px);
z-index: 2;
display: flex;
width: max-content;
max-width: min(320px, calc(100vw - 48px));
padding: var(--space-xs) 12px;
background: var(--well);
border-radius: var(--radius-l);
color: var(--ink);
font: 400 var(--text-m)/var(--leading-label) var(--font-body);
text-align: left;
white-space: normal;
translate: var(--redact-shift, 0px) 0;
transform-origin: 12px 100%;
visibility: hidden;
opacity: 0;
scale: 1.05;
filter: blur(6px);
transition-property: opacity, scale, filter, visibility;
transition-duration: var(--pop);
transition-timing-function: var(--ease-bounce);
}
.redact__secret:hover .redact__bubble,
.redact__secret:focus-visible .redact__bubble,
.redact__secret.is-open .redact__bubble {
visibility: visible;
opacity: 1;
scale: 1;
filter: blur(0);
}
.redact__dots {
display: inline-flex;
align-items: center;
gap: var(--space-xs);
height: 26px;
}
.redact__dot {
width: 8px;
height: 8px;
border-radius: var(--radius-pill);
background: var(--dot);
animation: redact-pulse var(--pulse) cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.redact__dot:nth-child(2) { animation-delay: 300ms; }
.redact__dot:nth-child(3) { animation-delay: 600ms; }
.redact__hint {
display: none;
}
.redact__secret.is-said .redact__dots {
display: none;
}
.redact__secret.is-said .redact__hint {
display: block;
animation: redact-reveal var(--reveal) linear both;
}
@keyframes redact-pulse {
50% { opacity: 0.35; }
}
@keyframes redact-reveal {
from { clip-path: inset(0 100% 0 0); opacity: 0.4; }
to { clip-path: inset(0 0 0 0); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
.redact__bubble { transition: none; filter: none; }
.redact__dot { animation: none; }
.redact__secret.is-said .redact__hint { animation: none; }
}
</style>
<script>
(() => {
const BLOCKS = ['░', '▒', '▓', '█', '░', '▒', ' '];
const STEP = 90;
const SAY_AFTER = 1100;
const still = window.matchMedia('(prefers-reduced-motion: reduce)');
for (const root of document.querySelectorAll('.redact')) {
const secrets = [...root.querySelectorAll('.redact__secret')];
let timer = 0;
let onScreen = false;
const shuffle = () => {
for (const secret of secrets) {
const glyphs = secret.querySelector('.redact__glyphs');
const length = Number(glyphs.dataset.length) || glyphs.textContent.length;
let text = '';
for (let i = 0; i < length; i += 1) text += BLOCKS[Math.floor(Math.random() * BLOCKS.length)];
glyphs.textContent = text;
}
};
const run = () => {
clearInterval(timer);
timer = 0;
if (onScreen && !still.matches) timer = setInterval(shuffle, STEP);
};
new IntersectionObserver((entries) => {
onScreen = entries[0].isIntersecting;
run();
}).observe(root);
still.addEventListener('change', run);
// Keep each bubble inside the section, then let the dots give way to the words.
const place = (secret) => {
const bubble = secret.querySelector('.redact__bubble');
const box = root.getBoundingClientRect();
const anchor = secret.getBoundingClientRect();
const over = anchor.left + bubble.offsetWidth - (box.right - 16);
secret.style.setProperty('--redact-shift', `${over > 0 ? -over : 0}px`);
};
const open = (secret) => {
for (const other of secrets) if (other !== secret) other.classList.remove('is-open', 'is-said');
secret.classList.add('is-open');
place(secret);
clearTimeout(secret.sayTimer);
secret.sayTimer = setTimeout(() => { secret.classList.add('is-said'); place(secret); }, still.matches ? 0 : SAY_AFTER);
};
const close = (secret) => {
clearTimeout(secret.sayTimer);
secret.classList.remove('is-open', 'is-said');
};
window.addEventListener('resize', () => secrets.filter((s) => s.classList.contains('is-open')).forEach(place));
for (const secret of secrets) {
if (secret.classList.contains('is-open')) {
requestAnimationFrame(() => open(secret));
if (document.fonts) document.fonts.ready.then(() => place(secret));
}
secret.addEventListener('pointerenter', () => open(secret));
secret.addEventListener('focus', () => open(secret));
secret.addEventListener('click', () => (secret.classList.contains('is-said') ? close(secret) : open(secret)));
secret.addEventListener('pointerleave', (event) => { if (event.pointerType === 'mouse') close(secret); });
secret.addEventListener('blur', () => close(secret));
}
shuffle();
run();
}
})();
</script>
Work log
Ruled rows of past work: name, one line, a mono year; the row's underline darkens on hover.
Code
React For Figma<section class="worklog">
<div class="worklog__inner">
<h2 class="worklog__label">Work</h2>
<ol class="worklog__list">
<li class="worklog__row">
<a class="worklog__link" href="#">
<span class="worklog__name">Lantern Post</span>
<span class="worklog__line">Editor, margins and a very slow cursor.</span>
<span class="worklog__year">2024–now</span>
</a>
</li>
<li class="worklog__row">
<a class="worklog__link" href="#">
<span class="worklog__name">Halfmoon Tools</span>
<span class="worklog__line">A design system that fit on one page.</span>
<span class="worklog__year">2021–24</span>
</a>
</li>
<li class="worklog__row">
<a class="worklog__link" href="#">
<span class="worklog__name">Gridwell</span>
<span class="worklog__line">Spreadsheets that read like letters.</span>
<span class="worklog__year">2019–21</span>
</a>
</li>
<li class="worklog__row">
<a class="worklog__link" href="#">
<span class="worklog__name">Saltbox Radio</span>
<span class="worklog__line">Schedules, players and one good knob.</span>
<span class="worklog__year">2017–19</span>
</a>
</li>
<li class="worklog__row">
<a class="worklog__link" href="#">
<span class="worklog__name">Paper Kite Press</span>
<span class="worklog__line">My first job: setting type by hand.</span>
<span class="worklog__year">2015–17</span>
</a>
</li>
</ol>
</div>
</section>
<style>
.worklog {
padding: var(--section-space) var(--edge);
}
.worklog__inner {
max-width: var(--measure);
margin: 0 auto;
}
.worklog__label {
margin: 0 0 var(--space-m);
color: var(--ink);
font-size: var(--text-m);
font-weight: 500;
line-height: var(--leading-label);
}
.worklog__list {
margin: 0;
padding: 0;
list-style: none;
}
.worklog__row + .worklog__row {
border-top: var(--rule) solid var(--line);
}
.worklog__link {
display: grid;
grid-template-columns: minmax(0, 11rem) minmax(0, 1fr) auto;
align-items: baseline;
gap: var(--gap);
min-height: 44px;
padding: 12px 0;
color: var(--ink-soft);
text-decoration: none;
border-radius: var(--radius-s);
}
.worklog__name {
color: var(--ink);
font-weight: 500;
line-height: var(--leading-label);
text-decoration: underline;
text-decoration-color: color-mix(in srgb, currentColor var(--underline-rest), transparent);
text-underline-offset: var(--underline-offset);
transition: text-decoration-color var(--quick) var(--ease);
}
.worklog__line {
line-height: var(--leading-read);
}
.worklog__year {
color: var(--ink-faint);
font-family: var(--font-mono);
font-size: var(--text-s);
line-height: var(--leading-small);
font-variant-numeric: tabular-nums;
transition: color var(--quick) var(--ease);
}
.worklog__link:hover .worklog__name {
text-decoration-color: color-mix(in srgb, currentColor var(--underline-hover), transparent);
}
.worklog__link:hover .worklog__year {
color: var(--ink-soft);
}
.worklog__link:focus-visible {
outline: var(--rule) solid var(--ink);
outline-offset: 2px;
}
@media (max-width: 36rem) {
.worklog__link {
grid-template-columns: minmax(0, 1fr) auto;
gap: 2px var(--gap);
}
.worklog__line {
grid-column: 1 / -1;
grid-row: 2;
}
}
</style>
Workspace shelf
A grid of desk objects in grey tiles, photographs multiplied to grey that regain their colour on hover, with tiny captions.
Code
React For Figma<section class="workspace">
<div class="workspace__inner">
<h2 class="workspace__label">Workspace</h2>
<p class="workspace__text">Things on and around the desk this year. Hover to see them in colour.</p>
<ul class="workspace__grid">
<li class="workspace__item">
<a class="workspace__tile" href="#">
<img class="workspace__img" src="assets/lamp.jpg" alt="An old glass lamp bowl on a narrow stem" width="683" height="800" loading="lazy">
</a>
<p class="workspace__caption"><span class="workspace__name">Reading lamp</span> <span class="workspace__meta">glass, c. 300</span></p>
</li>
<li class="workspace__item">
<a class="workspace__tile" href="#">
<img class="workspace__img" src="assets/chair.jpg" alt="A plain wooden side chair with a leather seat" width="682" height="800" loading="lazy">
</a>
<p class="workspace__caption"><span class="workspace__name">Desk chair</span> <span class="workspace__meta">oak, 1904</span></p>
</li>
<li class="workspace__item">
<a class="workspace__tile" href="#">
<img class="workspace__img" src="assets/clock.jpg" alt="A dark mantel clock with painted tiles" width="659" height="800" loading="lazy">
</a>
<p class="workspace__caption"><span class="workspace__name">Shelf clock</span> <span class="workspace__meta">slate, 1880</span></p>
</li>
<li class="workspace__item">
<a class="workspace__tile" href="#">
<img class="workspace__img" src="assets/inkwell.jpg" alt="A blue glass inkwell with a lid" width="528" height="800" loading="lazy">
</a>
<p class="workspace__caption"><span class="workspace__name">Inkwell</span> <span class="workspace__meta">glass, 1850</span></p>
</li>
</ul>
</div>
</section>
<style>
.workspace {
padding: var(--section-space) var(--edge);
}
.workspace__inner {
max-width: var(--measure);
margin: 0 auto;
}
.workspace__label {
margin: 0 0 var(--space-s);
color: var(--ink);
font-size: var(--text-m);
font-weight: 500;
line-height: var(--leading-label);
}
.workspace__text {
margin: 0 0 var(--space-l);
color: var(--ink-soft);
line-height: var(--leading-read);
}
.workspace__grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: var(--gap);
margin: 0;
padding: 0;
list-style: none;
}
.workspace__tile {
display: block;
aspect-ratio: 4 / 5;
overflow: hidden;
background: var(--well);
border-radius: var(--radius-l);
}
.workspace__img {
width: 100%;
height: 100%;
object-fit: cover;
mix-blend-mode: multiply;
filter: grayscale(1) contrast(1.08);
scale: 1.001;
transition: filter var(--quick) var(--ease), scale var(--pop) var(--ease-bounce);
}
.workspace__tile:hover .workspace__img,
.workspace__tile:focus-visible .workspace__img {
filter: grayscale(0) contrast(1);
scale: 1.04;
}
.workspace__tile:focus-visible {
outline: var(--rule) solid var(--ink);
outline-offset: 2px;
}
.workspace__caption {
margin: var(--space-s) 0 0;
font-size: var(--text-s);
line-height: var(--leading-small);
}
.workspace__name {
display: block;
color: var(--ink);
}
.workspace__meta {
display: block;
color: var(--ink-faint);
font-family: var(--font-mono);
font-size: var(--text-xs);
}
@media (max-width: 36rem) {
.workspace__grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
row-gap: var(--space-l);
}
}
</style>
Send a note
One field and a pill button; sending shows a bubble with typing dots that resolves into a reply.
Code
React For Figma<section class="note-form">
<div class="note-form__inner">
<h2 class="note-form__label">Write</h2>
<p class="note-form__text">Leave a line and where to find you. I read every one on Sunday mornings.</p>
<form class="note-form__form" action="#" novalidate>
<label class="note-form__field">
<span class="note-form__name">Your note</span>
<input class="note-form__input" type="text" name="note" placeholder="Hello, I liked the desk…" autocomplete="off" required>
</label>
<label class="note-form__field">
<span class="note-form__name">Email</span>
<input class="note-form__input" type="email" name="email" placeholder="you@example.org" autocomplete="email" required>
</label>
<button class="note-form__send" type="submit">Send note</button>
</form>
<div class="note-form__reply" aria-live="polite">
<span class="note-form__dots" aria-hidden="true"><span class="note-form__dot"></span><span class="note-form__dot"></span><span class="note-form__dot"></span></span>
<span class="note-form__said">Got it. Expect a reply within the week.</span>
<span class="note-form__missing">Both lines, please. Then try again.</span>
</div>
</div>
</section>
<style>
.note-form {
padding: var(--section-space) var(--edge);
}
.note-form__inner {
max-width: var(--measure);
margin: 0 auto;
}
.note-form__label {
margin: 0 0 var(--space-s);
color: var(--ink);
font-size: var(--text-m);
font-weight: 500;
line-height: var(--leading-label);
}
.note-form__text {
margin: 0 0 var(--space-l);
color: var(--ink-soft);
line-height: var(--leading-read);
}
.note-form__form {
display: grid;
grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) auto;
align-items: end;
gap: var(--space-m) var(--gap);
}
.note-form__field {
display: grid;
gap: var(--space-xs);
min-width: 0;
}
.note-form__name {
color: var(--ink-faint);
font-size: var(--text-s);
line-height: var(--leading-small);
}
.note-form__input {
width: 100%;
min-height: 44px;
padding: 0 12px;
border: var(--rule) solid var(--line);
border-radius: var(--radius-s);
background: var(--paper-depth);
color: var(--ink);
font: 400 var(--text-m)/var(--leading-label) var(--font-body);
transition: border-color var(--quick) var(--ease);
}
.note-form__input::placeholder {
color: var(--ink-faint);
}
.note-form__input:hover {
border-color: var(--marker);
}
.note-form__input:focus-visible {
outline: none;
border-color: var(--ink);
}
.note-form__send {
min-height: 44px;
padding: 0 20px;
border: 0;
border-radius: var(--radius-pill);
background: var(--ink);
color: var(--paper);
font: 500 var(--text-s)/var(--leading-small) var(--font-body);
cursor: pointer;
transition: background-color var(--quick) var(--ease), scale var(--pop) var(--ease-bounce);
}
.note-form__send:hover {
background: var(--ink-soft);
}
.note-form__send:active {
scale: 0.96;
}
.note-form__send:focus-visible {
outline: var(--rule) solid var(--ink);
outline-offset: 2px;
}
.note-form__reply {
display: inline-flex;
align-items: center;
min-height: 34px;
margin-top: var(--space-m);
padding: var(--space-xs) 12px;
background: var(--well);
border-radius: var(--radius-l);
color: var(--ink);
line-height: var(--leading-label);
transform-origin: 12px 0;
visibility: hidden;
opacity: 0;
scale: 1.05;
filter: blur(6px);
transition: all var(--pop) var(--ease-bounce);
}
.note-form.is-sending .note-form__reply,
.note-form.is-sent .note-form__reply,
.note-form.is-missing .note-form__reply {
visibility: visible;
opacity: 1;
scale: 1;
filter: blur(0);
}
.note-form__dots {
display: inline-flex;
gap: var(--space-xs);
}
.note-form__dot {
width: 8px;
height: 8px;
border-radius: var(--radius-pill);
background: var(--dot);
animation: note-form-pulse var(--pulse) cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.note-form__dot:nth-child(2) { animation-delay: 300ms; }
.note-form__dot:nth-child(3) { animation-delay: 600ms; }
.note-form__said,
.note-form__missing {
display: none;
animation: note-form-reveal var(--reveal) linear both;
}
.note-form.is-sent .note-form__dots,
.note-form.is-missing .note-form__dots {
display: none;
}
.note-form.is-sent .note-form__said,
.note-form.is-missing .note-form__missing {
display: block;
}
@keyframes note-form-pulse {
50% { opacity: 0.35; }
}
@keyframes note-form-reveal {
from { clip-path: inset(0 100% 0 0); opacity: 0.4; }
to { clip-path: inset(0 0 0 0); opacity: 1; }
}
@media (max-width: 40rem) {
.note-form__form {
grid-template-columns: minmax(0, 1fr);
}
.note-form__send {
justify-self: start;
}
}
@media (prefers-reduced-motion: reduce) {
.note-form__reply { transition: none; filter: none; }
.note-form__dot, .note-form__said, .note-form__missing { animation: none; }
}
</style>
<script>
(() => {
const THINK = 1200;
for (const root of document.querySelectorAll('.note-form')) {
const form = root.querySelector('.note-form__form');
let timer = 0;
form.addEventListener('submit', (event) => {
event.preventDefault();
clearTimeout(timer);
root.classList.remove('is-sent', 'is-missing', 'is-sending');
if (!form.checkValidity()) {
root.classList.add('is-missing');
return;
}
root.classList.add('is-sending');
timer = setTimeout(() => {
root.classList.replace('is-sending', 'is-sent');
form.reset();
}, THINK);
});
form.addEventListener('input', () => root.classList.remove('is-missing'));
}
})();
</script>
Colophon
Fine print at the foot: the year on the left, three underlined links on the right.
Code
React For Figma<footer class="colophon">
<div class="colophon__inner">
<p class="colophon__mark">© 2027 Mara Quill</p>
<nav class="colophon__nav" aria-label="Elsewhere">
<a class="colophon__link" href="#">Mastodon</a>
<a class="colophon__link" href="#">Source</a>
<a class="colophon__link" href="#">Email</a>
</nav>
</div>
</footer>
<style>
.colophon {
padding: var(--section-space) var(--edge) var(--space-l);
}
.colophon__inner {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: var(--space-s) var(--gap);
max-width: var(--measure);
margin: 0 auto;
}
.colophon__mark {
margin: 0;
color: var(--ink-soft);
font-size: var(--text-s);
line-height: var(--leading-small);
}
.colophon__nav {
display: flex;
margin-right: -12px;
}
.colophon__link {
display: inline-flex;
align-items: center;
min-height: 44px;
padding: 0 12px;
color: var(--ink-soft);
font-size: var(--text-s);
line-height: var(--leading-small);
text-decoration: underline;
text-decoration-color: color-mix(in srgb, currentColor var(--underline-rest), transparent);
text-underline-offset: var(--underline-offset);
border-radius: var(--radius-s);
transition: text-decoration-color var(--quick) var(--ease);
}
.colophon__link:hover {
text-decoration-color: color-mix(in srgb, currentColor var(--underline-hover), transparent);
}
.colophon__link:focus-visible {
outline: var(--rule) solid var(--ink);
outline-offset: -4px;
}
</style>
Style
- --paper #fafafa
- --paper-depth #ffffff
- --well #e5e5e5
- --line #e5e5e5
- --marker #d4d4d4
- --ink #171717
- --ink-soft #525252
- --ink-faint #a3a3a3
- --dot rgba(10, 10, 10, 0.5)
Type
- Inter for everything: name, labels, reading text, stands in for the site's Inter, set at 16 px with 26 px lines in two greys and two weights
- JetBrains Mono for redacted words and small figures, stands in for the system ui-monospace stack used only for the scrambled secret word
Motion
- Link underlines sit at 30% of the text colour and darken to 70% on hover over 150 ms, cubic-bezier(0.4, 0, 0.2, 1).
- Redacted words reshuffle their block glyphs (░ ▒ ▓ █ and space) every 90 ms while on screen and freeze off screen.
- Hovering or focusing a redacted word pops a grey bubble above it over 800 ms on cubic-bezier(0.2, -0.25, 0, 1.6), from blurred, scaled 1.05 and transparent to sharp.
- Inside the bubble three dots pulse on a 2 s loop, staggered, until the bubble's text reveals in 250 ms.
- A small status dot pings outward on a 2 s loop.
Rules
- One column, 672 px wide at most, 24 px side padding, sections 80 px apart; nothing ever goes wider.
- Every section is a 16 px medium label in near-black over 16/26 regular text in a soft grey; no headings larger than 18 px.
- Links are the text colour with a thin, 30% underline 2 px below, never coloured.
- Only greys: #fafafa page, #e5e5e5 wells, #171717 and #525252 ink; colour lives only in pictures and they stay grey until hovered.
- Corners are 2 px on small things, 12 px on bubbles and picture tiles, round on dots; no shadows.
- Secrets are shown as monospace block glyphs, not hidden: the page admits it is keeping something back.
base.css
/* Fonts: free Google Fonts that stand in for the site's faces. */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=JetBrains+Mono:wght@400&display=swap");
:root {
--paper: #fafafa; /* page background, near white */
--paper-depth: #ffffff; /* raised field and input background */
--well: #e5e5e5; /* bubble, picture tile and chip ground */
--line: #e5e5e5; /* hairline rules and borders */
--marker: #d4d4d4; /* quiet markers, list bullets, selection */
--ink: #171717; /* strong text: names and section labels */
--ink-soft: #525252; /* running text, the main reading grey */
--ink-faint: #a3a3a3; /* dates, fine print and metadata */
--dot: rgba(10, 10, 10, 0.5); /* typing dots and the redaction glyphs at rest */
--font-body: "Inter", system-ui, sans-serif; /* everything: names, labels and reading text */
--font-mono: "JetBrains Mono", ui-monospace, monospace; /* redacted words and small figures */
--text-xs: 12px; /* picture captions in mono */
--text-s: 14px; /* fine print, footer, dates */
--text-m: 16px; /* reading text and section labels */
--text-l: 18px; /* the name in the masthead */
--leading-read: 26px; /* line height of reading text */
--leading-label: 24px; /* line height of labels and single lines */
--leading-small: 20px; /* line height of fine print */
--measure: 672px; /* the single reading column */
--edge: 24px; /* side padding of every section */
--section-space: 80px; /* air above and below a section */
--gap: 16px; /* between tiles and columns */
--space-xs: 4px; /* dots, chip padding */
--space-s: 8px; /* label to text */
--space-m: 16px; /* paragraph to paragraph */
--space-l: 32px; /* block to block inside a section */
--space-xl: 56px; /* between note blocks */
--radius-s: 2px; /* focus rings, chips, fields */
--radius-l: 12px; /* bubbles and picture tiles */
--radius-pill: 999px; /* dots and pill buttons */
--rule: 1px; /* every rule and border */
--underline-rest: 30%; /* link underline strength at rest, as a share of the text colour */
--underline-hover: 70%; /* link underline strength on hover */
--underline-offset: 2px; /* gap between word and underline */
--ease: cubic-bezier(0.4, 0, 0.2, 1); /* default easing for hovers */
--ease-bounce: cubic-bezier(0.2, -0.25, 0, 1.6); /* bubbles: dip, then overshoot into place */
--quick: 150ms; /* underline and colour hovers */
--pop: 800ms; /* bubble pop-in */
--reveal: 250ms; /* bubble text reveal */
--pulse: 2000ms; /* one typing-dot pulse */
--scramble: 90ms; /* one frame of the redaction shuffle */
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink-soft); font: 400 var(--text-m)/var(--leading-read) var(--font-body); -webkit-font-smoothing: antialiased; }
::selection { background: var(--marker); color: var(--ink); }
img, svg, canvas { display: block; max-width: 100%; }
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
For your agent
Use the kitbash MCP server at https://kitbash.me/mcp. Call get_pack("pixel-redaction-notes"), then get_component for the parts you need, and build my site in that style: keep its tokens and rules, replace the placeholder copy with mine.
How to connect