From 819e66c2dae10fa0fe270e42043c832a258d66ef Mon Sep 17 00:00:00 2001 From: Johannes Kirschbauer Date: Tue, 14 Jan 2025 12:50:48 +0100 Subject: [PATCH] Docs: change navigation to use sidebar sections only --- docs/mkdocs.yml | 3 +-- docs/site/static/extra.css | 8 ++++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml index 8f05bd52c..c6c74118d 100644 --- a/docs/mkdocs.yml +++ b/docs/mkdocs.yml @@ -152,8 +152,7 @@ theme: name: material features: - navigation.instant - - navigation.tabs - - navigation.tabs.sticky + - navigation.sections - navigation.footer - content.code.annotate - content.code.copy diff --git a/docs/site/static/extra.css b/docs/site/static/extra.css index 4f9ad1297..64ed3e46b 100644 --- a/docs/site/static/extra.css +++ b/docs/site/static/extra.css @@ -15,3 +15,11 @@ .md-header img { filter: invert(100%) brightness(100%); } + +.md-nav__title { + color: black; +} + +.md-nav__item.md-nav__item--section label span { + color: black; +}