Site updated: 2024-06-04 23:22:13

This commit is contained in:
SharwOrange橙夜 2024-06-04 23:22:13 +08:00
parent 64e63d4213
commit d10e754759
Signed by: SharwOrange
GPG Key ID: 5507630E4F33F4B1
14 changed files with 140 additions and 53 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -304,20 +304,24 @@ template {
object-fit: cover;
}
.list-beauty,
.category-lists ul {
.category-lists ul,
#algolia-search .search-dialog .ais-Hits-list {
list-style: none;
}
.list-beauty li,
.category-lists ul li {
.category-lists ul li,
#algolia-search .search-dialog .ais-Hits-list li {
position: relative;
padding: 0.12em 0.4em 0.12em 1.4em;
}
.list-beauty li:hover:before,
.category-lists ul li:hover:before {
.category-lists ul li:hover:before,
#algolia-search .search-dialog .ais-Hits-list li:hover:before {
border-color: var(--pseudo-hover);
}
.list-beauty li:before,
.category-lists ul li:before {
.category-lists ul li:before,
#algolia-search .search-dialog .ais-Hits-list li:before {
position: absolute;
top: 0.67em;
left: 0;
@ -6678,3 +6682,86 @@ blockquote.pullquote.right {
display: none;
background: rgba(0,0,0,0.6);
}
#algolia-search .search-dialog .ais-SearchBox input {
padding: 5px 14px;
width: 100%;
outline: none;
border: 2px solid #49b1f5;
border-radius: 40px;
background: var(--search-bg);
color: var(--search-input-color);
}
#algolia-search .search-dialog .ais-Hits-list {
margin: 0;
padding: 0;
}
#algolia-search .search-dialog .ais-Hits-list a {
color: var(--search-a-color);
}
#algolia-search .search-dialog .ais-Hits-list a:hover {
color: #49b1f5;
}
#algolia-search .search-dialog .ais-Hits-list mark {
background: transparent;
color: #f47466;
font-weight: bold;
}
#algolia-search .search-dialog .algolia-hits-item-title {
font-weight: 600;
}
#algolia-search .search-dialog .algolia-hit-item-content {
margin: 0 0 8px;
word-break: break-word;
}
#algolia-search .search-dialog .ais-Pagination {
margin: 15px 0 0;
padding: 0;
text-align: center;
}
#algolia-search .search-dialog .ais-Pagination .ais-Pagination-list {
margin: 0;
padding: 0;
list-style: none;
}
#algolia-search .search-dialog .ais-Pagination .ais-Pagination-item {
display: inline;
margin: 0 4px;
padding: 0;
}
#algolia-search .search-dialog .ais-Pagination .ais-Pagination-item .ais-Pagination-link {
display: inline-block;
min-width: 24px;
height: 24px;
text-align: center;
line-height: 24px;
}
#algolia-search .search-dialog .ais-Pagination .ais-Pagination-item--selected a {
background: #00c4b6;
color: #eee;
cursor: default;
}
#algolia-search .search-dialog .ais-Pagination .ais-Pagination-item--disabled {
visibility: hidden;
}
#algolia-search .search-dialog #algolia-hits > div {
overflow-y: scroll;
margin: 0 -20px;
padding: 0 22px;
max-height: calc(80vh - 240px);
}
@media screen and (max-width: 768px) {
#algolia-search .search-dialog #algolia-hits > div {
max-height: none;
height: calc(var(--search-height) - 265px);
}
}
#algolia-search .search-dialog #algolia-info div {
display: inline;
}
#algolia-search .search-dialog #algolia-info .algolia-poweredBy {
float: right;
vertical-align: text-top;
}
#algolia-search .search-dialog #algolia-info .algolia-poweredBy svg {
height: 1.1em;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long