change logo in pdf
[librarian.git] / 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 /* = 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
112 {
113     margin-bottom: 0.3em;
114     text-align: justify;
115 }
116
117 .block
118 {
119     font-size: 0.875em;
120     padding: 1em;
121 }
122
123 /* ============= */
124 /* = Numbering = */
125 /* ============= */
126
127 .anchor
128 {
129         margin: -0.25em -0.5em;
130         color: #777;
131         font-size: 0.875em;
132         width: 2em;
133         text-align: center;
134         padding: 0.25em 0.5em;
135         line-height: 1.5em;
136 }
137
138 /* =================== */
139 /* = Custom elements = */
140 /* =================== */
141
142 .title-page
143 {
144     margin-top: 1.5em;
145 }
146
147 .title
148 {
149     font-size: 3em;
150     text-align: center;
151     line-height: 1.5em;
152     font-weight: bold;
153 }
154
155 .author
156 {
157     margin: 0;
158     text-align: center;
159     font-weight: bold;
160
161     font-size: 1.5em;
162     line-height: 1.5em;
163     margin-bottom: 0.25em;
164 }
165
166 .intitle
167 {
168     margin: 0;
169     text-align: center;
170     font-weight: bold;
171
172     font-size: 1.5em;
173     line-height: 1.5em;
174     margin-bottom: 0.25em;
175 }
176
177 .insubtitle
178 {
179     margin: 0;
180     text-align: center;
181     font-weight: bold;
182
183     font-size: 1em;
184     line-height: 1.5em;
185     margin-bottom: 0.25em;
186 }
187
188 .collection
189 {
190     margin: 0;
191     text-align: center;
192     font-weight: bold;
193
194     font-size: 1.125em;
195     line-height: 1.5em;
196     margin-bottom: -0.25em;
197 }
198
199 .subtitle
200 {
201     margin: 0;
202     text-align: center;
203     font-weight: bold;
204
205     font-size: 1.5em;
206     line-height: 1.5em;
207     margin-top: -0.25em;
208 }
209
210 div.didaskalia
211 {
212     font-style: italic;
213     margin-top: 0.5em;
214     margin-bottom: 0.5em;
215     margin-left: 1.5em;
216 }
217
218 .kwestia
219 {
220     margin-top: 0.5em;
221 }
222
223 .paragraph
224 {
225     text-align: justify;
226     margin: 0;
227     text-indent: 1.2em;
228 }
229
230 h1 + .paragraph, h2 + .paragraph
231 {
232     text-indent: 0;
233 }
234
235 h2 + .paragraph:first-letter
236 {
237     font-size: 1.6em;
238 }
239
240 .motto
241 {
242     text-align: justify;
243     font-style: italic;
244     margin-top: 1.5em;
245 }
246
247 .motto_podpis, .motto_podpis .paragraph
248 {
249     font-size: 0.875em;
250     text-align: right;
251     font-style: italic;
252 }
253
254 .fragment
255 {
256     border-bottom: 0.1em solid #999;
257     padding-bottom: 1.5em;
258 }
259
260 .note
261 {
262     text-align: right;
263     font-style: italic;
264     margin-top: 1em;
265     margin-bottom: 0.5em;
266 }
267
268 .note .paragraph
269 {
270     text-align: justify;
271 }
272
273 .dedication, .dedication .paragraph
274 {
275     text-align: right;
276     font-style: italic;
277 }
278
279 .frame
280 {
281     border: 1px darkgray solid;
282     padding: 1em;
283     margin-top: 1em;
284     margin-bottom: 1em;
285 }
286
287 hr.spacer
288 {
289     height: 3em;
290     visibility: hidden;
291 }
292
293 hr.spacer-line
294 {
295     margin: 0;
296     margin-top: 1.5em;
297     margin-bottom: 1.5em;
298     border: none;
299     border-bottom: 0.1em solid #000;
300 }
301
302 .spacer-asterisk
303 {
304     padding: 0;
305     margin: 0;
306     margin-top: 1.5em;
307     margin-bottom: 1.5em;
308     text-align: center;
309 }
310
311 div.person-list ol
312 {
313     list-style: none;
314     padding: 0;
315     padding-left: 1.5em;
316 }
317
318 .place-and-time
319 {
320     font-style: italic;
321 }
322
323 em.math
324 {
325     font-style: italic;
326 }
327 em.foreign-word
328 {
329     font-style: italic;
330 }
331 em.book-title
332 {
333     font-style: italic;
334 }
335 em.didaskalia
336 {
337     font-style: italic;
338 }
339
340 em.author-emphasis
341 {
342     letter-spacing: 0.1em;
343 }
344
345 .person-list em.person
346 {
347     font-style: normal;
348     /*font-variant: small-caps;*/
349     text-transform: uppercase;
350 }
351
352 .info
353 {
354     text-align: center;
355     margin-bottom: 1em;
356 }
357 .info div
358 {
359     text-align: center;
360 }
361
362 .info img
363 {
364     margin: 0;
365     margin-left: 2em;
366     margin-right: 2em;
367 }
368
369 p.minor {
370     text-align: center;
371     margin-bottom: 1em;
372     font-size: 0.75em;
373 }
374 p.footer {
375     margin-top: 2em;
376 }
377
378 table {
379     border-collapse: collapse;
380     width: 100%;
381 }
382 table.border th, table.border td {
383     border: 1px solid black;
384 }
385
386 th, td {
387     vertical-align: top;
388 }