Skip to content

Commit

Permalink
more styling again
Browse files Browse the repository at this point in the history
  • Loading branch information
drammock committed Aug 4, 2023
1 parent de8c3a7 commit 3c85946
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -531,4 +531,4 @@ documentReady(addModeListener);
documentReady(scrollToActive);
documentReady(addTOCInteractivity);
documentReady(setupSearchButtons);
documentReady(initRTDObserver);
// documentReady(initRTDObserver);
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
.rst-versions {
position: relative !important;
bottom: unset;
left: unset;
width: unset;
background: unset;
background-color: var(--pst-color-on-background) !important;
color: var(--pst-color-text-muted);
color: var(--pst-color-text-muted) !important;
font-family: unset !important;
z-index: unset;
a {
background-color: var(--pst-color-on-background);
color: var(--pst-color-text-base);
text-decoration: unset;
@include link-style-hover;
Expand All @@ -20,6 +13,8 @@
&.rst-badge {
// width: auto;
appearance: button;
height: inherit;
max-height: inherit;
border-color: var(--pst-color-border) !important;
border-radius: var(--bs-dropdown-border-radius) !important;
border-width: 1px !important;
Expand All @@ -37,12 +32,16 @@
// }
&.shift-up .rst-current-version {
text-align: unset;
display: inline;
.fa-book {
float: none !important;
}
.icon-book {
float: none;
}
> .rst-current-version {
height: inherit !important;
}
}
// > .rst-current-version {
// width: auto;
Expand All @@ -55,10 +54,10 @@
// display: none;
//}
.rst-current-version {
// padding: $base-line-height / 2;
background-color: var(--bs-btn-bg) !important;
padding: unset !important;
background-color: var(--pst-color-on-background) !important;
text-align: left !important;
font-size: unset;
font-size: unset !important;
color: var(--pst-color-text-base) !important;
// @include clearfix;
// .fa {
Expand Down Expand Up @@ -92,17 +91,21 @@
// font-size: 90%;
// padding: $base-line-height / 2;
// display: none;
color: var(--pst-color-text-muted);
position: absolute;
width: 300px;
color: var(--pst-color-text-muted) !important;
background-color: var(--pst-color-on-background) !important;
hr {
// display: block;
// height: 1px;
// border: 0;
// margin: 20px 0;
// padding: 0;
border: none !important;
border-top: solid 1px var(--pst-color-border) !important;
}
dl {
border-top: solid 1px var(--pst-color-border);
border-top: solid 1px var(--pst-color-border) !important;
}
dd {
border-color: var(--pst-color-border) !important;
Expand Down

0 comments on commit 3c85946

Please sign in to comment.