From b5223ce4bd9fc736107b2a3d4dc81eeb253179a7 Mon Sep 17 00:00:00 2001 From: julioest Date: Tue, 3 Jun 2025 21:12:50 +0000 Subject: [PATCH] chore: Update boostlook.css from boostlook repository --- static/css/boostlook.css | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/static/css/boostlook.css b/static/css/boostlook.css index 303261ee..dbd1dff4 100644 --- a/static/css/boostlook.css +++ b/static/css/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; + } +}