diff options
| author | Jakob L. Kreuze <zerodaysfordays@sdf.org> | 2026-02-14 10:36:06 -0500 |
|---|---|---|
| committer | Jakob L. Kreuze <zerodaysfordays@sdf.org> | 2026-02-14 10:36:06 -0500 |
| commit | 803f046285e14c1f2be786b5d4a23574f8a47f75 (patch) | |
| tree | 0a322731687fb72ff8bbfe8dd6692b16e4011bc3 /static/css | |
| parent | a6352d249fd6a705aad002717f02fb23b20e7bb0 (diff) | |
Stylize table of contents
Diffstat (limited to 'static/css')
| -rw-r--r-- | static/css/style.css | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/static/css/style.css b/static/css/style.css index b4d8d4f..283a633 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -130,6 +130,31 @@ a:hover { margin: 0 } +.nav-list ul { + list-style-type: none; + padding-left: 12px; + margin: 4px 0 +} + +.nav-list ul li { + position: relative; + padding-left: 10px; + margin-bottom: 2px +} + +.nav-list ul li::before { + content: "↳"; + position: absolute; + left: -5px; + color: #999; + font-size: 8px +} + +.nav-list ul li a { + font-weight: 400; + border-bottom: 1px dotted #ccc +} + .nav-list li { margin-bottom: 4px } @@ -578,6 +603,10 @@ a[href*="wikipedia.org"]::after { line-height: 1.6 } +.toc-module div.module-title-has-icon { + background-image: url('/static/image/icons-shadowless/book-open.png'); +} + @media (max-width:740px) { .toc-module { max-width: 100% |