mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 17:28:58 +00:00
Merge pull request #6407 from YuriSizov/frontend-remove-search-highlight
Remove search highlights from the page and the history
This commit is contained in:
+10
-1
@@ -1106,12 +1106,21 @@ kbd.compound > .kbd,
|
||||
background-color: var(--navbar-current-background-color-active);
|
||||
}
|
||||
|
||||
/* Hide the obnoxious automatic highlight in search results */
|
||||
/* Hide the obnoxious automatic highlight from the search context. */
|
||||
.rst-content .highlighted {
|
||||
background-color: transparent;
|
||||
box-shadow: none;
|
||||
font-weight: inherit;
|
||||
padding: 0;
|
||||
}
|
||||
/* Still slightly highlight matched parts on the dedicated search results page. */
|
||||
.rst-content #search-results .highlighted {
|
||||
background-color: #ffcd0029;
|
||||
border-radius: 2px;
|
||||
color: var(--body-color);
|
||||
font-weight: 600;
|
||||
padding: 0 3px;
|
||||
}
|
||||
|
||||
/* Allows the scrollbar to be shown in the sidebar */
|
||||
@media only screen and (min-width: 769px) {
|
||||
|
||||
Reference in New Issue
Block a user