Skip to content

Commit

Permalink
style: show X and avoid hover issue in dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
thephez committed Jul 18, 2023
1 parent e3915c8 commit bebf1dd
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions _static/css/pydata-overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,14 @@ sphinx search extension interface.
.search__outer .search__result__title span {
border-bottom-color: var(--pst-color-text-base);
}

.search__cross__img {
/* Make sure "X" remains visible */
fill: var(--pst-color-text-base);
}

.outer_div_page_results:hover, .search__result__box .active {
/* Prevent hover from actually changing the color by setting it to what it
already is */
background-color: var(--pst-color-on-background);
}

0 comments on commit bebf1dd

Please sign in to comment.