From 25540b4b8d5b4238bf40746e2372e7d650de584a Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Wed, 7 Nov 2018 10:27:45 +0800 Subject: [PATCH 01/19] button color --- source/less/_article.less | 10 +++++----- source/less/_main.less | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/source/less/_article.less b/source/less/_article.less index 10078f9..74cefc6 100755 --- a/source/less/_article.less +++ b/source/less/_article.less @@ -184,10 +184,9 @@ margin: 0px 2px; vertical-align: center; border-radius: 2px; - border: 1px solid fade(@theme_bg_code, 30%); + border: 1px solid fade(@theme_bg_code, 50%); font-size: @fontsize_base * .8; - - background: fade(@theme_bg_code, 10%); + background: @theme_bg_code; @media(max-width: @on_phone){ font-size: @fontsize_base * .8 * .95; } @@ -210,10 +209,10 @@ border-radius: @border_radius/2; .enable-trans(); &:hover { - background: darken(@theme_bg_navbar, 10%); + background: darken(@theme_bg_quote, 10%); } &:active { - // background: darken(@theme_bg_navbar, 20%); + // background: darken(@theme_bg_quote, 20%); } } @@ -227,6 +226,7 @@ margin-top: @gap; background: darken(fade(@theme_bg_main, 50%), 5%); &.article-tags { + padding-top: 2*@gap; background: transparent; } word-spacing: @gap; diff --git a/source/less/_main.less b/source/less/_main.less index 28d922e..5be9e2a 100755 --- a/source/less/_main.less +++ b/source/less/_main.less @@ -47,10 +47,10 @@ border-radius: @border_radius/2; .enable-trans(); &:hover { - background: darken(@theme_bg_navbar, 10%); + background: darken(@theme_bg_quote, 10%); } &:active { - // background: lighten(@theme_bg_navbar, 20%); + // background: lighten(@theme_bg_quote, 20%); } } blockquote{ From 2d8fb1399f36fb704e92cae841010d97b651ff66 Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Wed, 7 Nov 2018 10:49:21 +0800 Subject: [PATCH 02/19] update --- source/less/_article.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/less/_article.less b/source/less/_article.less index 74cefc6..e99db2c 100755 --- a/source/less/_article.less +++ b/source/less/_article.less @@ -360,7 +360,7 @@ } .gutter{ width: 24px; - padding: 0 @gap/2; + padding: 0 12px; text-align: right; border-width: 0; margin-left: 0; From 9382e0cc60e3dc91bdbbb129d7a5ef82542dd7f5 Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Wed, 7 Nov 2018 12:17:50 +0800 Subject: [PATCH 03/19] fontawesome 5.5.0 --- layout/_partial/head.ejs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/layout/_partial/head.ejs b/layout/_partial/head.ejs index 827e9e1..c766501 100755 --- a/layout/_partial/head.ejs +++ b/layout/_partial/head.ejs @@ -27,7 +27,8 @@ - + + <%- css('style.css') %> diff --git a/layout/_partial/categories.ejs b/layout/_partial/categories.ejs index e8c31fa..d841558 100755 --- a/layout/_partial/categories.ejs +++ b/layout/_partial/categories.ejs @@ -2,10 +2,11 @@ <% var cats = []; post.categories.forEach(function(cat){ - cats.push('' + cat.name + ''); + cats.push('' + cat.name + ''); }); %>
- <%- cats.join(', ') %> + + <%- cats.join(' / ') %>
<% } %> diff --git a/layout/_partial/post.ejs b/layout/_partial/post.ejs index 1648c81..d6d2fe8 100755 --- a/layout/_partial/post.ejs +++ b/layout/_partial/post.ejs @@ -9,7 +9,7 @@ <% } %> -