<%- item.title %>
+ diff --git a/layout/_widget/category.ejs b/layout/_widget/category.ejs index 1c3e21c..e239514 100755 --- a/layout/_widget/category.ejs +++ b/layout/_widget/category.ejs @@ -1,7 +1,12 @@ <% if (site.categories.length){ %> --
- <% site.categories.sort('name').each(function(category){ %>
-
- <%- category.name %>(共<%- category.posts.length %>篇)
- <% }) %>
-
-
- <% (item.rows||[]).forEach(function(row){ %>
-
-
- - <% if(row.img) { %> - - <% } else if(row.avatar) { %> - - <% } else { %> - - <% } %> - <%- row.name %> -- <% if(row.desc) { %> -(<%- row.desc %>)- <% } %> -
- <% }) %>
-
-<%- partial('_partial/comments') %> +<%- partial('_third-party/comments') %> diff --git a/source/less/_color.less b/source/less/_color.less index 4739f13..80dc6df 100755 --- a/source/less/_color.less +++ b/source/less/_color.less @@ -1,11 +1,12 @@ // 如果你只想简单地换个风格,可以只改这里的几项: // 网页背景颜色 -@theme_background: #efefef; // 暗色主题示例:#454545; +@theme_background: #EFEFEF; +// @theme_background: #454545; // 暗色主题 // 主题色 @theme_main: #1BC3FB; // 卡片背景颜色 -@theme_cardbg: white; // 暗色主题示例:#555; - +@theme_cardbg: white; +// @theme_cardbg: #555; // 暗色主题 @@ -34,4 +35,5 @@ // 在主题色中显示的文本(一般为白或深灰) @color_text_in_header: white; // 正文文字颜色 -@color_text_main: @dark; // 暗色主题示例:white; +@color_text_main: @dark; +// @color_text_main: white; // 暗色主题 diff --git a/source/less/_header.less b/source/less/_header.less index 32e2078..9509219 100755 --- a/source/less/_header.less +++ b/source/less/_header.less @@ -91,12 +91,12 @@ padding: 0 8px; &:hover{ color: @color_text_in_header; - border-bottom: 4px solid @theme_cardbg; + border-bottom: @loading_height solid @theme_cardbg; background: fade(@theme_cardbg, 10%); } &:active,&.active{ color: @color_text_in_header; - border-bottom: 4px solid @theme_cardbg; + border-bottom: @loading_height solid @theme_cardbg; } } @media(max-width: @on_phone){ diff --git a/source/less/_main.less b/source/less/_main.less index 4e26127..9482790 100755 --- a/source/less/_main.less +++ b/source/less/_main.less @@ -148,10 +148,7 @@ margin: 8px 8px 0 8px; .emoji{ height: 24px; - // &.aru{ - // height: 18px; - // margin-top: 3px; - // } + margin-top: 6px; } } } diff --git a/source/less/_widget.less b/source/less/_widget.less index a0e4484..10d4107 100755 --- a/source/less/_widget.less +++ b/source/less/_widget.less @@ -247,7 +247,7 @@ text-align: justify; padding: @gap/2 @gap; &.pure{ - padding-top: 0; // 适合白色导航栏背景 + padding: 0 @gap @gap @gap; // 适合白色导航栏背景 } a{ display:inline-block;