From 69a47be4a568fbc94b176eaff22a7824817c567e Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Wed, 31 Jan 2024 22:45:07 +0800 Subject: [PATCH] [opt] style --- _config.yml | 4 +-- .../_partial/main/article/article_footer.ejs | 2 +- layout/_partial/main/footer.ejs | 2 +- layout/_partial/main/navbar/dateinfo.ejs | 2 +- layout/_partial/main/navbar/nav_tabs_blog.ejs | 2 +- layout/_partial/main/navbar/nav_tabs_wiki.ejs | 2 +- scripts/tags/lib/note.js | 2 +- source/css/_common/base.styl | 6 ++-- source/css/_common/device.styl | 2 +- source/css/_common/input.styl | 2 +- source/css/_common/title.styl | 11 ++++--- source/css/_custom.styl | 8 +++-- source/css/_defines/const.styl | 3 +- source/css/_defines/theme.styl | 4 +-- source/css/_layout/layout.styl | 2 +- source/css/_layout/list.styl | 5 +-- source/css/_layout/md.styl | 13 +++++--- source/css/_layout/pages/archives.styl | 6 ++-- .../css/_layout/partial/article-banner.styl | 21 +++++++++--- .../css/_layout/partial/article-footer.styl | 18 ++++++++-- source/css/_layout/partial/cover.styl | 4 +-- source/css/_layout/partial/footer.styl | 4 +-- source/css/_layout/partial/navbar.styl | 3 +- source/css/_layout/partial/related.styl | 8 +++-- source/css/_layout/sidebar/logo.styl | 2 +- source/css/_layout/sidebar/search.styl | 7 ++-- source/css/_layout/tag-plugins/common.styl | 8 ++--- source/css/_layout/tag-plugins/copy.styl | 3 +- source/css/_layout/tag-plugins/folders.styl | 7 ++-- source/css/_layout/tag-plugins/folding.styl | 6 ++-- source/css/_layout/tag-plugins/hashtag.styl | 3 +- source/css/_layout/tag-plugins/image.styl | 2 +- source/css/_layout/tag-plugins/link.styl | 2 +- source/css/_layout/tag-plugins/mark.styl | 2 +- source/css/_layout/tag-plugins/note.styl | 8 +++-- source/css/_layout/tag-plugins/poetry.styl | 10 +++--- source/css/_layout/tag-plugins/quot.styl | 2 +- source/css/_layout/tag-plugins/tabs.styl | 5 +-- source/css/_layout/tag-plugins/timeline.styl | 33 ++++++++++++++----- source/css/_layout/widgets/ghuser.styl | 2 +- source/css/_layout/widgets/markdown.styl | 4 +-- source/css/_layout/widgets/timeline.styl | 2 +- source/css/_layout/widgets/toc_common.styl | 6 +--- source/css/_layout/widgets/toc_wiki.styl | 6 ++-- source/css/_layout/widgets/widgets.styl | 4 +-- source/css/_plugins/swiper.styl | 2 +- source/css/_plugins/tianli_gpt.styl | 4 +-- 47 files changed, 162 insertions(+), 104 deletions(-) diff --git a/_config.yml b/_config.yml index 1bd35b4..3514e6e 100755 --- a/_config.yml +++ b/_config.yml @@ -313,7 +313,7 @@ tag_plugins: max-height: 80vh # {% mark %} mark: - default_color: dark # light, dark, red, orange, yellow, green, cyan, blue, purple, warning, error + default_color: yellow # light, dark, red, orange, yellow, green, cyan, blue, purple, warning, error # {% hashtag %} hashtag: default_color: # red, orange, yellow, green, cyan, blue, purple @@ -485,7 +485,7 @@ style: border-radius: card: 12px block: 12px - bar: 12px + bar: 8px image: 6px color: # 动态颜色(会根据明暗主题重设明度值,只用关心色相和饱和度即可) diff --git a/layout/_partial/main/article/article_footer.ejs b/layout/_partial/main/article/article_footer.ejs index 46e9946..8390bbb 100644 --- a/layout/_partial/main/article/article_footer.ejs +++ b/layout/_partial/main/article/article_footer.ejs @@ -122,7 +122,7 @@ function layoutDiv() { function qrcode() { if (theme.article.share.includes('wechat')) { return ` -