From 477c178ca1a3ae7a358bca0fc8adff014e84ced4 Mon Sep 17 00:00:00 2001 From: CoderSherlock Date: Wed, 3 Apr 2024 22:57:15 +0000 Subject: [PATCH] Changed some fonts and fix missing email icon --- _config.yml | 2 +- _includes/author-links.html | 2 +- _includes/head.html | 4 +++ _sass/common/_variables.scss | 6 ++-- _sass/components/_header.scss | 4 +-- _site/404.html | 14 ++++++-- _site/archive.html | 14 ++++++-- _site/assets/css/main.css | 36 +++++++++---------- _site/assets/css/main.css.map | 6 ++-- _site/feed.xml | 2 +- _site/index.html | 14 ++++++-- _site/posts/charles-is-not-a-good-tool.html | 14 ++++++-- ...e-train-on-limited-edge-devices-part2.html | 14 ++++++-- ...w-do-we-train-on-limited-edge-devices.html | 14 ++++++-- ...enerate-word-cloud-with-chinese-fenci.html | 14 ++++++-- _site/posts/intro-xv6.html | 14 ++++++-- .../posts/some-of-my-previews-exper-work.html | 14 ++++++-- _site/posts/welcome-to-my-blog.html | 14 ++++++-- 18 files changed, 153 insertions(+), 49 deletions(-) diff --git a/_config.yml b/_config.yml index 179e932..2f63fb7 100644 --- a/_config.yml +++ b/_config.yml @@ -18,7 +18,7 @@ ############################## text_skin: default # "default" (default), "dark", "forest", "ocean", "chocolate", "orange" highlight_theme: default # "default" (default), "tomorrow", "tomorrow-night", "tomorrow-night-eighties", "tomorrow-night-blue", "tomorrow-night-bright" -url : "https://blog.pengzhan.dev" +url : "https://blog.pengzhan.dev" # https://dev.pengzhan.dev baseurl : "" fakebaseurl: "" # /proxy/4000 title : STSD diff --git a/_includes/author-links.html b/_includes/author-links.html index 5ddc78a..7b306a7 100644 --- a/_includes/author-links.html +++ b/_includes/author-links.html @@ -23,7 +23,7 @@ {%- if _author.email -%}
  • - +
    {%- include svg/icon/social/mail.svg -%}
    {%- endif -%} diff --git a/_includes/head.html b/_includes/head.html index 35a3b19..9d4be7c 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -21,4 +21,8 @@ {%- assign _sources = __return -%} + + {%- include head/custom.html -%} diff --git a/_sass/common/_variables.scss b/_sass/common/_variables.scss index 578d925..2cc6e57 100644 --- a/_sass/common/_variables.scss +++ b/_sass/common/_variables.scss @@ -1,6 +1,6 @@ $base: ( - font-family: ("Lora", "Minion Pro", Palatino, Georgia, serif), - font-header-family: ("Open Sans", Helvetica, "Helvetica Neue", Arial, sans-serif), + font-family: ("Roboto Slab", Lora, "Minion Pro", Palatino, Georgia, serif), + font-header-family: ("Poppins", "ZCOOL XiaoWei", "Open Sans", Helvetica, "Helvetica Neue", Arial, sans-serif), font-family-code: (Menlo, Monaco, Consolas, Andale Mono, lucida console, Courier New, monospace), font-size-root: 16px, @@ -48,7 +48,7 @@ $base: ( font-size-h6-xs: .85rem, font-weight: 400, - font-weight-bold: 700, + font-weight-bold: 600, line-height-xl: 1.8, line-height-lg: 1.6, diff --git a/_sass/components/_header.scss b/_sass/components/_header.scss index 44d108d..c7db6de 100644 --- a/_sass/components/_header.scss +++ b/_sass/components/_header.scss @@ -75,9 +75,9 @@ } & > a { display: inline-block; - font-size: map-get($base, font-size-h4); + font-size: map-get($base, font-size-h3); @include media-breakpoint-down(md) { - font-size: map-get($base, font-size-h4-small); + font-size: map-get($base, font-size-h3-small); } } } diff --git a/_site/404.html b/_site/404.html index 9a0a199..40a8661 100644 --- a/_site/404.html +++ b/_site/404.html @@ -14,7 +14,11 @@ - + + +