Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Change css selectors for highlighting of matched results #41

Merged
merged 1 commit into from
Jul 26, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions sphinx_search/static/css/rtd_sphinx_search.css
Original file line number Diff line number Diff line change
Expand Up @@ -210,22 +210,22 @@

/* Highlighting of matched results */

.search__outer em {
.search__outer span {
font-style: normal;
}

.search__outer .search__result__title em {
.search__outer .search__result__title span {
background-color: #e5f6ff;
padding-bottom: 3px;
border-bottom-color: black;
}

.search__outer .search__result__content em {
.search__outer .search__result__content span {
background-color: #e5f6ff;
border-bottom: 1px solid black;
}

.search__result__subheading em {
.search__result__subheading span {
border-bottom: 1px solid black;
}

Expand Down
2 changes: 1 addition & 1 deletion sphinx_search/static/css/rtd_sphinx_search.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.