From 0d09c57a94d92824acd2c6a1b47095fef35ed6bf Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Mon, 3 Sep 2018 23:05:20 +0800 Subject: [PATCH] update --- README.md | 17 +++++++---------- layout/_partial/footer.ejs | 2 +- layout/_partial/header.ejs | 6 +++--- layout/_widget/links.ejs | 11 +++++++++-- layout/_widget/music.ejs | 2 +- source/less/_article.less | 22 +++++++++++----------- source/less/_base.less | 16 +++++++++------- source/less/_defines.less | 18 +++++++----------- source/less/_footer.less | 2 +- source/less/_header.less | 9 +++------ source/less/_main.less | 21 ++++++++++++++++----- source/less/_toc.less | 4 ++-- source/less/_widget.less | 6 +++--- 13 files changed, 73 insertions(+), 63 deletions(-) diff --git a/README.md b/README.md index b750e87..037c659 100755 --- a/README.md +++ b/README.md @@ -368,13 +368,12 @@ mathjax: true 调整这些字体的顺序: ```yaml -@fallback-font-family: Menlo, Monaco, 'Ubuntu', Helvetica, "Hiragino Sans GB", "Hiragino Sans GB W3", Source Han Sans CN Regular, WenQuanYi Micro Hei, "Microsoft YaHei", Arial, sans-serif; // 大部分文字字体 -@base-font-family: 'Ubuntu', Menlo, Monaco, @fallback-font-family; +@fontfamily_base: 'Ubuntu', Menlo, Monaco, Helvetica, "Hiragino Sans GB", "Hiragino Sans GB W3", Source Han Sans CN Regular, WenQuanYi Micro Hei, "Microsoft YaHei", Arial, sans-serif; // 代码字体 -@code-font-family: Menlo, Monaco, 'Ubuntu', Helvetica, Consolas, monospace, sans-serif, @fallback-font-family; -// 标题字体 -@title-font-family: 'Ubuntu', Menlo, Monaco, Helvetica, Consolas, monospace, sans-serif, @fallback-font-family; +@fontfamily_code: Menlo, Monaco, @fontfamily_base; +// LOGO字体 +@fontfamily_logo: @fontfamily_base; ``` 默认的字体 `Ubuntu` 使用的是GoogleFontsAPI: @@ -473,13 +472,11 @@ mathjax: true // 卡片背景 @theme-bg-card: white; // 卡片标题栏背景 -@theme-bg-card-header: darken(@theme-base-main, 4%); -// 按钮背景 -@theme-bg-button: @theme-base-main; +@theme-bg-card-header: @theme-bg-nav-header; // 代码的背景色 -@theme-bg-code: @theme-base-tint; +@theme-bg-code: fade(@mac-maximize, 6%); // 代码块的背景色 -@theme-bg-code-block: fade(@theme-base-main, 70%); +@theme-bg-code-block: @theme-bg-code; // 引用的颜色以及分类、归档的 hover 时颜色 @theme-bg-quote: @theme-base-tint; // 文字颜色 ---------------- diff --git a/layout/_partial/footer.ejs b/layout/_partial/footer.ejs index ee3c4fe..be1ea9c 100755 --- a/layout/_partial/footer.ejs +++ b/layout/_partial/footer.ejs @@ -10,7 +10,7 @@ <%}%>
博客内容遵循 知识共享 署名 - 非商业性 - 相同方式共享 4.0 国际协议
-
本站使用 Material-X 作为主题, +
本站使用 Material X 作为主题, 总访问量为 次。
diff --git a/layout/_partial/header.ejs b/layout/_partial/header.ejs index 029bd54..c0c7a3c 100755 --- a/layout/_partial/header.ejs +++ b/layout/_partial/header.ejs @@ -8,11 +8,11 @@