summaryrefslogtreecommitdiff
path: root/src/stylesheets
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2023-12-02 14:58:57 -0700
committerGitHub <noreply@github.com>2023-12-02 14:58:57 -0700
commit77d0467cf1841d3c1f6f013b7d582fd296fd7a27 (patch)
treeb0d69638aa44c0c6da702f7a65174855bb87ba17 /src/stylesheets
parent5f3bb0a288a3a11578d8ec5ea13fd2ebd2314fc9 (diff)
resolves #4523 remove extra border below doctitle when sidebar toc is collapsed into main content area (PR #4524)
Diffstat (limited to 'src/stylesheets')
-rw-r--r--src/stylesheets/asciidoctor.css8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/stylesheets/asciidoctor.css b/src/stylesheets/asciidoctor.css
index 04409b10..7bfa8ea7 100644
--- a/src/stylesheets/asciidoctor.css
+++ b/src/stylesheets/asciidoctor.css
@@ -638,8 +638,7 @@ body > div[id]::after,
border-top: 1px solid #dddddf;
}
-#header > h1:only-child,
-body.toc2 #header > h1:nth-last-child(2) {
+#header > h1:only-child {
border-bottom: 1px solid #dddddf;
padding-bottom: 8px;
}
@@ -747,6 +746,11 @@ body.toc2 #header > h1:nth-last-child(2) {
padding-right: 0;
}
+ body.toc2 #header > h1:nth-last-child(2) {
+ border-bottom: 1px solid #dddddf;
+ padding-bottom: 8px;
+ }
+
#toc.toc2 {
margin-top: 0 !important;
background: #f8f8f7;