forked from vslinko/obsidian-outliner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
46 lines (40 loc) · 1.07 KB
/
styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/* lists */
.outliner-plugin-bls .cm-s-obsidian .HyperMD-list-line {
padding-top: 0.4em;
}
/* bullets */
.outliner-plugin-bls .cm-s-obsidian span.cm-formatting-list {
letter-spacing: 3px;
}
.outliner-plugin-bls .cm-s-obsidian span.cm-formatting-list-ul {
color: var(--background-primary) !important;
}
.outliner-plugin-bls .cm-s-obsidian span.cm-formatting-list-ul:before {
content: "•";
position: absolute;
margin-left: -3px;
margin-top: -5px;
font-size: 24px;
color: var(--text-muted);
visibility: visible !important;
}
/* lines */
.outliner-plugin-bls .cm-s-obsidian .HyperMD-list-line {
overflow: hidden;
}
.cm-hmd-list-indent {
position: relative;
}
.outliner-plugin-bls .CodeMirror-line .cm-hmd-list-indent::before {
content: '';
display: block;
position: absolute;
background-image: linear-gradient(to right, var(--text-faint) 1px, transparent 1px);
/* https://developer.mozilla.org/en-US/docs/Web/CSS/length#units */
background-size: 1.8ch 1px;
background-position-x: 3px;
width: 100%;
left: 0;
top: -1.6em;
padding-bottom: 999em;
}