fix: style
This commit is contained in:
parent
748e560cd0
commit
e00b8df25d
@ -120,11 +120,6 @@ export default {
|
|||||||
// 是否显示评论
|
// 是否显示评论
|
||||||
shouldShowComments () {
|
shouldShowComments () {
|
||||||
const { isShowComments, home } = this.$frontmatter
|
const { isShowComments, home } = this.$frontmatter
|
||||||
console.log(this.isComment, isShowComments, home, !(
|
|
||||||
this.isComment == false ||
|
|
||||||
isShowComments == false ||
|
|
||||||
home == true
|
|
||||||
))
|
|
||||||
return !(
|
return !(
|
||||||
this.isComment == false ||
|
this.isComment == false ||
|
||||||
isShowComments == false ||
|
isShowComments == false ||
|
||||||
|
@ -10,7 +10,7 @@ const modeOptions = {
|
|||||||
'--default-color-3': 'rgba(255, 255, 255, .3)',
|
'--default-color-3': 'rgba(255, 255, 255, .3)',
|
||||||
'--default-color-2': 'rgba(255, 255, 255, .2)',
|
'--default-color-2': 'rgba(255, 255, 255, .2)',
|
||||||
'--default-color-1': 'rgba(255, 255, 255, .1)',
|
'--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': '0 1px 6px 0 rgba(0, 0, 0, 0.2)',
|
||||||
'--box-shadow-hover': '0 2px 16px 0 rgba(0, 0, 0, 0.2)',
|
'--box-shadow-hover': '0 2px 16px 0 rgba(0, 0, 0, 0.2)',
|
||||||
'--text-color': '#242424',
|
'--text-color': '#242424',
|
||||||
|
BIN
example/docs/.vuepress/public/head.png
Executable file → Normal file
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 |
@ -24,7 +24,7 @@ $textShadow = 0 2px 4px $darkColor1;
|
|||||||
$borderRadius = .25rem
|
$borderRadius = .25rem
|
||||||
$lineNumbersWrapperWidth = 2.5rem
|
$lineNumbersWrapperWidth = 2.5rem
|
||||||
|
|
||||||
$backgroundColor ?= #F5F5F5
|
$backgroundColor ?= #fff
|
||||||
$backgroundColorDark ?= #181818
|
$backgroundColorDark ?= #181818
|
||||||
|
|
||||||
$boxShadow = 0 1px 6px 0 $darkColor2
|
$boxShadow = 0 1px 6px 0 $darkColor2
|
||||||
|
Loading…
Reference in New Issue
Block a user