all repos — h3rald @ a9a212fe708ae8500490ce7fede244424c76e71a

The sources of https://h3rald.com

Updates
h3rald h3rald@h3rald.com
Sat, 16 Mar 2024 18:38:21 +0100
commit

a9a212fe708ae8500490ce7fede244424c76e71a

parent

3058993c5a2e2cbd37824c3e2e75e4a5d42edc24

2 files changed, 14 insertions(+), 3 deletions(-)

jump to
M assets/styles/style.cssassets/styles/style.css

@@ -700,11 +700,22 @@ vertical-align: text-top;

} .heading-anchor { - top: -80px; + position: relative; + top: -50px; + display: block; + visibility: hidden; } +.go2toc: { + font-size: 80%; + vertical-align: super; + #toc { - padding-left: 2rem; + padding-left: 1rem; +} + +#toc ul { + list-style-type: none; } /* Used only in Glyph Book */
M rules.minrules.min

@@ -194,7 +194,7 @@ symbol prepend-toc

(str :text ==> str :result) ( () :headings - text "<h([1-6])[^>]*>([^<]+)</h[1-6]>" ( + text "<h3[^>]*>([^<]+)</h3>" ( :matches matches 1 get :level matches 2 get :title