Skip to content

Commit a09c9ac

Browse files
committed
more styling tweaks
1 parent 1a91a4c commit a09c9ac

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

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

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,17 @@
22
position: relative !important;
33
font-family: inherit !important;
44
a {
5-
color: var(--pst-color-text-base);
5+
color: var(--pst-color-link) !important;
66
text-decoration: unset;
77
@include link-style-hover;
88
&:hover {
9+
color: var(--pst-color-link-hover);
910
background-color: var(--pst-color-surface);
1011
}
1112
}
1213
&.rst-badge {
1314
border-color: var(--pst-color-border) !important;
14-
border-radius: var(--bs-dropdown-border-radius) !important;
15+
border-radius: $admonition-border-radius;
1516
border-style: solid !important;
1617
border-width: 1px !important;
1718
bottom: unset !important;
@@ -48,11 +49,15 @@
4849
}
4950
dd {
5051
border-color: var(--pst-color-border) !important;
51-
border-radius: var(--bs-dropdown-border-radius) !important;
52+
border-radius: $admonition-border-radius !important;
53+
border-style: solid !important;
5254
border-width: 1px !important;
5355
a {
54-
color: unset;
56+
color: var(--pst-color-text-base) !important;
5557
@include link-style-hover;
58+
&:hover {
59+
color: var(--pst-color-link-hover);
60+
}
5661
}
5762
}
5863
}

0 commit comments

Comments
 (0)