feat(search): add local search (#231)

* feat(search): add local search

* docs: add docs for search
This commit is contained in:
Dillon
2020-04-15 15:46:50 +08:00
committed by GitHub
parent b6ce753ae7
commit 90184ca3e7
92 changed files with 4843 additions and 1214 deletions

View File

@@ -11,16 +11,16 @@
}
@media only screen and (max-width: 960px) {
#toc-auto {
display: none;
}
#toc-static {
display: block;
}
.page {
max-width: 80%;
#toc-auto {
display: none;
}
#toc-static {
display: block;
}
}
}
@@ -33,6 +33,10 @@
display: block;
}
body.blur {
overflow: hidden;
}
.page {
max-width: 100%;
padding-top: $page-padding-top-mobile;