mirror of
https://github.com/boostorg/boostlook.git
synced 2026-01-19 04:02:14 +00:00
adjust Antora TOC
- add gap between article and TOC - refine padding on TOC links - move current-page nav icon further left Addresses boostorg/website-v2-docs#317
This commit is contained in:
committed by
Julio C. Estrada
parent
8fb9e12782
commit
8bd4b4c8d3
@@ -548,7 +548,7 @@ html.toc-hidden .boostlook:not(:has(.doc)) {
|
||||
top: 38%;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
margin-left: -1rem;
|
||||
margin-left: -1.25rem;
|
||||
background-image: var(--bl-caret-svg);
|
||||
background-repeat: no-repeat;
|
||||
background-position: center center;
|
||||
@@ -570,4 +570,15 @@ html.toc-hidden .boostlook:not(:has(.doc)) {
|
||||
border-color: var(--bl-code-border-color);
|
||||
}
|
||||
|
||||
/* Layout */
|
||||
.boostlook .article .content {
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
/* Table of Contents */
|
||||
.boostlook .toc .toc-menu a {
|
||||
border-left: 0;
|
||||
padding: .25rem 0 0 0;
|
||||
}
|
||||
|
||||
/*----------------- Styles specific to Antora Templates end -----------------*/
|
||||
Reference in New Issue
Block a user