From fc0f82df427017d9d3043fadfa93a94c325459aa Mon Sep 17 00:00:00 2001 From: XPoet Date: Tue, 28 Apr 2020 23:20:17 +0800 Subject: [PATCH] style: optimize modules style --- layout/_partial/article-meta-info.ejs | 2 +- layout/_partial/comments/valine.ejs | 1 + layout/_partial/scripts.ejs | 2 +- layout/_partial/sidebar.ejs | 11 +++++- layout/article-content.ejs | 9 ++++- .../css/layout/_partial/comments/valine.styl | 2 +- source/css/layout/_partial/header.styl | 3 +- .../css/layout/_partial/sidebar-category.styl | 8 +++- source/css/layout/_partial/sidebar-toc.styl | 15 ++++++-- source/css/layout/_partial/sidebar.styl | 20 ++++++---- source/css/layout/_partial/site-info.styl | 17 ++++----- source/css/layout/_partial/tools.styl | 1 + source/css/layout/about.styl | 2 +- source/css/layout/archive-content.styl | 2 +- source/css/layout/article-content.styl | 38 ++++++++++++++++++- source/css/layout/common/animated.styl | 9 ++++- source/css/layout/common/magic-theme.styl | 5 ++- source/css/layout/common/variables.styl | 3 +- source/css/layout/home-content.styl | 2 +- source/css/layout/page.styl | 13 +++---- source/js/header-shrink.js | 9 +++++ 21 files changed, 127 insertions(+), 47 deletions(-) diff --git a/layout/_partial/article-meta-info.ejs b/layout/_partial/article-meta-info.ejs index 2016ea3..b276aeb 100644 --- a/layout/_partial/article-meta-info.ejs +++ b/layout/_partial/article-meta-info.ejs @@ -4,7 +4,7 @@ <% if (articleObject.categories.length) { %> - +