From d872002ee99e4952a234d47fe29bbd3f52148203 Mon Sep 17 00:00:00 2001 From: Maxime Moraine Date: Mon, 30 Mar 2020 14:26:19 +0200 Subject: [PATCH] style --- docs/.vuepress/config.js | 14 ++++++- docs/.vuepress/theme/components/NavDrawer.vue | 8 ++-- docs/.vuepress/theme/components/Navbar.vue | 2 +- docs/.vuepress/theme/components/Page.vue | 2 +- docs/.vuepress/theme/components/Spell.vue | 8 +--- docs/.vuepress/theme/enhanceApp.js | 9 +++-- docs/.vuepress/theme/layouts/GlobalLayout.vue | 2 +- docs/.vuepress/theme/styles/_anchors.scss | 22 ++++++++++ docs/.vuepress/theme/styles/_colors.scss | 3 ++ docs/.vuepress/theme/styles/main.scss | 10 +++++ docs/.vuepress/theme/styles/wrapper.styl | 9 ----- docs/races/halfelin/README.md | 2 +- package.json | 9 ++++- yarn.lock | 40 ++++++++++++++++++- 14 files changed, 108 insertions(+), 32 deletions(-) create mode 100644 docs/.vuepress/theme/styles/_anchors.scss create mode 100644 docs/.vuepress/theme/styles/_colors.scss create mode 100644 docs/.vuepress/theme/styles/main.scss delete mode 100644 docs/.vuepress/theme/styles/wrapper.styl diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index a768baa..a97952e 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -19,9 +19,21 @@ module.exports = { }, ], } - ] + ], + ['check-md'], ], + markdown: { + anchor: { + permalinkBefore: false, + permalinkSymbol: '' + }, + extendMarkdown: md => { + md.use(require('markdown-it-div')) + } + }, themeConfig: { + primaryColor: '#563f5a', + accentColor: '#9b1c47', searchPlaceholder: 'Recherche', nav: [ { text: 'Home', link: '/' }, diff --git a/docs/.vuepress/theme/components/NavDrawer.vue b/docs/.vuepress/theme/components/NavDrawer.vue index a33634f..313609e 100644 --- a/docs/.vuepress/theme/components/NavDrawer.vue +++ b/docs/.vuepress/theme/components/NavDrawer.vue @@ -14,7 +14,7 @@ -->