Skip to content

Anti-AI-slop design skill for Claude Code, Cursor, and Codex.

CSS

Phase A — drop nav stamp, add favicon, rework Section 02 cards

Youssef95f7951691b3
diff --git a/site/css/components.css b/site/css/components.css
index d87cfcd..46b24b1 100644
--- a/site/css/components.css
+++ b/site/css/components.css
@@ -104,53 +104,6 @@
.banner__install { display: none; }
}
-/* Live stamp callout — small mono annotation showing what Hallmark
- is currently rendering. Hover expands to the full stamp comment.
- Sits between the install link and the spacer; hides on narrow. */
-.banner__stamp {
- position: relative;
- margin-inline-start: var(--space-sm);
- padding: 0.18rem 0.55rem;
- font-family: var(--font-mono);
- font-size: 0.625rem;
- letter-spacing: 0;
- text-transform: lowercase;
- color: var(--color-muted);
- border: 1px dashed var(--color-rule);
- border-radius: 2px;
- user-select: text;
- cursor: default;
-}
-
-@media (hover: hover) and (pointer: fine) {
- .banner__stamp:hover { color: var(--color-ink); border-color: var(--color-rule-2); }
- .banner__stamp:hover .banner__stamp-detail { opacity: 1; pointer-events: auto; transform: translateY(0); }
-}
-
-.banner__stamp-detail {
- position: absolute;
- top: calc(100% + 6px);
- left: 0;
- white-space: nowrap;
- padding: 0.5rem 0.75rem;
- font-family: var(--font-mono);
- font-size: 0.6875rem;
- color: var(--color-ink-2);
- background: var(--color-paper);
- border: 1px solid var(--color-rule-2);
- border-radius: 2px;
- box-shadow: 0 4px 12px -4px oklch(20% 0.02 60 / 0.16);
- opacity: 0;
- pointer-events: none;
- transform: translateY(-4px);
- transition: opacity 140ms var(--ease-out), transform 140ms var(--ease-out);
- z-index: 10;
-}
-
-@media (max-width: 64rem) {
- .banner__stamp { display: none; }
-}
-
/* Genre label — small text after the theme name in the banner. */
.banner__theme {
display: inline;
@@ -3450,7 +3403,7 @@ html[data-theme="halo"] aside {
active theme's --radius-card, --rule-card, and --shadow-card so
switching themes restyles them along with everything else. */
.ex-card {
- flex: 0 0 32rem;
+ flex: 0 0 clamp(32rem, 60vw, 44rem);
scroll-snap-align: start;
display: grid;
grid-template-rows: auto auto;
@@ -3468,11 +3421,11 @@ html[data-theme="halo"] aside {
}
@media (max-width: 60rem) {
- .ex-card { flex-basis: 22rem; }
+ .ex-card { flex-basis: 26rem; }
}
@media (max-width: 36rem) {
- .ex-card { flex-basis: 80vw; }
+ .ex-card { flex-basis: 84vw; }
}
@media (hover: hover) and (pointer: fine) {
diff --git a/site/css/sections.css b/site/css/sections.css
index 9ec886a..f414bdc 100644
--- a/site/css/sections.css
+++ b/site/css/sections.css
@@ -195,10 +195,19 @@
margin-inline: calc(-1 * var(--page-gutter));
padding-inline: var(--page-gutter);
padding-block: var(--space-md) var(--space-lg);
- scroll-padding-inline-start: var(--page-gutter);
+ /* Symmetric scroll-padding so the first AND last card snap clean to the
+ gutter — without inline-end the last card always reads as clipped. */
+ scroll-padding-inline: var(--page-gutter);
scrollbar-color: var(--color-rule-2) transparent;
}
+/* Reserve trailing whitespace inside the rail so the last card snaps
+ clean to the gutter and isn't cut off by the bleed margin. */
+.examples-rail::after {
+ content: "";
+ flex: 0 0 var(--page-gutter);
+}
+
.examples-rail::-webkit-scrollbar { height: 6px; }
.examples-rail::-webkit-scrollbar-track { background: transparent; }
.examples-rail::-webkit-scrollbar-thumb { background: var(--color-rule-2); border-radius: 0; }
diff --git a/site/favicon.svg b/site/favicon.svg
new file mode 100644
index 0000000..f711e43
--- /dev/null
+++ b/site/favicon.svg
@@ -0,0 +1,15 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
+ <style>
+ .bg { fill: #f5efe2; }
+ .fg { fill: #1a1410; }
+ @media (prefers-color-scheme: dark) {
+ .bg { fill: #1a1410; }
+ .fg { fill: #f5efe2; }
+ }
+ </style>
+ <rect class="bg" width="32" height="32"/>
+ <text class="fg" x="50%" y="72%"
+ font-family="'Fraunces', 'Tiempos', 'Georgia', serif"
+ font-size="24" font-weight="500" font-style="italic"
+ text-anchor="middle">H</text>
+</svg>
diff --git a/site/index.html b/site/index.html
index 2477b36..643f5b0 100644
--- a/site/index.html
+++ b/site/index.html
@@ -14,6 +14,8 @@
content="A design skill for AI coding assistants. Encodes the anti-slop consensus into one ruleset. Powered by Together AI." />
<meta property="og:type" content="website" />
+ <link rel="icon" type="image/svg+xml" href="favicon.svg" />
+
<link rel="preload" href="fonts/the-future-regular.woff2" as="font" type="font/woff2" crossorigin />
<link rel="preload" href="fonts/the-future-medium.woff2" as="font" type="font/woff2" crossorigin />
<link rel="preload" href="fonts/the-future-mono-regular.woff2" as="font" type="font/woff2" crossorigin />
@@ -51,11 +53,6 @@
<a class="banner__install" href="#install" aria-label="Jump to install section">Install</a>
- <span class="banner__stamp" data-stamp aria-label="Current Hallmark stamp">
- <span class="banner__stamp-text" data-stamp-text>marquee · specimen · enrich-A</span>
- <span class="banner__stamp-detail" data-stamp-detail aria-hidden="true">/* Hallmark · genre: editorial · macrostructure: marquee · theme: specimen · enrichment: A */</span>
- </span>
-
<span class="banner__spacer" aria-hidden="true"></span>
<span class="banner__center" data-theme-current>
@@ -146,7 +143,7 @@
<span class="num">02</span><span class="divider">⁄</span><span>Examples</span>
</p>
<h2 class="section__title" id="s2">
- Eight briefs. Eight different shapes.
+ Different briefs. Different bones.
</h2>
</header>
diff --git a/site/js/main.js b/site/js/main.js
index 0dd5435..2077435 100644
--- a/site/js/main.js
+++ b/site/js/main.js
@@ -711,8 +711,6 @@ attachCopyButtons();
/* Cached banner subnodes — populated once at startup. */
const themeLabelEl = document.querySelector(".banner__theme");
const themeGenreEl = document.querySelector("[data-theme-genre]");
-const stampTextEl = document.querySelector("[data-stamp-text]");
-const stampDetailEl = document.querySelector("[data-stamp-detail]");
function setPressed(theme) {
dots.forEach((btn) => {
@@ -721,12 +719,9 @@ function setPressed(theme) {
});
const themeName = THEMES[theme] || "Specimen";
const genre = THEME_GENRES[theme] || "editorial";
- const archetype = (ARCHETYPES[theme] && ARCHETYPES[theme].hero) || "marquee";
if (themeLabelEl) themeLabelEl.textContent = themeName;
if (themeGenreEl) themeGenreEl.textContent = genre;
- if (stampTextEl) stampTextEl.textContent = `${archetype} · ${theme} · enrich-A`;
- if (stampDetailEl) stampDetailEl.textContent = `/* Hallmark · genre: ${genre} · macrostructure: ${archetype} · theme: ${theme} · enrichment: A */`;
// Fallback for older callers — keep the public theme-current span up to date.
if (currentLabel && !themeLabelEl) currentLabel.textContent = themeName;