diff --git a/_config.yml b/_config.yml index 688af6d..ff8d992 100644 --- a/_config.yml +++ b/_config.yml @@ -27,7 +27,7 @@ style: left_side_width: 260px # Content area max width - content_max_width: 900px + content_max_width: 920px # Mouse hover hover: @@ -67,6 +67,7 @@ menu: # Tags: /tags # Links: /links # About: /about + # Changelog: /changelog # ...... @@ -97,17 +98,17 @@ toc: enable: false # Automatically add list number to toc. - number: true + number: false # If true, all level of TOC in a post will be displayed, rather than the activated part of it. - expand_all: true + expand_all: false # --------------------------------------------------------------------------------------- # Post copyright info # --------------------------------------------------------------------------------------- copyright_info: - enable: true + enable: false # --------------------------------------------------------------------------------------- diff --git a/source/css/layout/article-content.styl b/source/css/layout/article-content.styl index e81c6a5..7af6e2b 100644 --- a/source/css/layout/article-content.styl +++ b/source/css/layout/article-content.styl @@ -44,6 +44,7 @@ $article-title-font-size = 1.6rem; border-radius: 50%; width: 100%; height: 100%; + background: var(--avatar-background-color); } } diff --git a/source/css/layout/common/variables.styl b/source/css/layout/common/variables.styl index 4e6d1ac..7254687 100644 --- a/source/css/layout/common/variables.styl +++ b/source/css/layout/common/variables.styl @@ -71,6 +71,7 @@ $scroll-bar-color = lighten($default-text-color, 20%); $scroll-bar-bg-color = darken($background-color, 10%); $link-color = darken($default-text-color, 10%); $copyright-info-color = #CC0033; +$avatar-background-color = #0066CC; // ====================== dark mode color ====================== $dark-primary-color = $primary-color; @@ -89,6 +90,7 @@ $dark-scroll-bar-color = darken($dark-background-color, 30%); $dark-scroll-bar-bg-color = lighten($dark-background-color, 10%); $dark-link-color = lighten($dark-default-text-color, 10%); $dark-copyright-info-color = darken($copyright-info-color, 20%); +$dark-avatar-background-color = darken($avatar-background-color, 20%); // ======================================================================== // font @@ -119,6 +121,7 @@ root-color(mode) { --scroll-bar-bg-color: mode == 'light' ? $scroll-bar-bg-color : $dark-scroll-bar-bg-color; --link-color: mode == 'light' ? $link-color : $dark-link-color; --copyright-info-color: mode == 'light' ? $copyright-info-color : $dark-copyright-info-color; + --avatar-background-color: mode == 'light' ? $avatar-background-color : $dark-avatar-background-color; } diff --git a/source/images/avatar.png b/source/images/avatar.png deleted file mode 100644 index fd924bd..0000000 Binary files a/source/images/avatar.png and /dev/null differ diff --git a/source/images/avatar.svg b/source/images/avatar.svg new file mode 100644 index 0000000..cfe6832 --- /dev/null +++ b/source/images/avatar.svg @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/source/images/logo.svg b/source/images/logo.svg index ab6f4d4..9933ffc 100644 --- a/source/images/logo.svg +++ b/source/images/logo.svg @@ -1,4 +1,4 @@ - + @@ -29,16 +29,13 @@ - - - + + +