tabs and centered verses
[librarian.git] / src / librarian / epub / style.css
1 @page {
2   margin: 5pt;
3 }
4 @font-face {
5     font-family: "DejaVu Serif";
6     font-weight: normal;
7     font-style: normal;
8     src: url(DejaVuSerif.ttf);
9 }
10 @font-face {
11     font-family: "DejaVu Serif";
12     font-weight: bold;
13     font-style: normal;
14     src: url(DejaVuSerif-Bold.ttf);
15 }
16 @font-face {
17     font-family: "DejaVu Serif";
18     font-weight: normal;
19     font-style: italic;
20     src: url(DejaVuSerif-Italic.ttf);
21 }
22 @font-face {
23     font-family: "DejaVu Serif";
24     font-weight: bold;
25     font-style: italic;
26     src: url(DejaVuSerif-BoldItalic.ttf);
27 }
28
29 body, p, h1, h2, h3, h4 {
30     font-family: "DejaVu Serif", serif;
31 }
32
33
34 body
35 {
36     line-height: 1.5em;
37     margin: 0;
38 }
39
40 a
41 {
42     text-decoration: none;
43     color: #00e;
44 }
45
46 a img {
47     border: 0;
48 }
49
50 #book-text {
51     margin: 0;
52 }
53
54
55 nav#id li {
56     list-style: none;
57 }
58
59 /* =================================================== */
60 /* = Common elements: headings, paragraphs and lines = */
61 /* =================================================== */
62
63
64 .h2
65 {
66     font-size: 2em;
67     margin: 0;
68     margin-top: 1.5em;
69     font-weight: bold;
70     line-height: 1.5em;
71 }
72
73 .h3
74 {
75     text-align:left;
76     font-size: 1.5em;
77     margin-top: 1.5em;
78     font-weight: normal;
79     line-height: 1.5em;
80 }
81
82 .h4
83 {
84     font-size: 1em;
85     margin: 0;
86     margin-top: 1.5em;
87     line-height: 1.5em;
88 }
89
90 p
91 {
92     margin: 0;
93 }
94
95 /* ======================== */
96 /* = Footnotes and themes = */
97 /* ======================== */
98
99 .theme-begin
100 {
101     border-left: 0.1em solid #DDDDDD;
102     color: #777;
103     padding: 0 0.5em;
104     width: 7.5em;
105     font-style: normal;
106     font-weight: normal;
107     font-size: 0.875em;
108     float: right;
109     margin-right: -9.5em;
110     clear: both;
111     left: 40em;
112     line-height: 1.5em;
113     text-align: left;
114 }
115
116 .annotation
117 {
118     margin-bottom: 0.3em;
119     text-align: justify;
120 }
121
122 .block
123 {
124     font-size: 0.875em;
125     padding: 1em;
126 }
127
128
129 /* ============= */
130 /* = Numbering = */
131 /* ============= */
132
133 .anchor sup
134 {
135     line-height: 0;
136     font-size: 0.7em;
137 }
138
139 /* =================== */
140 /* = Custom elements = */
141 /* =================== */
142
143 .title-page
144 {
145     margin-top: 1.5em;
146 }
147
148 .title
149 {
150     font-size: 3em;
151     text-align: center;
152     line-height: 1.5em;
153     font-weight: bold;
154 }
155
156 .author
157 {
158     margin: 0;
159     text-align: center;
160     font-weight: bold;
161
162     font-size: 1.5em;
163     line-height: 1.5em;
164     margin-bottom: 0.25em;
165 }
166
167 .intitle
168 {
169     margin: 0;
170     text-align: center;
171     font-weight: bold;
172
173     font-size: 1.5em;
174     line-height: 1.5em;
175     margin-bottom: 0.25em;
176 }
177
178 .insubtitle
179 {
180     margin: 0;
181     text-align: center;
182     font-weight: bold;
183
184     font-size: 1em;
185     line-height: 1.5em;
186     margin-bottom: 0.25em;
187 }
188
189 .collection
190 {
191     margin: 0;
192     text-align: center;
193     font-weight: bold;
194
195     font-size: 1.125em;
196     line-height: 1.5em;
197     margin-bottom: -0.25em;
198 }
199
200 .subtitle
201 {
202     margin: 0;
203     text-align: center;
204     font-weight: bold;
205
206     font-size: 1.5em;
207     line-height: 1.5em;
208     margin-top: -0.25em;
209 }
210
211 div.didaskalia
212 {
213     font-style: italic;
214     margin-top: 0.5em;
215     margin-bottom: 0.5em;
216     margin-left: 1.5em;
217 }
218
219 .kwestia
220 {
221     margin-top: 0.5em;
222 }
223
224 .paragraph
225 {
226     text-align: justify;
227     margin: 0;
228     text-indent: 1.2em;
229 }
230
231 h1 + .paragraph, h2 + .paragraph
232 {
233     text-indent: 0;
234 }
235
236 h2 + .paragraph:first-letter
237 {
238     font-size: 1.6em;
239 }
240
241 .motto
242 {
243     text-align: justify;
244     font-style: italic;
245     margin-top: 1.5em;
246 }
247
248 .motto_podpis, .motto_podpis .paragraph
249 {
250     font-size: 0.875em;
251     text-align: right;
252     font-style: italic;
253 }
254
255 .fragment
256 {
257     border-bottom: 0.1em solid #999;
258     padding-bottom: 1.5em;
259 }
260
261 .dedication, .dedication .paragraph
262 {
263     text-align: right;
264     font-style: italic;
265 }
266
267 .note
268 {
269     text-align: right;
270     font-style: italic;
271     margin-top: 1em;
272     margin-bottom: 0.5em;
273 }
274
275 .note .paragraph
276 {
277     text-align: justify;
278 }
279
280 .frame
281 {
282     border: 1px darkgray solid;
283     padding: 1em;
284     margin-top: 1em;
285     margin-bottom: 1em;
286 }
287
288 hr.spacer
289 {
290     height: 3em;
291     visibility: hidden;
292 }
293
294 hr.spacer-line
295 {
296     margin: 0;
297     margin-top: 1.5em;
298     margin-bottom: 1.5em;
299     border: none;
300     border-bottom: 0.1em solid #000;
301 }
302
303 .spacer-asterisk
304 {
305     padding: 0;
306     margin: 0;
307     margin-top: 1.5em;
308     margin-bottom: 1.5em;
309     text-align: center;
310 }
311
312 div.person-list ol
313 {
314     list-style: none;
315     padding: 0;
316     padding-left: 1.5em;
317 }
318
319 .place-and-time
320 {
321     font-style: italic;
322 }
323
324 em.math
325 {
326     font-style: italic;
327 }
328 em.foreign-word
329 {
330     font-style: italic;
331 }
332 em.book-title
333 {
334     font-style: italic;
335 }
336 em.didaskalia
337 {
338     font-style: italic;
339 }
340
341 em.author-emphasis
342 {
343     letter-spacing: 0.1em;
344 }
345
346 em.wieksze-odstepy
347 {
348     font-style: normal;
349     word-spacing: 1em;
350 }
351
352 .person-list em.person
353 {
354     font-style: normal;
355     /*font-variant: small-caps;*/
356     text-transform: uppercase;
357 }
358
359 .info
360 {
361     text-align: center;
362     margin-bottom: 1em;
363 }
364 .info div
365 {
366     text-align: center;
367 }
368
369 .info img
370 {
371     margin: 0;
372     margin-left: 2em;
373     margin-right: 2em;
374 }
375
376 p.minor-info {
377     text-align: center;
378     margin-bottom: 1em;
379     font-size: 0.75em;
380 }
381 p.footer {
382     margin-top: 2em;
383 }
384
385 table {
386     border-collapse: collapse;
387     width: 100%;
388 }
389 table.border th, table.border td {
390     border: 1px solid black;
391 }
392
393 th, td {
394     vertical-align: top;
395 }
396
397 .fundraising {
398         margin: 2em 1em 0;
399         border: 2px solid black;
400         padding: 2em 2em;
401         text-align: center;
402         font-size: 1.3em;
403         line-height: 1.4em;
404 }
405
406 .rownolegly-blok {
407     border-left: 2px solid red;
408     padding-left: .5em;
409 }
410 .rownolegly-blok.first {
411     border-radius: 0 0 0 .75em;
412 }
413 .rownolegly-blok.last {
414     border-radius: .75em 0 0 0;
415 }