whitepaper HTML: cage the uncloseai button + ChunkFive for titles + logo under title
Three whitepaper-HTML-only fixes: * docutils's responsive.css blanket-pads every `body > *` with `padding: 0.5rem calc(29% - 7.2rem)`. The uncloseai floating button gets appended to <body>, picks up that padding, and blows from its designed 121 px to nearly half the viewport. Scoped override resets the cascade on the button selector with `all: revert` + explicit zero padding/margin. * whitepaper h1/h2 titles now use ChunkFive (same face as the homepage logo) instead of docutils's default serif. Font embedded as a base64 data: URI inside a <style> block so the HTML stays self-contained — no external font fetch. * RST layout: λ logo now sits UNDER the "Lumbda" heading instead of above it. Permacomputer logo still follows below the λ. New helper: whitepaper/inject-whitepaper-css.py runs after embed-images.py, reads ChunkFive from www/fonts/..., base64-encodes, writes the <style> block before </head>. Makefile wires it in.
This commit is contained in:
parent
5566865815
commit
cd5d4d2efa
5 changed files with 2255 additions and 2076 deletions
2
Makefile
2
Makefile
|
|
@ -217,6 +217,8 @@ $(HTML): $(RST) $(VENV)/bin/rst2pdf
|
|||
@sed -i 's|</head>|<script src="https://uncloseai.com/uncloseai.js" type="module"></script>\n</head>|' $(HTML)
|
||||
@sed -i 's|<title>lumbda-whitepaper.rst</title>|<title>Lumbda whitepaper — feedback as a primitive</title>|' $(HTML)
|
||||
@python3 whitepaper/embed-images.py $(HTML)
|
||||
@python3 whitepaper/inject-whitepaper-css.py $(HTML) \
|
||||
www/fonts/chunkfive/chunkfive-regular-webfont.woff2
|
||||
@echo "Built: $(HTML)"
|
||||
|
||||
# ─── Clean ────────────────────────────────────────────────────────
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue