From cd14f1e39b37842aec73448483a76588dc9970be Mon Sep 17 00:00:00 2001 From: Filipe Linhares Date: Wed, 19 Feb 2014 08:32:09 -0300 Subject: [PATCH] Add search --- package.json | 2 +- themes/vue/layout/partials/header.ejs | 8 ++++++++ themes/vue/source/css/page.styl | 10 ++++++++++ 3 files changed, 19 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index e7f3280aaf..7e2012fbc8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hexo", - "version": "2.4.2", + "version": "2.4.5", "private": true, "dependencies": {} } \ No newline at end of file diff --git a/themes/vue/layout/partials/header.ejs b/themes/vue/layout/partials/header.ejs index e57e384774..6a5ae2b8f9 100644 --- a/themes/vue/layout/partials/header.ejs +++ b/themes/vue/layout/partials/header.ejs @@ -8,5 +8,13 @@
  • API Reference
  • Examples
  • GitHub
  • +
  • + +
  • \ No newline at end of file diff --git a/themes/vue/source/css/page.styl b/themes/vue/source/css/page.styl index 679e11e504..48791304f9 100644 --- a/themes/vue/source/css/page.styl +++ b/themes/vue/source/css/page.styl @@ -27,6 +27,16 @@ $header-height = 40px &:hover, &.current border-bottom 3px solid $green +.search-input + font-size .75em + border 1px solid #ccc + padding 4px 8px + border-radius 2px + font-family $body-font + &:focus + outline none + border-color $green + #logo display inline-block font-size 1.25em