Skip to content

Commit 8380318

Browse files
RuitingMaclaude
andcommitted
Clean up: drop orphan CSS in Score + remove test essays
- Score.astro had a dangling declaration block after `.score-stage:active` that browsers discarded. Removed; mask-image + --mask-start/--mask-end live on `.score-stage` and are set from JS via setFadeMaskVars. - grid-test.md / score-test.mdx were TEST essays for the BeginSketch grid-wave cues and the Score component. Both features shipped; the tests no longer earn their list slot on the index. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 3a19972 commit 8380318

3 files changed

Lines changed: 0 additions & 122 deletions

File tree

src/components/Score.astro

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -96,16 +96,6 @@ const { slug, loop, playhead = 0.22, height = 200 } = Astro.props;
9696
}
9797
.score-stage:active {
9898
cursor: grabbing;
99-
}
100-
/* Outer horizontal feather so music entering/exiting the stage
101-
doesn't snap at the edges. The left fade also softens the
102-
overlay's boundary into the body. */
103-
-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
104-
mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
105-
background: transparent;
106-
/* Mask-fade positions — set from JS once header width is known. */
107-
--mask-start: 0px;
108-
--mask-end: 0px;
10999
}
110100
.score-stage:focus-visible {
111101
outline: 1px solid var(--accent);

src/content/essays/grid-test.md

Lines changed: 0 additions & 80 deletions
This file was deleted.

src/content/essays/score-test.mdx

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)