diff --git a/core/src/main/resources/render/theme/color/paperwhite.css b/core/src/main/resources/render/theme/color/paperwhite.css index 7e3c6255..9a7ab4ac 100644 --- a/core/src/main/resources/render/theme/color/paperwhite.css +++ b/core/src/main/resources/render/theme/color/paperwhite.css @@ -25,5 +25,5 @@ pre code { } nav ol ol { - border-color: var(--qd-main-color); + border-color: rgba(0, 0, 0, .2); } \ No newline at end of file diff --git a/core/src/main/resources/render/theme/layout/minimal.css b/core/src/main/resources/render/theme/layout/minimal.css index da982ccb..8186f09c 100644 --- a/core/src/main/resources/render/theme/layout/minimal.css +++ b/core/src/main/resources/render/theme/layout/minimal.css @@ -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 { @@ -140,6 +138,9 @@ nav li { margin-left: auto; } +.reveal :is(nav, h1#table-of-contents) { + margin-left: 44px; +} /* Footer */