diff --git a/src/main/sass/spring/_asciidoctor.scss b/src/main/sass/spring/_asciidoctor.scss index 487c0d1..febad6f 100644 --- a/src/main/sass/spring/_asciidoctor.scss +++ b/src/main/sass/spring/_asciidoctor.scss @@ -755,6 +755,7 @@ table.tableblock #preamble > .sectionbody > .paragraph:first-of-type p { padding: 1.25em; background: #f1f1f1; border-radius: 4px; + overflow: scroll; } .sidebarblock > :first-child { @@ -776,13 +777,13 @@ table.tableblock #preamble > .sectionbody > .paragraph:first-of-type p { } .literalblock pre, .listingblock pre:not(.highlight), .listingblock pre[class="highlight"], .listingblock pre[class^="highlight "], .listingblock pre.CodeRay, .listingblock pre.prettyprint { - background: #232323; + background: #282c33; color: #e6e1dc; border-radius: 4px; } .sidebarblock .literalblock pre, .sidebarblock .listingblock pre:not(.highlight), .sidebarblock .listingblock pre[class="highlight"], .sidebarblock .listingblock pre[class^="highlight "], .sidebarblock .listingblock pre.CodeRay, .sidebarblock .listingblock pre.prettyprint { - background: #232323; + background: #282c33; color: #e6e1dc; } @@ -797,8 +798,8 @@ table.tableblock #preamble > .sectionbody > .paragraph:first-of-type p { .literalblock pre.nowrap, .literalblock pre[class].nowrap, .listingblock pre.nowrap, .listingblock pre[class].nowrap { overflow-x: auto; - white-space: pre; - word-wrap: normal; + white-space: nowrap; + word-break: keep-all; } diff --git a/src/main/sass/spring/_layout.scss b/src/main/sass/spring/_layout.scss index d059139..ef063bd 100644 --- a/src/main/sass/spring/_layout.scss +++ b/src/main/sass/spring/_layout.scss @@ -145,7 +145,7 @@ body.toc2 { #header > h1:first-child + #toc { margin-top: 8px; - border-top: 1px solid #ddddd8; + border-top: 0 none; } #header > h1:only-child, body.toc2 #header > h1:nth-last-child(2) {