[Mobi] Fix for inconsistent styles between on-line reader and Mobi.
[librarian.git] / librarian / mobi / style.css
1 /* =================================================== */
2 /* = Common elements: headings, paragraphs and lines = */
3 /* =================================================== */
4
5 .h2
6 {
7         font-size: 2em;
8         margin: 0;
9         margin-top: 1.5em;
10         font-weight: bold;
11         line-height: 1.5em;
12 }
13
14 .h3
15 {
16     text-align:left;
17     font-size: 1.5em;
18     margin-top: 1.5em;
19     font-weight: normal;
20     line-height: 1.5em;
21 }
22
23 .h4
24 {
25         font-size: 1em;
26     margin: 0;
27     margin-top: 1em;
28         line-height: 1.5em;
29 }
30
31 .paragraph
32 {
33     margin: 0;
34 }
35
36 .paragraph + .paragraph
37 {
38     text-indent: 1.5em;
39 }
40
41
42 /* ======================== */
43 /* = Footnotes and themes = */
44 /* ======================== */
45
46 .annotation-anchor
47 {
48         font-style: normal;
49         font-weight: normal;
50         font-size: 0.875em;
51         display: block;
52         float: left;
53         width: 2.5em;
54         clear: both;
55 }
56
57 .annotation
58 {
59     margin: 0;
60     margin-top: 1.5em;
61 }
62
63 .annotation-body
64 {
65         margin-left: 2.5em;
66         font-size: 0.875em;
67 }
68
69 .block
70 {
71         font-size: 0.875em;
72         padding: 1em;
73 }
74
75 /* ============= */
76 /* = Numbering = */
77 /* ============= */
78
79 .anchor sup
80 {
81         vertical-align: text-top;
82         font-size: 0.7em;
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 .kwestia
165 {
166         margin-top: 0.5em;
167 }
168
169 .stanza
170 {
171     margin-bottom: 1em;
172 }
173
174 .stanza-spacer
175 {
176     display: none;
177 }
178
179 .motto
180 {
181         text-align: justify;
182         font-style: italic;
183         margin-top: 1.5em;
184 }
185
186 .motto_podpis, .motto_podpis .paragraph
187 {
188         font-size: 0.875em;
189         text-align: right;
190 }
191
192 .fragment
193 {
194         border-bottom: 0.1em solid #999;
195         padding-bottom: 1.5em;
196 }
197
198 .note, .note .paragraph
199 {
200         text-align: right;
201         font-style: italic;
202 }
203
204 .dedication, .dedication .paragaph
205 {
206     text-align: right;
207     font-style: italic;
208 }
209
210 hr.spacer
211 {
212         height: 3em;
213         visibility: hidden;
214 }
215
216 hr.spacer-line
217 {
218         margin: 0;
219         margin-top: 1.5em;
220         margin-bottom: 1.5em;
221         border: none;
222         border-bottom: 0.1em solid #000;
223 }
224
225 .spacer-asterisk
226 {
227         padding: 0;
228     margin: 0;
229     margin-top: 1.5em;
230     margin-bottom: 1.5em;
231         text-align: center;
232 }
233
234 div.person-list ol
235 {
236         list-style: none;
237         padding: 0;
238         padding-left: 1.5em;
239 }
240
241 .place-and-time
242 {
243         font-style: italic;
244 }
245
246 em.math
247 {
248         font-style: italic;
249 }
250 em.foreign-word
251 {
252     font-style: italic;
253 }
254 em.book-title
255 {
256     font-style: italic;
257 }
258 em.didaskalia
259 {
260     font-style: italic;
261 }
262
263 em.author-emphasis
264 {
265         letter-spacing: 0.1em;
266 }
267
268 .person-list em.person
269 {
270         font-style: normal;
271         text-transform: uppercase;
272 }
273
274 .info
275 {
276         text-align: center;
277         margin-bottom: 1em;
278 }
279 .info div
280 {
281     text-align: center;
282 }
283
284 .info img
285 {
286         margin: 0;
287         margin-left: 2em;
288         margin-right: 2em;
289 }
290
291 p.minor {
292     font-size: 0.75em;
293 }
294 p.footer {
295     margin-top: 2em;
296 }