From 82684f203c44b4531b2ff9136fc73b0840f1afdb Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Wed, 31 Jan 2024 13:58:56 +0800 Subject: [PATCH] [opt] style --- _config.yml | 2 - .../_partial/main/navbar/article_banner.ejs | 8 ++-- .../_partial/main/navbar/article_top_area.ejs | 2 +- .../_partial/main/navbar/breadcrumb/blog.ejs | 6 --- layout/_partial/main/navbar/dateinfo.ejs | 15 +++++--- source/css/_layout/md.styl | 38 ++++--------------- .../css/_layout/partial/article-banner.styl | 29 ++++++++++++-- source/css/_layout/partial/bread-nav.styl | 18 ++++----- source/css/_layout/sidebar/sidebar.styl | 2 +- source/css/_layout/tag-plugins/banner.styl | 2 +- source/css/_layout/tag-plugins/tabs.styl | 2 +- 11 files changed, 61 insertions(+), 63 deletions(-) diff --git a/_config.yml b/_config.yml index 0be5bbd..1bd35b4 100755 --- a/_config.yml +++ b/_config.yml @@ -499,8 +499,6 @@ style: link: 'hsl(207 90% 54%)' # 超链接颜色 button: 'hsl(192 98% 55%)' # 按钮颜色 hover: 'hsl(14 100% 57%)' # 按钮高亮颜色 - link: - underline: true # true / false animated_avatar: animate: auto # auto, always background: https://gcore.jsdelivr.net/gh/cdn-x/placeholder@1.0.12/avatar/round/rainbow64@3x.webp diff --git a/layout/_partial/main/navbar/article_banner.ejs b/layout/_partial/main/navbar/article_banner.ejs index 6fa4bff..3a24d0c 100644 --- a/layout/_partial/main/navbar/article_banner.ejs +++ b/layout/_partial/main/navbar/article_banner.ejs @@ -32,14 +32,14 @@ function layoutDiv() { if (top.trim().length == 0 && bottom.length == 0) { return `` } + var style = `` var el = `` el += `