-
Notifications
You must be signed in to change notification settings - Fork 10
/
Relationship Lines.css
51 lines (44 loc) · 1.41 KB
/
Relationship Lines.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
47
48
49
50
51
/*----------------------------------------------------------------
RELATIONSHIP LINES
----------------------------------------------------------------*/
/* Relationship lines in Preview */
.rel-lines-preview .markdown-preview-view ul ul, .markdown-preview-view ul ul, .rel-lines-preview .markdown-preview-view ol ol, .markdown-preview-view ol ol{
position: relative;
}
.rel-lines-preview .markdown-preview-view ul ul::before, .rel-lines-preview .markdown-preview-view ol ol::before{
content: "";
border-left: 1px solid var(--background-modifier-border);
opacity: .7;
position: absolute;
margin-left: 0em;
left: -0.1em;
top: 1;
bottom: 0;
}
.rel-lines-preview .markdown-preview-view ol ol::before{
margin-left: -0.8em;
}
/* Relationship line spacing fix for tasks lists */
.rel-lines-preview .markdown-preview-view .task-list-item-checkbox {
left: -0px;
margin-left: 2px !important;
}
.rel-lines-preview .markdown-preview-view ul.contains-task-list ul::before,
.rel-lines-preview .markdown-preview-view ul.contains-task-list ul::before {
left: -0.1em;
bottom: .3em;
}
/* Relationship lines in Edit mode */
.rel-lines-edit .cm-hmd-list-indent > .cm-tab {
display: inline-block;
}
.rel-lines-edit .cm-hmd-list-indent > .cm-tab:after {
content:" ";
display:block;
width: 1px;
position: absolute;
top: 1px;
left: 1.5px;
border-right: 1px solid var(--background-modifier-border);
height: 100%;
}