fix: fix search error & add name field in data.json #105 b473d99111

This commit is contained in:
jaywcjlove
2022-11-21 05:57:52 +00:00
parent de9628c851
commit a9c6bcc060
5 changed files with 274 additions and 248 deletions

View File

@ -1234,7 +1234,6 @@ body.search {
height: 100%;
}
#mysearch.show .mysearch-result > * {
width: 50%;
overflow-y: auto;
padding: 0.6rem;
}
@ -1319,12 +1318,24 @@ body.search {
white-space: pre-wrap;
text-decoration: none;
color: var(--color-fg-default);
align-items: center;
justify-content: space-between;
}
#mysearch-menu a > sup {
color: var(--color-fg-subtle);
font-size: 0.7rem;
}
#mysearch-menu a:hover,
#mysearch-menu a.active {
background-color: var(--color-neutral-muted);
border-radius: 0.5rem;
}
#mysearch-menu {
width: 25rem;
}
#mysearch-content {
flex: 1;
}
#mysearch-content ol li div a:hover {
background-color: var(--primary-color);
color: #fff;