From f8a393d7ed043aeaaee54a6d15f50ef552dad650 Mon Sep 17 00:00:00 2001 From: Julio Estrada Date: Tue, 3 Jun 2025 16:11:33 -0400 Subject: [PATCH] fix: adjust asciidoc layout to use full width --- boostlook.css | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/boostlook.css b/boostlook.css index 303261e..dbd1dff 100644 --- a/boostlook.css +++ b/boostlook.css @@ -3271,9 +3271,9 @@ html.is-clipped--nav:has(.boostlook) div#content { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20height%3D%2224px%22%20viewBox%3D%220%20-960%20960%20960%22%20width%3D%2224px%22%20fill%3D%22%235f6368%22%3E%3Cpath%20d%3D%22M560-240%20320-480l240-240%2056%2056-184%20184%20184%20184-56%2056Z%22%2F%3E%3C%2Fsvg%3E"); } - html.toc-visible.toc-pinned .boostlook { + /* html.toc-visible.toc-pinned .boostlook { margin-left: var(--main-max-width-leftbar); - } + } */ } /* TOC Common End */ @@ -4285,6 +4285,7 @@ div.source-docs-antora.boostlook:not(:has(.doc)):not(:has(> .boostlook)) > #cont left: max(0rem, 50% - 45rem); } } +/* TOC Common End */ /*----------------- Quickbook Documentation Styles end -----------------*/ @@ -4320,3 +4321,23 @@ div.source-docs-antora.boostlook:not(:has(.doc)):not(:has(> .boostlook)) > #cont } /*----------------- Library README Styles end -----------------*/ + +/*----------------- AsciiDoc Specfic Documentation Layout -----------------*/ + +.article.toc2.toc-left:has(div.source-docs-antora.boostlook) { + margin-right: 0 !important; +} + +.article.toc2.toc-left:has(div.source-docs-antora.boostlook) { + margin-right: 0 !important; +} + +div.source-docs-antora.boostlook .boostlook { + margin-left: var(--main-max-width-leftbar); +} + +@media (min-width: 1470px) { + div.source-docs-antora.boostlook .boostlook { + margin-left: 0; + } +}