added bulleted relationship lines

This commit is contained in:
GlitchByte
2021-07-18 00:54:54 -04:00
parent e171835931
commit ae55cad77b

View File

@@ -34,7 +34,7 @@
/* 1. Font */ /* 1. Font */
body { body {
/* font stacks taken directly from Notion */ /* 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; -webkit-font-smoothing: auto;
} }
@@ -580,3 +580,15 @@ input.task-list-item-checkbox:checked
.frontmatter-container { .frontmatter-container {
display: none; 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;
}