Better placeholder contrast for search input (#375)
Increase the contrast of the placeholder text in the search input, so it's actually readable. Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/375 Co-authored-by: Gusted <postmaster@gusted.xyz> Co-committed-by: Gusted <postmaster@gusted.xyz>
This commit is contained in:
parent
f499322a61
commit
1925a19f11
1 changed files with 5 additions and 0 deletions
|
@ -181,3 +181,8 @@ code:not(pre > code) {
|
||||||
.pagefind-modular-list-thumb {
|
.pagefind-modular-list-thumb {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#search-input::placeholder {
|
||||||
|
--lm-input-placeholder-text-color: rgba(0, 0, 0, 0.8);
|
||||||
|
--dm-input-placeholder-text-color: rgba(255,255,255,0.8);
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue