Skip to content

Commit 49ceb7b

Browse files
committed
more styling
1 parent 9925ae5 commit 49ceb7b

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

src/pydata_sphinx_theme/assets/styles/components/_readthedocs-switcher.scss

+13-11
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.rst-versions {
2-
position: static !important;
2+
position: relative !important;
33
bottom: unset;
44
left: unset;
55
width: unset;
@@ -19,12 +19,13 @@
1919
}
2020
&.rst-badge {
2121
// width: auto;
22-
// bottom: 20px;
23-
// right: 20px;
24-
// left: auto;
25-
border-color: var(--pst-color-border);
26-
border-radius: var(--bs-dropdown-border-radius);
27-
border-width: 1px;
22+
bottom: unset !important;
23+
right: unset !important;
24+
left: unset !important;
25+
appearance: button;
26+
border-color: var(--pst-color-border) !important;
27+
border-radius: var(--bs-dropdown-border-radius) !important;
28+
border-width: 1px !important;
2829
// max-width: $nav-desktop-width;
2930
// max-height: 90%;
3031
// .icon-book {
@@ -93,21 +94,22 @@
9394
// font-size: 90%;
9495
// padding: $base-line-height / 2;
9596
// display: none;
97+
color: var(--pst-color-text-muted);
9698
hr {
9799
// display: block;
98100
// height: 1px;
99101
// border: 0;
100102
// margin: 20px 0;
101103
// padding: 0;
102-
border-top: solid 1px var(--pst-color-border);
104+
border-top: solid 1px var(--pst-color-border) !important;
103105
}
104106
dl {
105107
border-top: solid 1px var(--pst-color-border);
106108
}
107109
dd {
108-
border-color: var(--pst-color-border);
109-
border-radius: var(--bs-dropdown-border-radius);
110-
border-width: 1px;
110+
border-color: var(--pst-color-border) !important;
111+
border-radius: var(--bs-dropdown-border-radius) !important;
112+
border-width: 1px !important;
111113
// display: inline-block;
112114
// margin: 0;
113115
a {

0 commit comments

Comments
 (0)