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

Commit 4efd3e2

Browse files
authored
Merge pull request #41 from readthedocs/change-highlight-to-span
Change css selectors for highlighting of matched results
2 parents 2c96aa6 + 731a1e3 commit 4efd3e2

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

sphinx_search/static/css/rtd_sphinx_search.css

+4-4
Original file line numberDiff line numberDiff line change
@@ -210,22 +210,22 @@
210210

211211
/* Highlighting of matched results */
212212

213-
.search__outer em {
213+
.search__outer span {
214214
font-style: normal;
215215
}
216216

217-
.search__outer .search__result__title em {
217+
.search__outer .search__result__title span {
218218
background-color: #e5f6ff;
219219
padding-bottom: 3px;
220220
border-bottom-color: black;
221221
}
222222

223-
.search__outer .search__result__content em {
223+
.search__outer .search__result__content span {
224224
background-color: #e5f6ff;
225225
border-bottom: 1px solid black;
226226
}
227227

228-
.search__result__subheading em {
228+
.search__result__subheading span {
229229
border-bottom: 1px solid black;
230230
}
231231

sphinx_search/static/css/rtd_sphinx_search.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)