fix: style

This commit is contained in:
reco_luan 2020-03-18 11:36:52 +08:00
parent 748e560cd0
commit e00b8df25d
4 changed files with 2 additions and 7 deletions

View File

@ -120,11 +120,6 @@ export default {
//
shouldShowComments () {
const { isShowComments, home } = this.$frontmatter
console.log(this.isComment, isShowComments, home, !(
this.isComment == false ||
isShowComments == false ||
home == true
))
return !(
this.isComment == false ||
isShowComments == false ||

View File

@ -10,7 +10,7 @@ const modeOptions = {
'--default-color-3': 'rgba(255, 255, 255, .3)',
'--default-color-2': 'rgba(255, 255, 255, .2)',
'--default-color-1': 'rgba(255, 255, 255, .1)',
'--background-color': '#F5F5F5',
'--background-color': '#fff',
'--box-shadow': '0 1px 6px 0 rgba(0, 0, 0, 0.2)',
'--box-shadow-hover': '0 2px 16px 0 rgba(0, 0, 0, 0.2)',
'--text-color': '#242424',

BIN
example/docs/.vuepress/public/head.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 159 KiB

View File

@ -24,7 +24,7 @@ $textShadow = 0 2px 4px $darkColor1;
$borderRadius = .25rem
$lineNumbersWrapperWidth = 2.5rem
$backgroundColor ?= #F5F5F5
$backgroundColor ?= #fff
$backgroundColorDark ?= #181818
$boxShadow = 0 1px 6px 0 $darkColor2