diff --git a/_config.yml b/_config.yml index 07caffa..efd9993 100755 --- a/_config.yml +++ b/_config.yml @@ -4,7 +4,7 @@ info: version: '2.4.2' # This is theme's version. docs: https://volantis.js.org/ # This is theme's URL. cdn: # To use CDN, write 'use_cdn: true' in 'blog/_config.yml'. - css: https://cdn.jsdelivr.net/gh/xaoxuu/cdn-volantis@2.4.2.1/css/style.css + css: https://cdn.jsdelivr.net/gh/xaoxuu/cdn-volantis@2.4.2.2/css/style.css js: https://cdn.jsdelivr.net/gh/xaoxuu/cdn-volantis@2.4.2/js/app.js diff --git a/source/css/_highlight/index.styl b/source/css/_highlight/index.styl index c39602f..8c69dd2 100644 --- a/source/css/_highlight/index.styl +++ b/source/css/_highlight/index.styl @@ -136,12 +136,12 @@ $hl-light-blue = #6ECDF9 $hl-red = #EE2B29 $hl-orange = #FB3F1B $hl-amber = #FD8607 - +$hl-text = alpha($color-text, .9) .highlight pre // 行 // line-height: 1.5 .line,.params - color: alpha($color-text, .9) + color: $hl-text .marked background-color: alpha(#FED542, .4) @@ -203,6 +203,7 @@ $hl-amber = #FD8607 .meta-string,.string color: $hl-orange .class + color: $hl-text .title color: $hl-blue .comment diff --git a/source/css/_layout/main.styl b/source/css/_layout/main.styl index 6d630b5..3115d52 100644 --- a/source/css/_layout/main.styl +++ b/source/css/_layout/main.styl @@ -126,7 +126,7 @@ h1 font-weight: normal font-size: $fontsize-h1 - div.meta + section.meta color: $color-meta &#header-meta margin-top: 0