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:
Gusted 2023-12-01 22:26:53 +00:00 committed by Panagiotis "Ivory" Vasilopoulos
parent f499322a61
commit 1925a19f11

View file

@ -181,3 +181,8 @@ code:not(pre > code) {
.pagefind-modular-list-thumb {
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);
}