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