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