-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathmarkdown.scss
More file actions
69 lines (55 loc) · 1.32 KB
/
markdown.scss
File metadata and controls
69 lines (55 loc) · 1.32 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
[data-footnote-ref="true"] {
&::before {
content: "[";
}
&::after {
content: "]";
}
margin-left: $eccgui-size-inline-whitespace * 0.5;
font-size: $eccgui-size-typo-caption;
vertical-align: super;
}
.data-footnote-backref {
&::before {
content: "[";
}
&::after {
content: "]";
}
margin-left: 0.5 * $eccgui-size-inline-whitespace;
}
#footnote-label {
@extend hr;
@extend .#{$eccgui}-separation__divider-horizontal;
@extend .#{$eccgui}-separation__spacing--medium;
@extend .#{$eccgui}-separation__divider-horizontal--short;
overflow: hidden;
}
.task-list-item {
list-style: none;
input:first-child {
margin-left: $eccgui-size-block-whitespace * -2;
}
}
/*
WORKAROUND: markdown footnotes rendered without (empty) local anchors
*/
.#{$eccgui}-typography__contentblock {
a[href=""] {
color: currentcolor;
pointer-events: none;
cursor: text;
}
a[href=""]:not(#{$eccgui-selector-text-spot-highlight}) {
font-size: $eccgui-size-typo-caption;
line-height: $eccgui-size-typo-caption-lineheight;
vertical-align: super;
text-decoration: none;
&::before {
content: "[";
}
&::after {
content: "]";
}
}
}