From 3a0bb70b3f202f443cdcf502007d1b846e17a25e Mon Sep 17 00:00:00 2001 From: jo Date: Tue, 1 Aug 2023 11:26:54 +0200 Subject: [PATCH] docs: update hetzner logo --- Makefile | 2 +- docs/_static/custom.css | 8 ++++++++ docs/_static/logo-hetzner-online.svg | 7 ------- docs/_static/logo-hetzner.svg | 28 ++++++++++++++++++++++++++++ docs/conf.py | 4 ++-- 5 files changed, 39 insertions(+), 10 deletions(-) delete mode 100644 docs/_static/logo-hetzner-online.svg create mode 100644 docs/_static/logo-hetzner.svg diff --git a/Makefile b/Makefile index a1cb1a3b..338c547f 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,7 @@ docs: venv docs-dev: venv docs venv/bin/watchmedo shell-command \ - --patterns="*.py;*.rst;*.md" \ + --patterns="*.py;*.rst;*.md;*.css" \ --ignore-pattern=".git/*" \ --recursive \ --drop \ diff --git a/docs/_static/custom.css b/docs/_static/custom.css index 8291c26a..339b9cce 100644 --- a/docs/_static/custom.css +++ b/docs/_static/custom.css @@ -2,3 +2,11 @@ /* Version in Nav is off-white by default, but we restyle the header to have an off-white bg */ color: #404040; } + +.wy-side-nav-search input[type="text"] { + border-color: #404040; +} + +.logo { + margin: 1rem !important; +} diff --git a/docs/_static/logo-hetzner-online.svg b/docs/_static/logo-hetzner-online.svg deleted file mode 100644 index 3c99ccd6..00000000 --- a/docs/_static/logo-hetzner-online.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - diff --git a/docs/_static/logo-hetzner.svg b/docs/_static/logo-hetzner.svg new file mode 100644 index 00000000..95c2e8cc --- /dev/null +++ b/docs/_static/logo-hetzner.svg @@ -0,0 +1,28 @@ + + + + + Element 1 + + + + + + diff --git a/docs/conf.py b/docs/conf.py index 4da293ea..b3be9a7f 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -48,13 +48,13 @@ html_theme = "sphinx_rtd_theme" html_static_path = ["_static"] -html_logo = "_static/logo-hetzner-online.svg" +html_logo = "_static/logo-hetzner.svg" html_favicon = "_static/favicon.png" # Theme options are theme-specific and customize the look and feel of a theme further. # For a list of options available for each theme, see the documentation. html_theme_options = { "logo_only": True, - "style_nav_header_background": "#efefef", + "style_nav_header_background": "#fff", } html_css_files = [ "custom.css",