From 4dd0ac5c0a864f1a71ed50e8f0374ffc878d7025 Mon Sep 17 00:00:00 2001 From: hezhendong Date: Sun, 13 Apr 2025 22:05:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=88=97=E8=A1=A8=E4=B8=8B?= =?UTF-8?q?=E9=9D=A2=E7=9A=84=E7=BA=AF=E6=96=87=E6=9C=AC=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- theme.css | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/theme.css b/theme.css index 2edf0b1..16d7488 100644 --- a/theme.css +++ b/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;