-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreferences-noscript.css
More file actions
57 lines (55 loc) · 1.78 KB
/
Copy pathreferences-noscript.css
File metadata and controls
57 lines (55 loc) · 1.78 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
:root {
counter-reset: citation 0;
}
cite-web:not(:defined) {
display: inline-block;
color: #555;
vertical-align: super;
font-size: 75%;
}
cite-web:not(:defined):not([name])[publisher]::after {
counter-increment: citation;
content: "[" counter(citation) ": " attr(publisher) "]";
}
cite-web:not(:defined):not([name])[date]::after {
counter-increment: citation;
content: "[" counter(citation) ": " attr(date) "]";
}
cite-web:not(:defined):not([name])[author]::after {
counter-increment: citation;
content: "[" counter(citation) ": " attr(author) "]";
}
cite-web:not(:defined):not([name]):not([author])[publisher][date]::after {
counter-increment: citation;
content: "[" counter(citation) ": " attr(publisher) ", " attr(date) "]";
}
cite-web:not(:defined):not([name])[author][date]::after {
counter-increment: citation;
content: "[" counter(citation) ": " attr(author) ", " attr(date) "]";
}
cite-web:not(:defined)[publisher]::after {
counter-increment: citation;
content: "['" attr(name) "': " attr(publisher) "]";
}
cite-web:not(:defined)[date]::after {
counter-increment: citation;
content: "['" attr(name) "': " attr(date) "]";
}
cite-web:not(:defined)[author]::after {
counter-increment: citation;
content: "['" attr(name) "': " attr(author) "]";
}
cite-web:not(:defined):not([author])[publisher][date]::after {
counter-increment: citation;
content: "['" attr(name) "': " attr(publisher) ", " attr(date) "]";
}
cite-web:not(:defined)[author][date]::after {
counter-increment: citation;
content: "['" attr(name) "': " attr(author) ", " attr(date) "]";
}
cite-web:not(:defined)[name]:not([title], [author], [url])::after {
content: "['" attr(name) "']";
}
references-list:not(:defined)::after {
content: "Reference list cannot be generated without JavaScript";
}