docs: properly theme searchbar on prefers-dark

This commit is contained in:
raf 2024-12-10 12:46:50 +03:00
parent 37dc96575d
commit 0a3855cdc2
Signed by: NotAShelf
GPG key ID: AF26552424E53993

View file

@ -240,13 +240,19 @@ li {
padding: 10px;
border-bottom: 1px solid #ccc;
z-index: 1000;
@media (prefers-color-scheme: dark) {
background: $color-gray-900;
color: $color-gray-50;
}
}
#search-input {
width: 100%;
padding: 8px;
border: 1px solid #ccc;
border-radius: 4px;
}
.hidden {
display: none;
}