Last active
November 22, 2021 12:21
-
-
Save emisjerry/36d1d115ae22cd0902fc528875f86414 to your computer and use it in GitHub Desktop.
Obsidian.md 項目符號線條樣式
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*=== Remove Yaml header from embeds ===*/ | |
/* Remove embed yaml first separator */ | |
.markdown-embed-content > hr:first-child { display: none; } | |
/* Remove embed yaml content */ | |
.markdown-embed-content > hr:first-child + h2 { display: none; } | |
/* Remove embed yaml second separator (if empty) */ | |
.markdown-embed-content > hr:first-child + hr { display: none; } | |
/* Remove embed yaml second separator */ | |
.markdown-embed-content > hr:first-child + h2 + hr { display: none; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*=== Bullet Point Relationship Lines ===*/ | |
.cm-hmd-list-indent, ul ul { | |
position: relative; | |
} | |
.cm-hmd-list-indent::before, ul ul::before { | |
content:''; | |
border-left: 1px solid rgba(0, 122, 255, 0.55); | |
position: absolute; | |
} | |
.cm-hmd-list-indent::before { | |
left: 0; | |
top: -5px; | |
bottom: -4px; | |
} | |
ul ul::before { | |
left: -11px; | |
top: 0; | |
bottom: 0; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment