all audiobooks ever feed instead of public audiobooks in all formats
[wolnelektury.git] / wolnelektury / static / css / master.book.css
1 body {
2     font-size: 16px;
3     font: Georgia, "Times New Roman", serif;
4     line-height: 1.5em;
5     margin: 0;
6 }
7
8 a {
9     color: blue;
10     text-decoration: none;
11 }
12
13 #book-text {
14     margin: 3em;
15     max-width: 36em;
16 }
17
18 /* ================================== */
19 /* = Header with logo and menu      = */
20 /* ================================== */
21 #header {
22     margin: 3.4em 0 0 1.4em;
23 }
24
25 img {
26     border: none;
27 }
28
29
30 #menu {
31     position: fixed;
32     left: 0em;
33     top: 0em;
34     width: 100%;
35     height: 1.5em;
36     background: #333;
37     color: #FFF;
38     opacity: 0.9;
39     z-index: 99;
40 }
41
42 #menu ul {
43     list-style: none;
44     padding: 0;
45     margin: 0;
46 }
47
48 #menu li a {
49     display: block;
50     float: left;
51     width: 7.5em;
52     height: 1.5em;
53     margin-left: 0.5em;
54     text-align: center;
55     color: #FFF;
56 }
57
58 #menu li a:hover, #menu li a:active {
59     color: #000;
60     background: #FFF url(/static/img/arrow-down.png) no-repeat center right;
61 }
62
63 #menu li a.selected {
64     color: #000;
65     background: #FFF url(/static/img/arrow-up.png) no-repeat center right;
66 }
67 #menu a.menu-link {
68     display: block;
69     float: left;
70     height: 1.5em;
71     margin-left: 0.5em;
72     text-align: center;
73     color: #FFF;
74 }
75 #menu span {
76     color: #888;
77     font-style: italic;
78     font-size: .75em;
79     margin-right: 0.5em;
80 }
81
82
83 #toc, #themes, #nota_red, #info {
84     position: fixed;
85     left: 0em;
86     top: 1.5em;
87     width: 37em;
88     padding: 1.5em;
89     background: #FFF;
90     border-bottom: 0.25em solid #DDD;
91     border-right: 0.25em solid #DDD;
92     display: none;
93     height: 16em;
94     overflow-x: hidden;
95     overflow-y: auto;
96     opacity: 0.9;
97     z-index: 99;
98 }
99
100 #toc ol, #themes ol {
101     list-style: none;
102     padding: 0;
103     margin: 0;
104 }
105
106 #toc ol li {
107     font-weight: bold;
108 }
109
110 #toc ol ol {
111     padding: 0 0 1.5em 1.5em;
112     margin: 0;
113 }
114
115 #toc ol ol li {
116     font-weight: normal;
117 }
118
119 #toc h2 {
120     display: none;
121 }
122
123 #toc .anchor {
124     float: none;
125     margin: 0;
126     color: blue;
127     font-size: 16px;
128     position: inherit;
129 }
130
131 #info p {
132     text-align: justify;
133     margin: 1.5em 0 0;
134 }
135
136 /* =================================================== */
137 /* = Common elements: headings, paragraphs and lines = */
138 /* =================================================== */
139 h1 {
140     font-size: 3em;
141     margin: 1.5em 0;
142     text-align: center;
143     line-height: 1.5em;
144     font-weight: bold;
145 }
146
147 h2 {
148     font-size: 2em;
149     margin: 1.5em 0 0;
150     font-weight: bold;
151     line-height: 1.5em;
152 }
153
154 h3 {
155     font-size: 1.5em;
156     margin: 1.5em 0 0;
157     font-weight: normal;
158     line-height: 1.5em;
159 }
160
161 h4 {
162     font-size: 1em;
163     margin: 1.5em 0 0;
164     line-height: 1.5em;
165 }
166
167 p {
168     margin: 0;
169 }
170
171 /* ======================== */
172 /* = Footnotes and themes = */
173 /* ======================== */
174 .theme-begin {
175     border-left: 0.1em solid #DDDDDD;
176     color: #777;
177     padding: 0 0.5em;
178     width: 7.5em;
179
180     font-style: normal;
181     font-weight: normal;
182     font-variant: normal;
183     letter-spacing: 0;
184     text-transform: none;
185     text-decoration: none;
186
187     font-size: 16px;
188     float: right;
189     margin-right: -9.5em;
190     margin-bottom: 0.5em;
191     clear: both;
192     left: 40em;
193     line-height: 1.5em;
194     text-align: left;
195 }
196
197 .annotation {
198     font-style: normal;
199     font-weight: normal;
200     font-size: 12px;
201     padding-left: 2px;
202     position: relative;
203     top: -4px;
204 }
205
206 #footnotes .annotation {
207     display: block;
208     float: left;
209     width: 2.5em;
210     clear: both;
211 }
212
213 #footnotes div {
214     margin: 1.5em 0 0 0;
215 }
216
217 #footnotes p {
218     margin-left: 2.5em;
219     font-size: 0.875em;
220 }
221
222 blockquote {
223     font-size: 0.875em;
224 }
225
226 /* ============= */
227 /* = Numbering = */
228 /* ============= */
229 .verse, .paragraph {
230     position:relative;
231 }
232 .anchor {
233     position: absolute;
234     margin: -0.25em -0.5em;
235     left: -3em;
236     color: #777;
237     font-size: 12px;
238     width: 2em;
239     text-align: center;
240     padding: 0.25em 0.5em;
241     line-height: 1.5em;
242 }
243
244 .anchor:hover, #book-text .anchor:active {
245     color: #FFF;
246     background-color: #CCC;
247 }
248
249 /* =================== */
250 /* = Custom elements = */
251 /* =================== */
252 span.author {
253     font-size: 0.5em;
254     display: block;
255     line-height: 1.5em;
256     margin-bottom: 0.25em;
257 }
258
259 span.collection {
260     font-size: 0.375em;
261     display: block;
262     line-height: 1.5em;
263     margin-bottom: -0.25em;
264 }
265
266 span.subtitle {
267     font-size: 0.5em;
268     display: block;
269     line-height: 1.5em;
270     margin-top: -0.25em;
271 }
272
273 span.translator {
274     font-size: 0.375em;
275     display: block;
276     line-height: 1.5em;
277     margin-top: 0.25em;
278 }
279
280 div.didaskalia {
281     font-style: italic;
282     margin: 0.5em 0 0 1.5em;
283 }
284
285 div.kwestia {
286     margin: 0.5em 0 0;
287 }
288
289 div.stanza {
290     margin: 1.5em 0 0;
291 }
292
293 div.kwestia div.stanza {
294     margin: 0;
295 }
296
297 p.paragraph {
298     text-align: justify;
299     margin: 1.5em 0 0;
300 }
301
302 p.motto {
303     text-align: justify;
304     font-style: italic;
305     margin: 1.5em 0 0;
306 }
307
308 p.motto_podpis {
309     font-size: 0.875em;
310     text-align: right;
311 }
312
313 div.fragment {
314     border-bottom: 0.1em solid #999;
315     padding-bottom: 1.5em;
316 }
317
318 div.note p, div.dedication p, div.note p.paragraph, div.dedication p.paragraph {
319     text-align: right;
320     font-style: italic;
321 }
322
323 hr.spacer {
324     height: 3em;
325     visibility: hidden;
326 }
327
328 hr.spacer-line {
329     margin: 1.5em 0;
330     border: none;
331     border-bottom: 0.1em solid #000;
332 }
333
334 p.spacer-asterisk {
335     padding: 0;
336     margin: 1.5em 0;
337     text-align: center;
338 }
339
340 div.person-list ol {
341     list-style: none;
342     padding: 0 0 0 1.5em;
343 }
344
345 p.place-and-time {
346     font-style: italic;
347 }
348
349 em.math, em.foreign-word, em.book-title, em.didaskalia {
350     font-style: italic;
351 }
352
353 em.author-emphasis {
354     letter-spacing: 0.1em;
355 }
356
357 em.person {
358     font-style: normal;
359     font-variant: small-caps;
360 }
361
362 .verse:after {
363     content: "\feff";
364 }
365
366
367 /* =================================== */
368 /* = Hide some elements for printing = */
369 /* =================================== */
370
371 @media print {
372     #menu {display: none;}
373 }