+
-
-
404
-
Seems nothing here.
-
+
+
+
肆零肆
+
儿童急走追黄蝶,飞入菜花无处寻。
+
+
+
Back to home.
-
+
+
+
diff --git a/layouts/Layout.vue b/layouts/Layout.vue
index 8117804..b630697 100644
--- a/layouts/Layout.vue
+++ b/layouts/Layout.vue
@@ -8,32 +8,64 @@
>
{{ $site.title }}
-
-
+
+
+
-
-
-
+
+
+
diff --git a/package.json b/package.json
index 899159a..ea8741b 100644
--- a/package.json
+++ b/package.json
@@ -24,6 +24,7 @@
},
"dependencies": {
"@vuepress/plugin-last-updated": "^1.2.0",
+ "@vuepress/plugin-search": "^1.2.0",
"prismjs": "^1.19.0",
"timeago.js": "^4.0.2"
}
diff --git a/styles/assets/night.svg b/styles/assets/night.svg
new file mode 100644
index 0000000..479a146
--- /dev/null
+++ b/styles/assets/night.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/styles/index.styl b/styles/index.styl
index e3d201a..69e9d0c 100644
--- a/styles/index.styl
+++ b/styles/index.styl
@@ -339,3 +339,36 @@ div[class*='language-']
pre[class*='language-']
padding-left 3.5em
+
+.icon-night
+ position absolute
+ top -30px
+ right 5px
+ width 32px
+ height 32px
+ display inline-block
+ background-image embedurl('./assets/night.svg', 'utf8')
+ background-repeat no-repeat
+ background-position center
+ background-size 100%
+ vertical-align sub
+
+#searchBox
+ input
+ border-color #b3b3b3
+ border none
+ background-color transparent
+ background-position-x 0
+ border-radius 0
+
+ &:focus
+ border-bottom solid 1px #ddd
+
+ ul
+ border-color #ddd
+ z-index 999
+ left 0
+
+ li
+ a
+ color #888