From a1aa7e037935f15a9d5501c4975e125897f70398 Mon Sep 17 00:00:00 2001 From: ULIVZ <472590061@qq.com> Date: Tue, 7 Aug 2018 23:15:55 +0800 Subject: [PATCH 1/3] chore: wip commit --- docs/.vuepress/config.js | 10 +++++- docs/guide/README.md | 2 +- lib/default-theme/NavLinks.vue | 2 ++ lib/default-theme/Navbar.vue | 55 ++++++++++++++++++++++++++++++--- lib/default-theme/SearchBox.vue | 6 ++-- 5 files changed, 67 insertions(+), 8 deletions(-) diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index 39a63234fb..64012aef91 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -3,7 +3,7 @@ module.exports = { locales: { '/': { lang: 'en-US', - title: 'VuePress', + title: 'VuePress123123', description: 'Vue-powered Static Site Generator' }, '/zh/': { @@ -54,6 +54,14 @@ module.exports = { text: 'Default Theme Config', link: '/default-theme-config/' }, + { + text: 'Default Theme Config', + link: '/default-theme-config/' + }, + { + text: 'Default Theme Config', + link: '/default-theme-config/' + }, { text: 'Changelog', link: 'https://github.com/vuejs/vuepress/blob/master/CHANGELOG.md' diff --git a/docs/guide/README.md b/docs/guide/README.md index 2ab95d5003..5ad2af4fc0 100644 --- a/docs/guide/README.md +++ b/docs/guide/README.md @@ -1,4 +1,4 @@ -# Introduction +# Introduction diff --git a/lib/default-theme/NavLinks.vue b/lib/default-theme/NavLinks.vue index 839bd4d886..4037f2889d 100644 --- a/lib/default-theme/NavLinks.vue +++ b/lib/default-theme/NavLinks.vue @@ -130,6 +130,8 @@ export default { display inline-block margin-left 1.5rem line-height 2rem + &:first-child + margin-left 0 .repo-link margin-left 1.5rem diff --git a/lib/default-theme/Navbar.vue b/lib/default-theme/Navbar.vue index 64e631c418..94ccfc75c7 100644 --- a/lib/default-theme/Navbar.vue +++ b/lib/default-theme/Navbar.vue @@ -13,13 +13,19 @@ :alt="$siteTitle" > {{ $siteTitle }} -