diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-17 18:43:09 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-17 18:43:23 -0300 |
| commit | b7b6a682cd8abe63f763eb671a068b53be9600d8 (patch) | |
| tree | c8b229fdae29f2519f37d0d45963bef5d0d00429 /docs/site | |
| parent | 65a8bce7a44932534b8eec088ab45d6875c138b2 (diff) | |
| download | pardes-b7b6a682cd8abe63f763eb671a068b53be9600d8.tar.gz pardes-b7b6a682cd8abe63f763eb671a068b53be9600d8.zip | |
docs: figures in the manual: docs/typ/figures.typ, the one file of the corpus that imports a package (cetz 0.4.2, which compiles with typst 0.15.1 here), draws in style.typ's palette; on paper a figure is its canvas, in HTML the same canvas as an inline SVG (html.frame) on the paper colour, in a <figure class="diagram"> that site.css frames; the grammar of "how pardes runs" (a process a box, its kind by colour, the core with the truth a starred chip, a replica's an outlined one, a screen, a line labelled with what travels) and its seven figures, and the design note's before and after
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'docs/site')
| -rw-r--r-- | docs/site/site.css | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/site/site.css b/docs/site/site.css index a0959d5e..449738bf 100644 --- a/docs/site/site.css +++ b/docs/site/site.css @@ -222,3 +222,7 @@ main[data-page="builtins"] .content h4 + p { margin-top:0; } .glossary dt { font-weight:600; color:var(--leaf); } .glossary dt:nth-of-type(odd), .glossary dt:nth-of-type(odd) + dd { background:color-mix(in srgb, var(--tag) 70%, transparent); } @media (max-width:600px) { .glossary dl { grid-template-columns:1fr; } .glossary dd { padding-top:0; } } + +/* --- a figure drawn by docs/typ/figures.typ: an inline SVG on paper --------- */ +.diagram { margin:1.2em 0 1.6em; overflow-x:auto; border:2px solid var(--leaf); box-shadow:5px 5px 0 var(--shadow); background:#fffdeb; } +.diagram svg { display:block; max-width:100%; height:auto !important; margin:0 auto; } |
