From c47c59af38c23a50c540e871cbc43f1cf81e0d54 Mon Sep 17 00:00:00 2001 From: Jinzhe Zeng Date: Wed, 2 Aug 2023 20:15:55 -0400 Subject: [PATCH 1/3] furo theme --- docs/conf.py | 2 +- docs/requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 660357c..68a6219 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -12,7 +12,7 @@ "sphinx.ext.intersphinx", "numpydoc", ] -html_theme = "sphinx_rtd_theme" +html_theme = "furo" def run_apidoc(_): diff --git a/docs/requirements.txt b/docs/requirements.txt index fe49768..5a16120 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,4 +1,4 @@ -sphinx_rtd_theme +furo . myst_parser docutils >=0.17 From a0a40c0165707b5d8cd04bf1feaefddcad412f43 Mon Sep 17 00:00:00 2001 From: Jinzhe Zeng Date: Mon, 30 Oct 2023 17:52:18 -0400 Subject: [PATCH 2/3] fix background color of nav dropdown item --- deepmodeling_sphinx/banner.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deepmodeling_sphinx/banner.css b/deepmodeling_sphinx/banner.css index 7b7fc06..f93675b 100644 --- a/deepmodeling_sphinx/banner.css +++ b/deepmodeling_sphinx/banner.css @@ -457,7 +457,7 @@ under MIT license font-weight: 400; color: #979797; text-align: center; - background-color: transparent; + background-color: #ffffff; border-bottom: 1px solid #e2e2e2; } @@ -577,6 +577,7 @@ under MIT license } .header-holder .main-menu ul li a.nav-dropdown-item { color: #ffffff; + background-color: #1E1E1E; } .header-holder .main-menu ul li a.nav-dropdown-item .dropdown-title { color: #ffffff; From 16d69cc9bd691e2c6b5b4e9eea7c018182905d57 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 8 Oct 2024 21:06:56 +0000 Subject: [PATCH 3/3] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- deepmodeling_sphinx/banner.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deepmodeling_sphinx/banner.css b/deepmodeling_sphinx/banner.css index e317186..10e6c9b 100644 --- a/deepmodeling_sphinx/banner.css +++ b/deepmodeling_sphinx/banner.css @@ -576,7 +576,7 @@ under MIT license } .header-holder .main-menu ul li a.nav-dropdown-item { color: #ffffff; - background-color: #1E1E1E; + background-color: #1e1e1e; } .header-holder .main-menu ul li a.nav-dropdown-item .dropdown-title { color: #ffffff;