From ae76dbf9341157162c7cadb6eccdd8359f2885b3 Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Sat, 17 Dec 2022 01:38:10 +0800 Subject: [PATCH] [opt] css --- source/css/_layout/tag-plugins/note.styl | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/source/css/_layout/tag-plugins/note.styl b/source/css/_layout/tag-plugins/note.styl index 3c49b88..e2f2721 100644 --- a/source/css/_layout/tag-plugins/note.styl +++ b/source/css/_layout/tag-plugins/note.styl @@ -53,5 +53,21 @@ iframe margin: 0 +.md-text .tag-plugin.note blockquote + border-top-left-radius: 0 + border-bottom-left-radius: 0 + background: none + padding-top: 0 + padding-bottom: 0 +.md-text .tag-plugin.note table:not([class]) + th + background: var(--block-hover) + td,th + border-color: var(--block-border) + tr + &:hover + background: var(--block-hover) + + .md-text .tag-plugin .tag-plugin.note --gap-p: 1rem