mirror of
https://github.com/laughmaker/Zen.git
synced 2026-07-22 04:00:31 +00:00
优化列表下面的纯文本显示
This commit is contained in:
parent
56e157a003
commit
4dd0ac5c0a
1 changed files with 12 additions and 2 deletions
14
theme.css
14
theme.css
|
|
@ -99,7 +99,7 @@ settings:
|
|||
description: Adjust the height of the text line.
|
||||
description.zh: 调整文本行高。
|
||||
type: variable-number-slider
|
||||
default: 30
|
||||
default: 32
|
||||
min: 20
|
||||
max: 40
|
||||
step: 1
|
||||
|
|
@ -253,7 +253,7 @@ body {
|
|||
--input-radius: 14px;
|
||||
--callout-content-padding: 4px;
|
||||
--text-paragraph-gap: 3.2px;
|
||||
--text-line-height: 30px;
|
||||
--text-line-height: 32px;
|
||||
--window-brightness: 1;
|
||||
--editor-brightness: 1;
|
||||
}
|
||||
|
|
@ -812,6 +812,12 @@ body:not(.heading-bottom-line-off) .cm-s-obsidian .HyperMD-header {
|
|||
/* margin-bottom: 10px !important; */
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.markdown-source-view.mod-cm6 .cm-line:not(.HyperMD-list-line):not(.HyperMD-header):not(:has(.cm-hashtag.cm-meta)):has(.cm-list-1) {
|
||||
transform: translateX(-7px);
|
||||
|
||||
}
|
||||
|
||||
/* 标题下空一行 */
|
||||
.cm-s-obsidian .cm-line.HyperMD-header + .cm-line:not(.HyperMD-header):not(:has(>br:only-child)) {
|
||||
padding-top: var(--p-spacing);
|
||||
|
|
@ -1028,6 +1034,10 @@ body:not(.is-phone) .workspace-leaf.mod-active .tree-item-self.has-focus {
|
|||
margin-inline-start: 5px !important;
|
||||
}
|
||||
|
||||
.markdown-source-view.mod-cm6 .cm-line:not(.HyperMD-list-line):not(.HyperMD-header):not(:has(.cm-hashtag.cm-meta)) .cm-indent::before {
|
||||
margin-inline-start: 12px !important;
|
||||
}
|
||||
|
||||
/* 调整有序列表的缩进线 */
|
||||
span.cm-formatting.cm-formatting-list.cm-formatting-list-ol {
|
||||
padding: 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue