diff options
author | nodejh <jianghangscu@gmail.com> | 2021-08-16 10:35:10 +0300 |
---|---|---|
committer | nodejh <jianghangscu@gmail.com> | 2021-08-16 10:35:10 +0300 |
commit | cbe158b00a2676697527ffdf8d5e10cdd4f7de6a (patch) | |
tree | d7072e4cfb50b4dfc778d84cb18f98873d55cfd7 /static | |
parent | 82e53f4acd1ea91f80776053c79d18722883ab29 (diff) |
feat: support table of content
Diffstat (limited to 'static')
-rw-r--r-- | static/css/style.css | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/static/css/style.css b/static/css/style.css index 5861415..e197a60 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -180,6 +180,29 @@ nav.navigation a.button { } } +/* toc */ +.toc { + margin: auto; + background: #f8f8f8; + border-radius: 0; + padding: 10px 7px; + margin-top: 36px; +} +.toc details summary { + cursor: zoom-in; + margin-inline-start: 14px; + font-weight: 500; +} +.toc details[open] summary { + cursor: zoom-out; +} +.toc #TableOfContents { + margin-left: 10px; +} +.toc ul { + padding-inline-start: 24px; +} + /* comment */ #comment { margin-top: 64px; |