diff --git a/docs/500-platform/60-platform-cli/20-commands.mdx b/docs/500-platform/60-platform-cli/20-commands.mdx index 32ca2b230e..cc2774dbb2 100644 --- a/docs/500-platform/60-platform-cli/20-commands.mdx +++ b/docs/500-platform/60-platform-cli/20-commands.mdx @@ -1,7 +1,8 @@ --- title: 'Commands' metaTitle: 'Platform CLI: Commands' -tocDepth: 4 +toc_max_heading_level: 4 + --- diff --git a/src/css/custom.css b/src/css/custom.css index e9caeeb578..a35c0a8c2e 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -26,6 +26,7 @@ main { } code { border: none !important; + padding: .05em .3em .2em; } @@ -909,13 +910,15 @@ hr { } } +.table-of-contents__link:not(:has(> code)) { + background-image: linear-gradient(currentColor,var(--dark-color)); + background-position: 0% 100%; +} .table-of-contents__link { text-decoration: none; color: rgb(113, 128, 150); font-size: 0.875rem; line-height: 1rem; - background-image: linear-gradient(currentColor,var(--dark-color)); - background-position: 0% 100%; display: inline; width: fit-content; background-repeat: no-repeat; @@ -1033,7 +1036,8 @@ hr { } .table-of-contents__link--active code { - color: inherit; + color: white; + background: var(--dark-color); } .pagination-nav__label { @@ -1292,6 +1296,12 @@ article h6 { } @media (max-width: 996px) { + .clean-btn { + z-index: 1; + font-weight: 600; + font-size: 18px; + position: relative; + } nav { position: relative; }