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