Skip to content

Commit a89b927

Browse files
authored
docs: use dark text color on light mode search bar (#3760)
1 parent 8d01860 commit a89b927

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/overrides/stylesheets/extra.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,14 @@
5252
color: white;
5353
}
5454

55-
/* Search box styling */
56-
.md-search__input {
55+
/* Search box styling in the header */
56+
.md-header .md-search__input {
5757
background-color: rgba(255, 255, 255, 0.15);
5858
border: 1px solid rgba(255, 255, 255, 0.2);
5959
color: white;
6060
}
6161

62-
.md-search__input::placeholder {
62+
.md-header .md-search__input::placeholder {
6363
color: rgba(255, 255, 255, 0.7);
6464
}
6565

0 commit comments

Comments
 (0)