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

@ -11,7 +11,7 @@
h3 {
margin-right: 8rem;
:root[dir="rtl"] & {
:root[dir*="rtl"] & {
margin-right: unset;
margin-left: 8rem;
}
@ -69,7 +69,7 @@
height: 12rem;
content: "";
:root[dir="rtl"] & {
:root[dir*="rtl"] & {
right: unset;
left: -3rem;
transform: translateY(-50%) rotate(10deg);
@ -97,7 +97,7 @@
top: 1rem;
right: 1rem;
:root[dir="rtl"] & {
:root[dir*="rtl"] & {
right: unset;
left: 0.5rem;
}
@ -108,7 +108,7 @@
color: var(--faves-fg);
}
:root[dir="rtl"] & {
:root[dir*="rtl"] & {
border-top-right-radius: var(--rounded-corner);
border-top-left-radius: 2.125rem;
@ -136,7 +136,7 @@
height: 1rem;
}
:root[dir="rtl"] & {
:root[dir*="rtl"] & {
right: unset;
left: 0;
}