[OCaml] Mobile-friendly clone of cgit.
Increase TOC indentation and update dependencies
- Increase nested TOC list padding to 2em with a border-left guide line for clearer visual hierarchy of heading nesting levels. - Remove stale 'git' dependency (only git-unix is used directly). - Bump minimum versions: alcotest 1.9.1, yojson 2.2.2.
Changed files
dune-project
@@ -20,14 +20,13 @@
20
20
(ocaml (= 5.5.0))
21
21
(dream (>= 1.0.0~alpha8))
22
22
(dream-html (>= 3.11.2))
23
Removed:
(git (>= 3.18.0))
24
23
(git-unix (>= 3.18.0))
25
24
(crunch (>= 4.0.0))
26
25
(ocamlformat (and :with-dev-setup (= 0.29.0)))
27
Removed:
(alcotest (and :with-test (>= 1.7.0)))
26
Added:
(alcotest (and :with-test (>= 1.9.1)))
28
27
(toml (>= 7.1.0))
29
28
(hilite (>= 0.5.0))
30
29
(textmate-language (>= 0.6.0))
31
Removed:
(yojson (>= 2.0.0)))
30
Added:
(yojson (>= 2.2.2)))
32
31
(tags
33
32
(git "web interface")))
lib/static/readme.css
@@ -162,7 +162,9 @@
162
162
}
163
163
164
164
.toc-list .toc-list {
165
Removed:
padding: 0 0 0 1.2em;
165
Added:
padding: 0 0 0 2em;
166
Added:
border-left: 1px solid var(--color-border-subtle);
167
Added:
margin-left: 0.4em;
166
168
}
167
169
168
170
.toc-list li {