From ea81cd4b017afacb0ff888fe9f7c1473e835cf01 Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Wed, 17 Jan 2024 22:57:52 +0800 Subject: [PATCH] [opt] style --- layout/_partial/sidebar/index.ejs | 62 ++++++++++++------------ layout/_partial/sidebar/menu.ejs | 8 ++- layout/_partial/widgets/ghissues.ejs | 2 +- layout/_partial/widgets/markdown.ejs | 2 +- layout/_partial/widgets/recent.ejs | 2 +- layout/_partial/widgets/related.ejs | 4 +- layout/_partial/widgets/tagcloud.ejs | 2 +- layout/_partial/widgets/timeline.ejs | 2 +- layout/_partial/widgets/toc.ejs | 2 +- layout/layout.ejs | 2 +- scripts/helpers/category_color.js | 2 +- source/css/_defines/theme.styl | 6 ++- source/css/_layout/sidebar/footer.styl | 21 +------- source/css/_layout/sidebar/menu.styl | 13 ++--- source/css/_layout/sidebar/search.styl | 5 +- source/css/_layout/sidebar/sidebar.styl | 22 +++------ source/css/_layout/widgets/related.styl | 6 +-- source/css/_layout/widgets/timeline.styl | 2 +- source/css/_layout/widgets/toc_wiki.styl | 8 ++- source/css/_layout/widgets/widgets.styl | 8 ++- 20 files changed, 83 insertions(+), 98 deletions(-) diff --git a/layout/_partial/sidebar/index.ejs b/layout/_partial/sidebar/index.ejs index ec9d527..99b2890 100755 --- a/layout/_partial/sidebar/index.ejs +++ b/layout/_partial/sidebar/index.ejs @@ -86,38 +86,38 @@ function layoutWidgets() { return el; } function layoutFooterDiv() { - if (page.layout !== 'wiki' && theme.footer.social) { - var el = '