From ae55cad77bf534e7e8f60ad5d7c65f7216d66bf7 Mon Sep 17 00:00:00 2001 From: GlitchByte Date: Sun, 18 Jul 2021 00:54:54 -0400 Subject: [PATCH] added bulleted relationship lines --- obsidian.css | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/obsidian.css b/obsidian.css index ed88a4d..a0efee3 100644 --- a/obsidian.css +++ b/obsidian.css @@ -34,7 +34,7 @@ /* 1. Font */ body { /* font stacks taken directly from Notion */ - --font-monospace: Hack Nerd Font',Source Code Pro', monospace; + --font-monospace: "Hack Nerd Font", "Source Code Pro", monospace; -webkit-font-smoothing: auto; } @@ -579,4 +579,16 @@ input.task-list-item-checkbox:checked .frontmatter-container { display: none; +} + +/* Bullet point relationship lines */ +.cm-hmd-list-indent .cm-tab, ul ul { position: relative; } +.cm-hmd-list-indent .cm-tab::before, ul ul::before { + content:''; + border-left: 1px solid var(--dim-blue); + position: absolute; +} +.cm-hmd-list-indent .cm-tab::before { left: 0; top: -5px; bottom: -4px; +} +ul ul::before { left: -11px; top: 0; bottom: 0; } \ No newline at end of file