forked from rauschma/html_demos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
footnotes.css
50 lines (45 loc) · 980 Bytes
/
footnotes.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
a.footptr {
vertical-align: super;
font-size: .83em;
text-decoration: none;
}
a.refptr {
text-decoration: none;
}
.foot-tooltip {
background-color: #FCF6CF;
padding-top: 0.5em;
padding-bottom: 0.5em;
padding-left: 1em;
opacity: 0;
-webkit-transition: opacity 0.3s linear;
-moz-transition: opacity 0.3s linear;
-o-transition: opacity 0.3s linear;
-ms-transition: opacity 0.3s linear;
transition: opacity 0.3s linear;
}
li:target {
background-color: #BFEFFF;
}
ol#references {
list-style:none;
margin-left: 0;
padding-left: 1.8em;
text-indent: -1.8em;
counter-reset: refcounter;
}
ol#references > li:before {
content: "[" counter(refcounter) "] ";
counter-increment: refcounter;
}
ol#footnotes {
list-style:none;
margin-left: 0;
padding-left: 1.8em;
text-indent: -1.8em;
counter-reset: footcounter;
}
ol#footnotes > li:before {
content: "(" counter(footcounter) ") ";
counter-increment: footcounter;
}