From 3e94801bc523a0a9acd1c3075dcbaf589e1fda74 Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Thu, 8 Jul 2021 20:23:27 +0800 Subject: [PATCH] css --- layout/_partial/sidebar/logo.ejs | 1 - source/css/_layout/tag-plugins/note.styl | 4 ++++ source/css/_layout/tag-plugins/tabs.styl | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/layout/_partial/sidebar/logo.ejs b/layout/_partial/sidebar/logo.ejs index 80b59b1..f4de745 100644 --- a/layout/_partial/sidebar/logo.ejs +++ b/layout/_partial/sidebar/logo.ejs @@ -9,7 +9,6 @@ function layoutTitle(main, url, sub) { el += '
' + main + '
'; if (sub) { let arr = sub.split('|'); - console.log(arr); if (arr.length > 1) { el += '
' + arr[0].trim() + '
'; el += '
' + arr[1].trim() + '
'; diff --git a/source/css/_layout/tag-plugins/note.styl b/source/css/_layout/tag-plugins/note.styl index 90e6f62..a1c0013 100644 --- a/source/css/_layout/tag-plugins/note.styl +++ b/source/css/_layout/tag-plugins/note.styl @@ -14,3 +14,7 @@ margin-bottom: 0.5rem div.body inside-box: $fs-14 + +.md div.note:not([color]) + .highlight + background: var(--block-hover) diff --git a/source/css/_layout/tag-plugins/tabs.styl b/source/css/_layout/tag-plugins/tabs.styl index 7852d72..9f674b0 100644 --- a/source/css/_layout/tag-plugins/tabs.styl +++ b/source/css/_layout/tag-plugins/tabs.styl @@ -72,3 +72,5 @@ $tbr = $border-block border-radius: 0 background: transparent margin: 0 + .code:before + content: none