mirror of
https://github.com/laughmaker/Zen.git
synced 2026-07-22 04:00:31 +00:00
添加隐藏大纲下的虚线
This commit is contained in:
parent
af41ac989a
commit
4ce0cb7592
1 changed files with 18 additions and 0 deletions
18
theme.css
18
theme.css
|
|
@ -45,6 +45,13 @@ settings:
|
|||
description: Hide the h1...h2... and other small title prompts in front of headings at all levels.
|
||||
description.zh: 隐藏各级标题前面的 h1...h2...等小标题提示
|
||||
type: class-toggle
|
||||
-
|
||||
id: heading-bottom-line-off
|
||||
title: Hide the Heading bottom line in the editor.
|
||||
title.zh: 隐藏编辑器中各级标题下的虚线
|
||||
description: Hide the h1...h2... and other small title bottom line in headings at all levels.
|
||||
description.zh: 隐藏各级标题前面的 h1...h2...等小标题下的线虚
|
||||
type: class-toggle
|
||||
-
|
||||
id: window-font-size
|
||||
title: Adjust the font of the Window.
|
||||
|
|
@ -645,6 +652,9 @@ hr {
|
|||
padding-inline-start: 0 !important;
|
||||
padding-top: 5px !important;
|
||||
/* padding-bottom: 5px !important; */
|
||||
}
|
||||
|
||||
body:not(.heading-bottom-line-off) .cm-s-obsidian .HyperMD-header {
|
||||
border-bottom: dashed 0.5px;
|
||||
}
|
||||
|
||||
|
|
@ -1033,6 +1043,14 @@ li {
|
|||
.markdown-rendered h6 {
|
||||
margin: 5px 0 !important;
|
||||
padding: 5px 0;
|
||||
}
|
||||
|
||||
body:not(.heading-bottom-line-off) .markdown-rendered h1,
|
||||
body:not(.heading-bottom-line-off) .markdown-rendered h2,
|
||||
body:not(.heading-bottom-line-off) .markdown-rendered h3,
|
||||
body:not(.heading-bottom-line-off) .markdown-rendered h4,
|
||||
body:not(.heading-bottom-line-off) .markdown-rendered h5,
|
||||
body:not(.heading-bottom-line-off) .markdown-rendered h6 {
|
||||
border-bottom: dashed 0.5px;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue