diff --git a/src/main/resources/docinfo.html b/src/main/resources/docinfo.html index 159bffc..e69de29 100644 --- a/src/main/resources/docinfo.html +++ b/src/main/resources/docinfo.html @@ -1,74 +0,0 @@ -
-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-
\ No newline at end of file diff --git a/src/main/resources/js/toc.js b/src/main/resources/js/toc.js index 9957598..a6e933b 100644 --- a/src/main/resources/js/toc.js +++ b/src/main/resources/js/toc.js @@ -25,4 +25,83 @@ if (toctitle != null) { var next = document.getElementById('toctitle').nextElementSibling; toc.insertBefore(block, next); } -} \ No newline at end of file +} + +var headerHtml = '
\n' + + '

\n' + + '\n' + + '\n' + + '\n' + + '\n' + + '\n' + + '\n' + + '\n' + + '\n' + + '\n' + + '\n' + + '\n' + + '\n' + + '\n' + + '\n' + + '\n' + + '\n' + + '\n' + + '\n' + + '\n' + + '\n' + + '\n' + + '\n' + + '\n' + + '\n' + + '\n' + + '\n' + + '\n' + + '\n' + + '\n' + + '\n' + + '\n' + + '\n' + + '\n' + + '\n' + + '\n' + + '\n' + + '\n' + + '\n' + + '\n' + + '\n' + + '

\n' + + '
'; + +var header = document.createElement("div"); +header.innerHTML = headerHtml; +document.body.insertBefore(header, document.body.firstChild); \ No newline at end of file diff --git a/src/main/sass/spring/_asciidoctor.scss b/src/main/sass/spring/_asciidoctor.scss index 968be1f..5247165 100644 --- a/src/main/sass/spring/_asciidoctor.scss +++ b/src/main/sass/spring/_asciidoctor.scss @@ -31,6 +31,7 @@ body { line-height: 1; position: relative; cursor: auto; + border-top: 3px solid $spring-primary-color; } a:hover { @@ -370,6 +371,7 @@ blockquote, blockquote p { #tocbot { padding: 0 0 1rem 0; line-height: 1.5rem; + padding-left: 25px; } .mobile-toc { diff --git a/src/main/sass/spring/_layout.scss b/src/main/sass/spring/_layout.scss index b9cb2c4..5636776 100644 --- a/src/main/sass/spring/_layout.scss +++ b/src/main/sass/spring/_layout.scss @@ -40,10 +40,9 @@ div.back-action, #toc.toc2 div.back-action { top: 0; left: 0; right: 0; - height: $header-height ; + height: $header-height; margin: 0 1rem; padding: 0 1rem; - border-top: 3px solid $spring-primary-color; border-bottom: 1px solid #ddddd8; h1 { margin: 0;