Skip to content

Commit

Permalink
Improve ToC of minimal theme
Browse files Browse the repository at this point in the history
  • Loading branch information
iamgio committed Oct 12, 2024
1 parent 1935504 commit 1c893b5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion core/src/main/resources/render/theme/color/paperwhite.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ pre code {
}

nav ol ol {
border-color: var(--qd-main-color);
border-color: rgba(0, 0, 0, .2);
}
9 changes: 5 additions & 4 deletions core/src/main/resources/render/theme/layout/minimal.css
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,10 @@ figure figcaption {

/* Table of contents */

nav, h1#table-of-contents {
margin-left: 44px;
}

nav ol {
list-style-type: none !important;
margin: 0;
padding-left: 12px;
}

nav ol ol {
Expand All @@ -140,6 +138,9 @@ nav li {
margin-left: auto;
}

.reveal :is(nav, h1#table-of-contents) {
margin-left: 44px;
}

/* Footer */

Expand Down

0 comments on commit 1c893b5

Please sign in to comment.