diff options
| author | Yong He <yonghe@outlook.com> | 2021-04-22 16:15:32 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-22 16:15:32 -0700 |
| commit | e8dee69592349cde50ddf8a4440f87e91808e6b6 (patch) | |
| tree | 7398c640a8b8d1f05743d74f0242a17ad7cfd759 /docs | |
| parent | c5998a7163c8936535598a84030d64df5bb7ea2f (diff) | |
Fix layout for user-guide (#1810)
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/_layouts/user-guide.html | 18 | ||||
| -rw-r--r-- | docs/assets/css/style.scss | 10 |
2 files changed, 8 insertions, 20 deletions
diff --git a/docs/_layouts/user-guide.html b/docs/_layouts/user-guide.html index 26b87c6d5..ebd887789 100644 --- a/docs/_layouts/user-guide.html +++ b/docs/_layouts/user-guide.html @@ -32,27 +32,27 @@ } ol { - list-style: decimal; - list-style-position: inside; + counter-reset: section; + list-style-type: none; } - ol li { - list-style: decimal; - list-style-position: inside; + li:before { + counter-increment: section; + content: counters(section, ".") " "; } </style> {% seo %} </head> <body> - <div id="container"> - <div class="inner" style="padding:40px;width:1000px"> + <div id="main_content_wrap" class="outer"> + <div id="main_content" class="inner" style="padding:40px;width:1000px"> <div id="dividerContainer"> <div id="tocColumn"> {% include user-guide-toc.html %} </div> <div id="rightColumn"> - <section id="main_content"> + <section> {{ content }} </section> @@ -65,8 +65,6 @@ </footer> </div> </div> - - </div> </div> diff --git a/docs/assets/css/style.scss b/docs/assets/css/style.scss index c8cb75a7c..df8ca8272 100644 --- a/docs/assets/css/style.scss +++ b/docs/assets/css/style.scss @@ -6,13 +6,3 @@ blockquote p { font-size: 16px; font-weight: 600; } - -ol { - counter-reset: section; - list-style-type: none; -} - -li:before { - counter-increment: section; - content: counters(section, ".") " "; -}
\ No newline at end of file |
