mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-06 02:11:33 +00:00
deploy: d6cb4e0973
This commit is contained in:
parent
037ee44b24
commit
79d192ade0
6 changed files with 98 additions and 6 deletions
33
style.css
33
style.css
|
@ -437,10 +437,14 @@ th:last-child {
|
|||
|
||||
dt {
|
||||
margin: 1.2rem 0 0.8rem;
|
||||
content-visibility: auto;
|
||||
contain-intrinsic-size: auto 42px;
|
||||
}
|
||||
|
||||
dd {
|
||||
margin-left: 2rem;
|
||||
content-visibility: auto;
|
||||
contain-intrinsic-size: auto 500px;
|
||||
}
|
||||
|
||||
ul {
|
||||
|
@ -494,6 +498,35 @@ li:last-child {
|
|||
text-decoration: none;
|
||||
}
|
||||
|
||||
#search-bar {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
background: white;
|
||||
padding: 10px;
|
||||
border-bottom: 1px solid #e5e7eb;
|
||||
z-index: 1000;
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
#search-bar {
|
||||
background: #111827;
|
||||
color: #f9fafb;
|
||||
border-bottom: 1px solid black;
|
||||
}
|
||||
}
|
||||
|
||||
#search-input {
|
||||
width: 100%;
|
||||
padding: 8px;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 4px;
|
||||
background: inherit;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
div.titlepage {
|
||||
margin: 40px 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue