From 2f80e79d6eefc2d5bf795355151e06e9720bd27a Mon Sep 17 00:00:00 2001 From: Revathy Venugopal <104772255+Revathyvenugopal162@users.noreply.github.com> Date: Tue, 25 Oct 2022 17:32:35 +0200 Subject: [PATCH] version switcher syles and config (#140) --- src/ansys_sphinx_theme/static/css/ansys_sphinx_theme.css | 7 ++++++- src/ansys_sphinx_theme/theme.conf | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/ansys_sphinx_theme/static/css/ansys_sphinx_theme.css b/src/ansys_sphinx_theme/static/css/ansys_sphinx_theme.css index 853a3c02..42f2cb3b 100644 --- a/src/ansys_sphinx_theme/static/css/ansys_sphinx_theme.css +++ b/src/ansys_sphinx_theme/static/css/ansys_sphinx_theme.css @@ -696,6 +696,7 @@ b, strong { border-color: #fff; border: 2px solid #898A8D; margin-right: .4rem; + margin-left: .4rem; } #theme-switch:hover { @@ -793,4 +794,8 @@ html[data-theme="dark"] .highlight pre { .bd-toc { padding-top: 5em; -} \ No newline at end of file +} + +#version_switcher_button { + background-color: var(--pst-color-background); +} diff --git a/src/ansys_sphinx_theme/theme.conf b/src/ansys_sphinx_theme/theme.conf index ad2201bb..f7bb8115 100644 --- a/src/ansys_sphinx_theme/theme.conf +++ b/src/ansys_sphinx_theme/theme.conf @@ -10,3 +10,4 @@ show_breadcrumbs = True show_icons = True hidden_icons = additional_breadcrumbs = +switcher =