Skip to content

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

CSS

Fix · mobile copy/star + footer bottom space + drop "Powered by Together AI"

Youssef3375a99da492
diff --git a/site/css/components.css b/site/css/components.css
index 84c277b..d90d21d 100644
--- a/site/css/components.css
+++ b/site/css/components.css
@@ -97,6 +97,11 @@
@media (max-width: 50rem) {
.banner__install { display: none; }
+ /* Without the Install button to pair with, the star's negative
+ start margin (sized for the install/star pair) pulls it too
+ close to the wordmark. Loosen by +8px so the two CTAs read as
+ bookends, not crowded. */
+ .banner__star { margin-inline-start: -0.25rem; }
}
/* GitHub star button — sits next to Install in the banner, shows
@@ -797,6 +802,28 @@
.code__copy[data-state="copied"] .code__copy-default { display: none; }
.code__copy[data-state="copied"] .code__copy-done { display: inline; }
+/* Mobile · stack the copy button beneath the command instead of
+ absolute-positioning over it. On coarse-pointer devices the button
+ is always visible (no hover state); overlaying the right edge of a
+ long command makes the text unreadable. Pattern from GitHub /
+ Vercel / npmjs / MDN — command on its own line with horizontal
+ scroll, copy button as a full-width tap target underneath. */
+@media (max-width: 45rem) {
+ .code {
+ display: block;
+ padding-block: var(--space-sm) var(--space-sm);
+ }
+ .code .prompt { margin-inline-end: var(--space-2xs); }
+ .code__copy {
+ position: static;
+ transform: none;
+ width: 100%;
+ margin-block-start: var(--space-sm);
+ justify-content: center;
+ min-height: 32px;
+ }
+}
+
[data-theme="terminal"] .code__copy {
background: var(--color-paper-2);
border-color: var(--color-rule);
@@ -3028,7 +3055,10 @@ body:not(.easter-open) > footer {
display: grid;
grid-template-columns: 1fr;
gap: var(--space-3xl);
- padding-block: var(--space-3xl) var(--space-2xl);
+ /* Bottom padding capped at ~16 px — the credit line should never
+ sit more than ~20 px from the viewport edge regardless of the
+ theme. The page-wrapper no longer adds bottom padding either. */
+ padding-block: var(--space-3xl) var(--space-md);
border-block-start: var(--rule-hair) solid var(--color-rule);
border-top-width: var(--rule-hair);
margin: 0;
@@ -3229,9 +3259,11 @@ body:not(.easter-open) > footer {
width: 100%;
}
-/* Mobile collapse — single column, generous gaps. */
+/* Mobile collapse — single column, generous gaps. Bottom padding
+ stays capped at --space-md so the credit line hugs the viewport
+ bottom on phones too. */
@media (max-width: 60rem) {
- .foot--colophon { gap: var(--space-2xl); padding-block: var(--space-2xl) var(--space-xl); }
+ .foot--colophon { gap: var(--space-2xl); padding-block: var(--space-2xl) var(--space-md); }
.foot__masthead { flex-direction: column; align-items: flex-start; gap: var(--space-sm); padding-block-end: var(--space-lg); }
.foot__grid { grid-template-columns: 1fr; gap: var(--space-2xl); }
}
diff --git a/site/css/sections.css b/site/css/sections.css
index f9984e9..2581ae0 100644
--- a/site/css/sections.css
+++ b/site/css/sections.css
@@ -6,7 +6,10 @@
margin-inline: auto;
display: grid;
gap: var(--section-gap);
- padding-block: var(--space-2xl) var(--space-4xl);
+ /* No bottom padding — the colophon owns its own end-spacing.
+ A page-level bottom padding stacks on top of the footer's own
+ padding and reads as dead space below "Made by Together AI". */
+ padding-block: var(--space-2xl) 0;
padding-inline: var(--page-gutter);
}
diff --git a/site/index.html b/site/index.html
index e1aa98d..7cbf430 100644
--- a/site/index.html
+++ b/site/index.html
@@ -968,9 +968,9 @@
<section class="foot__block">
<p class="foot__label">In the catalog</p>
<ul class="foot__stats">
- <li><span class="foot__stat-num tnum">23</span><span class="foot__stat-key">themes</span></li>
+ <li><span class="foot__stat-num tnum">22</span><span class="foot__stat-key">themes</span></li>
<li><span class="foot__stat-num tnum">21</span><span class="foot__stat-key">macrostructures</span></li>
- <li><span class="foot__stat-num tnum">60</span><span class="foot__stat-key">slop-test gates</span></li>
+ <li><span class="foot__stat-num tnum">65</span><span class="foot__stat-key">slop-test gates</span></li>
</ul>
</section>
diff --git a/site/js/main.js b/site/js/main.js
index 5c5c06f..129d260 100644
--- a/site/js/main.js
+++ b/site/js/main.js
@@ -140,7 +140,7 @@ const HERO_TITLE = "A design skill that refuses to look AI-generated.";
eyebrow, lede, quote, stat, salutation, etc. still vary. */
const COPY = {
specimen: {
- eyebrow: "A design skill · Powered by Together AI",
+ eyebrow: "A design skill",
title: HERO_TITLE,
lede: "Hallmark is a skill for Claude Code, Cursor, and Codex. It encodes the anti-slop consensus — typography, colour, layout, motion, interaction — into one holistic ruleset your AI assistant will actually follow.",
ctaLabel: "01 ⁄ Install",