Mercurial > p > roundup > code
diff doc/_static/style.css @ 7430:bd5bebb11695
add headers; make signature list multicolum
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Mon, 29 May 2023 19:28:38 -0400 |
| parents | 639a926cbb1a |
| children | 0d9f704a7ef2 |
line wrap: on
line diff
--- a/doc/_static/style.css Mon May 29 19:01:59 2023 -0400 +++ b/doc/_static/style.css Mon May 29 19:28:38 2023 -0400 @@ -442,3 +442,15 @@ background-size: 20px 100%, 20px 100%, 16px 100%, 16px 100%; background-attachment: local, local, scroll, scroll; } + +/* https://moderncss.dev/totally-custom-list-styles/ make a list + use multiple columns */ +ul.multicol { + display: grid; + /* adjust the `min` value to your context */ + grid-template-columns: repeat(auto-fill, minmax(25ch, 1fr)); + grid-gap: 0 1rem; /* no row gap */ +} +ul.multicol > * { + margin-block-start: 0; /* remove spacing added by * + * here */ +}
