Add site search powered by Fuse.js

This commit is contained in:
James Panther
2022-01-13 15:56:30 +11:00
parent e9c8a4a049
commit adaa7b757e
29 changed files with 1169 additions and 457 deletions
+8
View File
@@ -14,6 +14,14 @@ body button {
width: 1em;
}
/* Search */
#search-query::-webkit-search-cancel-button,
#search-query::-webkit-search-decoration,
#search-query::-webkit-search-results-button,
#search-query::-webkit-search-results-decoration {
@apply hidden;
}
/* Heading anchors */
.prose .heading-anchor {
@apply absolute top-0 no-underline opacity-0;