Repository navigation
Expand file tree
/
Copy pathdocbook2html.css
More file actions
196 lines (157 loc) · 3.09 KB
/
Copy pathdocbook2html.css
File metadata and controls
196 lines (157 loc) · 3.09 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
@import url(http://fonts.googleapis.com/css?family=EB+Garamond);
@import url(http://fonts.googleapis.com/css?family=Cousine);
* {
font-family: 'EB Garamond', serif;
}
pre, .informaltable td {
font-family: 'Cousine', monospace;
font-size: medium;
}
body {
font-size: 130%;
color: #222;
margin: 2em;
width: 600px;
}
a {
color: #0B486B;
text-decoration: none;
border-bottom-style: dashed;
border-bottom-width: 1px;
}
hr {
width: 30%;
border: none;
border-bottom: 5px dotted #222;
}
/*
Example final generated interlinear-gloss-itemized structure
FIXME: Does it actually need to be this complicated? Maybe, for future proofing?
<table class="interlinear-gloss-itemized-outer" id="id471125">
<colgroup/>
<tr>
<td>
<table class="interlinear-gloss-itemized-table-inner" id="id471131">
<colgroup/>
<tr class="interlinear-gloss-itemized-table-color-0">
<td class="sumti">x1</td>
</tr>
</table>
<table class="interlinear-gloss-itemized-table-inner" id="id471149">
<colgroup/>
<tr class="interlinear-gloss-itemized-table-color-1">
<td class="elidable">cu</td>
</tr>
</table>
</td>
</tr>
</table>
*/
.interlinear-gloss-itemized-outer table {
empty-cells: hide;
border: none;
}
.interlinear-gloss-itemized-table-inner tr {
background: #E8EBEF;
border: .5em solid #fff;
padding: .5em;
empty-cells: hide;
border: none;
margin-bottom: 1em;
}
.interlinear-gloss-itemized-table-inner td {
text-align: left;
margin-bottom: 1em;
}
.cmavo-list table {
empty-cells: hide;
border: none;
}
.cmavo-list td {
/* TESTING ONLY: red */
background: #FF4848;
border: .5em solid #fff;
padding: .5em;
text-align: left;
}
.interlinear-gloss-itemized table {
empty-cells: hide;
border: none;
}
.interlinear-gloss-itemized td {
/* TESTING ONLY: purple */
background: #B000B0;
border: .5em solid #fff;
padding: .5em;
text-align: left;
}
.interlinear-gloss table {
empty-cells: hide;
border: none;
}
.interlinear-gloss td {
/* TESTING ONLY: blue */
background: #6966D6;
border: .5em solid #fff;
padding: .5em;
text-align: left;
}
.informaltable table {
empty-cells: hide;
border: none;
}
.informaltable td {
/* TESTING ONLY: green */
background: #01F33E;
border: .5em solid #fff;
padding: .5em;
text-align: left;
}
.lujvo-making table {
empty-cells: hide;
border: none;
}
.lujvo-making td {
/* TESTING ONLY: yellow */
background: #DFDF00;
border: .5em solid #fff;
padding: .5em;
text-align: left;
}
.lojbanization table {
empty-cells: hide;
border: none;
}
.lojbanization td {
/* TESTING ONLY: brown */
background: #B05F3C;
border: .5em solid #fff;
padding: .5em;
text-align: left;
}
.elidable:after {
content: "]";
}
.elidable:before {
content: "[";
}
.selbri {
font-weight: bold;
}
.sumti {
text-decoration: underline;
}
table {
float: left;
}
p {
clear: left;
float: none;
}
p.natlang {
margin-left: 1em;
font-weight: bold;
}
p.comment {
margin-left: 1em;
}