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