From 46274757cc22a18ec0c972f077571b41c9dca55b Mon Sep 17 00:00:00 2001 From: Mimi <1119186082@qq.com> Date: Fri, 15 May 2020 00:17:05 +0800 Subject: [PATCH] Code style update --- .../css/_common/components/pages/tag-cloud.styl | 4 ++-- source/css/_variables/base.styl | 16 ++++------------ 2 files changed, 6 insertions(+), 14 deletions(-) diff --git a/source/css/_common/components/pages/tag-cloud.styl b/source/css/_common/components/pages/tag-cloud.styl index b8fbabc..6079545 100644 --- a/source/css/_common/components/pages/tag-cloud.styl +++ b/source/css/_common/components/pages/tag-cloud.styl @@ -10,7 +10,7 @@ for $tag-cloud in (0 .. 10) { $tag-cloud-color = mix($tag-cloud-end, $tag-cloud-start, $tag-cloud * 10); .tag-cloud-{$tag-cloud} { - border-bottom: 1px solid $tag-cloud-color; + border-bottom-color: $tag-cloud-color; color: $tag-cloud-color; } } @@ -20,7 +20,7 @@ if (hexo-config('darkmode')) { for $tag-cloud in (0 .. 10) { $tag-cloud-color = mix($tag-cloud-end-dark, $tag-cloud-start-dark, $tag-cloud * 10); .tag-cloud-{$tag-cloud} { - border-bottom: 1px solid $tag-cloud-color; + border-bottom-color: $tag-cloud-color; color: $tag-cloud-color; } } diff --git a/source/css/_variables/base.styl b/source/css/_variables/base.styl index 9c102e5..2ed2fa6 100644 --- a/source/css/_variables/base.styl +++ b/source/css/_variables/base.styl @@ -135,13 +135,13 @@ $code-font-family = $font-family-monospace; $code-background = $gainsboro; $code-foreground = $black-light; -$highlight-background = convert(hexo-config('highlight.light.background')); -$highlight-foreground = convert(hexo-config('highlight.light.foreground')); +$highlight-background = convert(hexo-config('highlight.light.background')); +$highlight-foreground = convert(hexo-config('highlight.light.foreground')); $highlight-gutter-background = mix($highlight-background, $highlight-foreground, 90%); $highlight-gutter-foreground = mix($highlight-background, $highlight-foreground, 10%); -$highlight-background-dark = convert(hexo-config('highlight.dark.background')); -$highlight-foreground-dark = convert(hexo-config('highlight.dark.foreground')); +$highlight-background-dark = convert(hexo-config('highlight.dark.background')); +$highlight-foreground-dark = convert(hexo-config('highlight.dark.foreground')); $highlight-gutter-background-dark = mix($highlight-background-dark, $highlight-foreground-dark, 90%); $highlight-gutter-foreground-dark = mix($highlight-background-dark, $highlight-foreground-dark, 10%); @@ -276,14 +276,6 @@ $post-eof-margin-top = 80px; // or 160px for more white space; $post-eof-margin-bottom = 60px; // or 120px for less white space; -// Iconography -// Icons SVG Base64 -// -------------------------------------------------- -// blockquote-center icon -$center-quote-left = '../images/quote-l.svg'; -$center-quote-right = '../images/quote-r.svg'; - - // Note colors // -------------------------------------------------- // Read note light_bg_offset from NexT config and set in "$lbg%" to use it as string variable.