From 79d873ebee25ffb3a279009625de925bf4697e69 Mon Sep 17 00:00:00 2001 From: Daniel McCloy Date: Sat, 5 Aug 2023 10:46:36 -0500 Subject: [PATCH] final? style tweaks --- .../styles/components/_readthedocs-switcher.scss | 10 ++++++---- 1 file changed, 6 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 d8aeca7c63..d2240d7492 100644 --- a/src/pydata_sphinx_theme/assets/styles/components/_readthedocs-switcher.scss +++ b/src/pydata_sphinx_theme/assets/styles/components/_readthedocs-switcher.scss @@ -3,11 +3,11 @@ font-family: inherit !important; a { color: var(--pst-color-link) !important; - text-decoration: unset; + text-decoration: underline !important; + @include link-decoration; @include link-style-hover; &:hover { - color: var(--pst-color-link-hover); - background-color: var(--pst-color-surface); + color: var(--pst-color-link-hover) !important; } } &.rst-badge { @@ -53,10 +53,12 @@ border-style: solid !important; border-width: 1px !important; a { + text-decoration: none !important; + background-color: var(--pst-color-surface); color: var(--pst-color-text-base) !important; @include link-style-hover; &:hover { - color: var(--pst-color-link-hover); + color: var(--pst-color-link-hover) !important; } } }