From 51af7532095cfe37e35b8b607dccfaba5165ae11 Mon Sep 17 00:00:00 2001 From: lemonchann Date: Sun, 19 Jul 2020 23:00:19 +0800 Subject: [PATCH] updaet: add blog colour change --- _posts/2019-11-22-create_blog_with_github_pages.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/_posts/2019-11-22-create_blog_with_github_pages.md b/_posts/2019-11-22-create_blog_with_github_pages.md index 42961cc..8eaa692 100644 --- a/_posts/2019-11-22-create_blog_with_github_pages.md +++ b/_posts/2019-11-22-create_blog_with_github_pages.md @@ -363,6 +363,20 @@ footer-links: eg. `style="font-family:arial;color:Gainsboro;font-size:10px; text-align:right;width:200px;background-color:gray;` +## 修改博客主题颜色 + +博客使用开源的颜色表[Open Color](https://yeun.github.io/open-color/),博客主题的可选颜色有: + +`red, pink, grape, violet, indigo, blue, cyan, teal, green, lime, yellow` + +修改文件`_sass/_variables.scss`,将文件中当前颜色,比如当前是 `grape` 全部替换成你想要的颜色即可。 + +## 显示文章目录 + +在文章开头信息中心增加 `toc: true` 描述即可打开文章目录显示。效果如下: + +![文章带目录](https://i.loli.net/2020/07/12/TFlRj3kBdpocY9K.png) + ## 如何传图片