diff options
| author | bptato <nincsnevem662@gmail.com> | 2024-12-17 18:44:05 +0100 |
|---|---|---|
| committer | bptato <nincsnevem662@gmail.com> | 2024-12-17 18:44:05 +0100 |
| commit | 7564932991ffbb01fad4e37c0a2c090cac29cf9b (patch) | |
| tree | cc5fdb01f83842d4a1d7a2717e84f0365838455e | |
| parent | 340042ea464c7b9e0eec6ff7ffb7839eb927ad62 (diff) | |
| download | chawan-7564932991ffbb01fad4e37c0a2c090cac29cf9b.tar.gz | |
ua.css: add margins to list items with high indices
This is roughly what w3m does.
Gecko instead adds enough space for roughly 4 digits and cuts off
afterwards, but I believe this is a better solution.
| -rw-r--r-- | res/ua.css | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -24,6 +24,9 @@ pre code { text-decoration: none } textarea, iframe, frame, input, img, canvas { display: inline-block } ol, ul, menu, dir { padding-left: 4ch; margin: 1em 0 } +ol > li:nth-child(n+100) { margin-left: 1ch } +ol > li:nth-child(n+1000) { margin-left: 2ch } +ol > li:nth-child(n+10000) { margin-left: 3ch } :is(ol, ul, menu, dir) :is(ol, ul, menu, dir) { margin-top: unset; |