This commit is contained in:
Oscar Plaisant
2024-12-25 22:30:24 +01:00
parent 4a9afe51fa
commit 602a41e7f8
2098 changed files with 11681 additions and 2271 deletions

View File

@@ -0,0 +1,27 @@
/*
Editor fixes
https://github.com/replete/obsidian-minimal-theme-css-snippets
*/
/* Make collapse icon less colorful */
.cm-s-obsidian .collapse-indicator.collapse-icon svg{
stroke: var(--tx2)
}
/* Fix edit block alignment in gutter */
.cm-s-obsidian .edit-block-button {
left: calc(max(calc(50% + var(--folding-offset) - var(--line-width-adaptive)/ 2),calc(50% + var(--folding-offset) - var(--max-width)/ 2)) - 30px )!important;
}
.markdown-source-view.mod-cm6.is-live-preview.is-readable-line-width .cm-embed-block>.edit-block-button {
opacity:1 !important;
}
/* Make indentation guides less visible */
.cm-indent {
opacity:0.4
}
.theme-dark .cm-indent {
opacity: 0.5
}