From 49ceb7bcc82b165749add05961616dfc101c677c Mon Sep 17 00:00:00 2001 From: Daniel McCloy Date: Thu, 3 Aug 2023 10:16:01 -0500 Subject: [PATCH] more styling --- .../components/_readthedocs-switcher.scss | 24 ++++++++++--------- 1 file changed, 13 insertions(+), 11 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 9c3ea89c18..e618314218 100644 --- a/src/pydata_sphinx_theme/assets/styles/components/_readthedocs-switcher.scss +++ b/src/pydata_sphinx_theme/assets/styles/components/_readthedocs-switcher.scss @@ -1,5 +1,5 @@ .rst-versions { - position: static !important; + position: relative !important; bottom: unset; left: unset; width: unset; @@ -19,12 +19,13 @@ } &.rst-badge { // width: auto; - // bottom: 20px; - // right: 20px; - // left: auto; - border-color: var(--pst-color-border); - border-radius: var(--bs-dropdown-border-radius); - border-width: 1px; + bottom: unset !important; + right: unset !important; + left: unset !important; + appearance: button; + border-color: var(--pst-color-border) !important; + border-radius: var(--bs-dropdown-border-radius) !important; + border-width: 1px !important; // max-width: $nav-desktop-width; // max-height: 90%; // .icon-book { @@ -93,21 +94,22 @@ // font-size: 90%; // padding: $base-line-height / 2; // display: none; + color: var(--pst-color-text-muted); hr { // display: block; // height: 1px; // border: 0; // margin: 20px 0; // padding: 0; - border-top: solid 1px var(--pst-color-border); + border-top: solid 1px var(--pst-color-border) !important; } dl { border-top: solid 1px var(--pst-color-border); } dd { - border-color: var(--pst-color-border); - border-radius: var(--bs-dropdown-border-radius); - border-width: 1px; + border-color: var(--pst-color-border) !important; + border-radius: var(--bs-dropdown-border-radius) !important; + border-width: 1px !important; // display: inline-block; // margin: 0; a {