This repository was archived by the owner on Nov 6, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
103 lines (95 loc) · 2.26 KB
/
Copy pathstyles.css
File metadata and controls
103 lines (95 loc) · 2.26 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
div0 {
max-width: 960px;
margin: 10px auto;
font-family: serif;
font-size: 1.1em;
}
div0:before {
content: "id: " attr(id)
" | type: " attr(type)
" | subcorpus: " attr(subcorpus)
" | filename: " attr(filename);
display: block;
text-align: center;
font-size: small;
font-family: monospace;
}
div0:after {
content: "quotes - red\00000a
Embedded quotes - yellow\00000a
Short suspensions - green\00000a
Long suspensions - orange\00000a
Embedded short suspensions - dark blue\00000a
Embedded long suspensions - light blue\00000a";
position: fixed;
white-space: pre;
top: 10px;
right: 10px;
background: rgba(158, 189, 168, 0.9);
padding: 3px;
border: 1px solid black;
border-radius: 3px;
text-align: right;
}
div0 > title,
div0 > author {
display: block;
font-size: 1.4rem;
text-align: center;
}
div0 > author {
font-size: 1.3rem;
margin-bottom: 4rem;
}
div0 > div[type=chapter],
div0 > div[type=chapter] > p {
display: block;
position: relative;
margin-top: 3em;
border-top: 5px solid #333;
}
div0 > div[type=chapter] > p {
margin-top: 1em;
border-top: 1px solid #333;
}
div0 > div[type=chapter]:before,
div0 > div[type=chapter] > p:before {
content: "chapter: " attr(id);
display: block;
position: absolute;
top: -1.25em;
right: 3em;
line-height: 1em;
color: #666;
font-size: 80%;
}
div0 > div[type=chapter] > p:before {
content: "paragraph: " attr(id);
top: -1em;
}
div0 > div[type=chapter] > title {
display: block;
font-weight: bold;
}
div0 s {
border: 1px solid #999;
background: #eee;
margin-right: 0.3em;
line-height: 1.4em;
}
qs, qe, alt-qs, alt-qe, sss, sse, sls, sle, alt-sss, alt-sse, alt-sls, alt-sle {
display: inline-block;
vertical-align: text-top;
width: 10px;
height: 1.2em;
text-align: center;
font-weight: bold;
}
qs:after, alt-qs:after, sss:after, sls:after, alt-sss:after, alt-sls:after { content: "<" }
qe:after, alt-qe:after, sse:after, sle:after, alt-sse:after, alt-sle:after { content: ">" }
qs,qe { background-color: red; }
alt-qs,alt-qe { background-color: yellow; }
sss,sse { background-color: mediumspringgreen; }
sls,sle { background-color: orange; }
alt-sss,alt-sse { background-color: deepskyblue; }
alt-sls,alt-sle { background-color: lightskyblue; }