-
Notifications
You must be signed in to change notification settings - Fork 1
/
org-sidian.css
48 lines (47 loc) · 1.66 KB
/
org-sidian.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
/* org-sidian bullets heading symbol change */
/* updated */
/* 2020-11-05 09:46 */
.CodeMirror-code > :not(.CodeMirror-activeline) .cm-formatting-header {
display:none;
}
/* heading 1 */
.CodeMirror-code> :not(.CodeMirror-activeline) .cm-formatting-header+.cm-header-1::before,
.CodeMirror-code> :not(.CodeMirror-activeline) .cm-header-1:first-child::before {
margin-right: 8px;
content: "◉";
}
/* heading 2 */
.CodeMirror-code> :not(.CodeMirror-activeline) .cm-formatting-header+.cm-header-2::before,
.CodeMirror-code> :not(.CodeMirror-activeline) .cm-header-1:first-child::before {
margin-left: 10px;
margin-right: 8px;
content: "○";
}
/* heading 3 */
.CodeMirror-code> :not(.CodeMirror-activeline) .cm-formatting-header+.cm-header-3::before,
.CodeMirror-code> :not(.CodeMirror-activeline) .cm-header-1:first-child::before {
margin-left: 20px;
margin-right: 8px;
content: "✸";
}
/* heading 4 */
.CodeMirror-code> :not(.CodeMirror-activeline) .cm-formatting-header+.cm-header-4::before,
.CodeMirror-code> :not(.CodeMirror-activeline) .cm-header-1:first-child::before {
margin-left: 30px;
margin-right: 8px;
content: "◉";
}
/* heading 5 */
.CodeMirror-code> :not(.CodeMirror-activeline) .cm-formatting-header+.cm-header-5::before,
.CodeMirror-code> :not(.CodeMirror-activeline) .cm-header-1:first-child::before {
margin-left: 40px;
margin-right: 8px;
content: "○";
}
/* heading 6 */
.CodeMirror-code> :not(.CodeMirror-activeline) .cm-formatting-header+.cm-header-6::before,
.CodeMirror-code> :not(.CodeMirror-activeline) .cm-header-1:first-child::before {
margin-left: 50px;
margin-right: 8px;
content: "✸";
}