pull the terminal styling back and add an ASCII backdrop
The first pass applied terminal decoration to everything, which read as costume rather than design. Strip it back to a few deliberate cues and let an animated backdrop carry the character instead: - Drop the prefix glyphs from links, tags, nav items, badges and headings, and restore plain section names in place of snake_case. - Keep one prompt in the hero, the ~/ on the wordmark, ISO dates and status dots; everything else is ordinary type. - Restore depth: acrylic surfaces over soft radial light, 6px radii, and an accent glow on the primary action and status dots. - Draw a dithered ASCII field behind the page. A fixed per-cell dither value decides which cells are lit so coverage stays even, while slow interfering waves move brightness through it. It idles when the tab is hidden and stays still under prefers-reduced-motion. - Remove the nested panel boxes on the projects page and size the entry page to its article column. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
8595290318
commit
54c00bf16f
10 files changed
+693
-698
No files matched your search
@@ -17,11 +17,18 @@
|
||||
|
||||
// Build the playback script before hiding anything, so a thrown error here
|
||||
// leaves the page in its fully rendered state.
|
||||
const steps = Array.from(stream.children).map((element) => ({
|
||||
element,
|
||||
isCommand: element.classList.contains("cmd"),
|
||||
text: element.textContent
|
||||
}));
|
||||
// Commands type into their own span so the blinking caret beside them
|
||||
// survives the text rewrites.
|
||||
const steps = Array.from(stream.children).map((element) => {
|
||||
const target = element.querySelector(".cmd__text");
|
||||
|
||||
return {
|
||||
element,
|
||||
target: target || element,
|
||||
isCommand: element.classList.contains("cmd"),
|
||||
text: (target || element).textContent
|
||||
};
|
||||
});
|
||||
|
||||
if (!steps.some((step) => step.isCommand)) {
|
||||
return;
|
||||
@@ -29,7 +36,7 @@
|
||||
|
||||
steps.forEach((step) => {
|
||||
if (step.isCommand) {
|
||||
step.element.textContent = "";
|
||||
step.target.textContent = "";
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -48,7 +55,7 @@
|
||||
const play = async () => {
|
||||
for (const step of steps) {
|
||||
if (step.isCommand) {
|
||||
await typeCommand(step.element, step.text);
|
||||
await typeCommand(step.target, step.text);
|
||||
await wait(AFTER_COMMAND_DELAY);
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user