mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-12-27 21:22:23 +00:00
docs: properly theme searchbar on prefers-dark
This commit is contained in:
parent
37dc96575d
commit
0a3855cdc2
1 changed files with 6 additions and 0 deletions
6
docs/static/style.scss
vendored
6
docs/static/style.scss
vendored
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue