Add search support

Only supports elasticlunr_json
This commit is contained in:
daudix
2024-06-30 02:58:21 +03:00
parent 78b37ef30c
commit 3eaa81e755
15 changed files with 362 additions and 34 deletions

View File

@ -50,7 +50,7 @@ blockquote {
padding: 0 0.75rem;
color: var(--fg-muted-5);
:root[dir="rtl"] & {
:root[dir*="rtl"] & {
border-right: 0.25rem solid var(--primary-color);
border-left: unset;
}
@ -110,7 +110,7 @@ hr {
content: "☙❧";
// An ugly hack to fix mirroring in rtl
:root[dir="rtl"] & {
:root[dir*="rtl"] & {
content: "❧☙";
}
}
@ -133,7 +133,7 @@ aside {
padding: 1rem;
width: 30%;
:root[dir="rtl"] & {
:root[dir*="rtl"] & {
float: left;
}