From a09c9acc8824e9e43527b93bdbbba017c7586e11 Mon Sep 17 00:00:00 2001 From: Daniel McCloy Date: Sat, 5 Aug 2023 09:57:07 -0500 Subject: [PATCH] more styling tweaks --- .../styles/components/_readthedocs-switcher.scss | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/pydata_sphinx_theme/assets/styles/components/_readthedocs-switcher.scss b/src/pydata_sphinx_theme/assets/styles/components/_readthedocs-switcher.scss index ce5968bd8..d8aeca7c6 100644 --- a/src/pydata_sphinx_theme/assets/styles/components/_readthedocs-switcher.scss +++ b/src/pydata_sphinx_theme/assets/styles/components/_readthedocs-switcher.scss @@ -2,16 +2,17 @@ position: relative !important; font-family: inherit !important; a { - color: var(--pst-color-text-base); + color: var(--pst-color-link) !important; text-decoration: unset; @include link-style-hover; &:hover { + color: var(--pst-color-link-hover); background-color: var(--pst-color-surface); } } &.rst-badge { border-color: var(--pst-color-border) !important; - border-radius: var(--bs-dropdown-border-radius) !important; + border-radius: $admonition-border-radius; border-style: solid !important; border-width: 1px !important; bottom: unset !important; @@ -48,11 +49,15 @@ } dd { border-color: var(--pst-color-border) !important; - border-radius: var(--bs-dropdown-border-radius) !important; + border-radius: $admonition-border-radius !important; + border-style: solid !important; border-width: 1px !important; a { - color: unset; + color: var(--pst-color-text-base) !important; @include link-style-hover; + &:hover { + color: var(--pst-color-link-hover); + } } } }