An AI skill that turns books into animated, narrated, interactive web experiences
JavaScript ai-agentsai-educationanimationclaudeclaude-codeclaude-skillsedtecheducationinteractive-textbookscormtext-to-video
feat(site): a Work with us sign on the shelf's banner
yzr266f09918838
diff --git a/site/index.html b/site/index.htmlindex 8f9c718..147a77d 100644--- a/site/index.html+++ b/site/index.html@@ -44,6 +44,7 @@<rect y="160" width="1000" height="16" fill="url(#trim)"/></svg><span class="visually-hidden">Papermorph</span>+ <span class="work-sign" aria-hidden="true">Work with us →</span></a></h1>diff --git a/site/lib/bookshelf.css b/site/lib/bookshelf.cssindex e282403..7abc02f 100644--- a/site/lib/bookshelf.css+++ b/site/lib/bookshelf.css@@ -27,10 +27,13 @@ a { color: inherit; }/* The photo, as wide as the window (it is 1024 px: wider than that it softens a little). The shelf in it spans source x 82-946 and starts at y 175. */.scene { position: relative; width: 100%; aspect-ratio: 1024 / 1536; margin: 0 auto; container-type: inline-size; background: url(../assets/shelf/wall.webp) 0 0 / 100% 100%; }.scene > * { position: absolute; left: 8.008cqw; width: 84.375cqw; }-.banner { top: 1.37cqw; margin: 0; line-height: 0; filter: drop-shadow(3px 6px 6px #0004); }-.banner a { display: block; width: 100%; transition: transform .15s; }+.banner { z-index: 5; top: 1.37cqw; margin: 0; line-height: 0; filter: drop-shadow(3px 6px 6px #0004); }+.banner a { position: relative; display: block; width: 100%; transition: transform .15s; }.banner a:hover { transform: translateY(-2px); }.banner svg { display: block; width: 100%; height: auto; }+/* The banner links to /work/; a hand-made sign on its corner says so, like the shelf's "Interactive". */+.work-sign { position: absolute; right: 2.2%; bottom: -1.1cqw; padding: .3em .6em .25em; background: var(--focus); border: 2px solid #1e1d1b; color: #1e1d1b; font: 700 clamp(11px, 1.75cqw, 17px)/1 Oswald, var(--ui); white-space: nowrap; transform: rotate(4deg); box-shadow: 3px 4px 4px #0003; transition: transform .15s; }+.banner a:hover .work-sign { transform: rotate(2deg) scale(1.04); }.case { --s: calc(84.375cqw / 864); top: 17.09cqw; }.cap, .lip { background: 0 0 / 100% 100% no-repeat; }.cap { aspect-ratio: 864 / 15; background-image: url(../assets/shelf/cap.webp); }