diff options
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; } |
