Fixed and finished the search function

This commit is contained in:
2025-12-31 17:57:57 +00:00
parent 53f1df5e86
commit 1f49db69c9
9 changed files with 360 additions and 214 deletions

View File

@@ -345,3 +345,21 @@ nav {
font-size: 0.85rem;
color: #666;
}
mark {
background: rgba(255, 230, 150, 0.8);
color: inherit;
padding: 0 0.15em;
border-radius: 3px;
}
.search-result {
cursor: pointer;
padding: 0.5em 0.75em;
}
.search-result.active {
background: rgba(0, 0, 0, 0.08);
}
.search-result.active mark {
background: rgba(255, 230, 150, 0.9);
}