Add the Green Man generator and restyle its page to match the index
greenman-src/ holds the kit source; uv run build.py there rewrites greenman/. deploy skips *-src/. The page now uses the index's ink, bone and gold with the same serif, and no longer loads web fonts. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GrX9qMoNihcWLX3xoJhabw
This commit is contained in:
1 parent
a7c04e5cb7
commit
9c3c361858
59 files changed
+1640
-41
No files matched your search
@@ -0,0 +1,6 @@
|
||||
"""@font-face rules for the PDFs, pointing at the bundled files so a build does not depend on what is installed."""
|
||||
from paths import ASSETS
|
||||
|
||||
_FACES = [('Inter', 400, 'Inter-Regular.otf'), ('Inter', 600, 'Inter-SemiBold.otf'), ('Inter', 700, 'Inter-Bold.otf'),
|
||||
('Inter Display', 700, 'InterDisplay-Bold.otf'), ('DejaVu Sans Mono', 400, 'DejaVuSansMono.ttf')]
|
||||
CSS = ''.join(f'@font-face {{ font-family: "{fam}"; font-weight: {w}; src: url("{(ASSETS / "fonts" / fn).as_uri()}"); }}\n' for fam, w, fn in _FACES)
|
||||
Reference in new issue
Block a user