From ae3bfb8a3ed0b997cf510aad44b6b91bfb82ee93 Mon Sep 17 00:00:00 2001 From: ULIVZ <472590061@qq.com> Date: Sun, 30 Sep 2018 01:04:52 +0800 Subject: [PATCH] style: enhance the style of vue container --- .../@vuepress/theme-default/styles/custom-blocks.styl | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/packages/@vuepress/theme-default/styles/custom-blocks.styl b/packages/@vuepress/theme-default/styles/custom-blocks.styl index 830c144403..b383119bd7 100644 --- a/packages/@vuepress/theme-default/styles/custom-blocks.styl +++ b/packages/@vuepress/theme-default/styles/custom-blocks.styl @@ -33,8 +33,14 @@ pre.vue-container border-left-width: .5rem; border-left-style: solid; border-color: #42b983; - code + & > code color: #2c3e50 !important; font-size: 14px !important; & > p - margin: -20px 0; + margin: -5px 0 -20px 0; + code + background-color: darken(#f3f5f7, 10%) !important; + padding: 3px 5px; + border-radius: 10px; + color: lighten(#2c3e50, 10%) !important; +