jplayer
[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 {
207     margin-top: 3em;
208 }
209
210 #footnotes .annotation {
211     display: block;
212     float: left;
213     width: 2.5em;
214     clear: both;
215 }
216
217 #footnotes div {
218     margin: 1.5em 0 0 0;
219 }
220
221 #footnotes p, #footnotes ul {
222     margin-left: 2.5em;
223     font-size: 0.875em;
224 }
225
226 #footnotes .permalink {
227     font-size: .75em;
228 }
229
230 blockquote {
231     font-size: 0.875em;
232 }
233
234 /* ============= */
235 /* = Numbering = */
236 /* ============= */
237 .verse, .paragraph {
238     position:relative;
239 }
240 .anchor {
241     position: absolute;
242     margin: -0.25em -0.5em;
243     left: -3em;
244     color: #777;
245     font-size: 12px;
246     width: 2em;
247     text-align: center;
248     padding: 0.25em 0.5em;
249     line-height: 1.5em;
250 }
251
252 .anchor:hover, #book-text .anchor:active {
253     color: #FFF;
254     background-color: #CCC;
255 }
256
257 /* =================== */
258 /* = Custom elements = */
259 /* =================== */
260 span.author {
261     font-size: 0.5em;
262     display: block;
263     line-height: 1.5em;
264     margin-bottom: 0.25em;
265 }
266
267 span.collection {
268     font-size: 0.375em;
269     display: block;
270     line-height: 1.5em;
271     margin-bottom: -0.25em;
272 }
273
274 span.subtitle {
275     font-size: 0.5em;
276     display: block;
277     line-height: 1.5em;
278     margin-top: -0.25em;
279 }
280
281 span.translator {
282     font-size: 0.375em;
283     display: block;
284     line-height: 1.5em;
285     margin-top: 0.25em;
286 }
287
288 div.didaskalia {
289     font-style: italic;
290     margin: 0.5em 0 0 1.5em;
291 }
292
293 div.kwestia {
294     margin: 0.5em 0 0;
295 }
296
297 div.stanza {
298     margin: 1.5em 0 0;
299 }
300
301 div.kwestia div.stanza {
302     margin: 0;
303 }
304
305 p.paragraph {
306     text-align: justify;
307     margin: 1.5em 0 0;
308 }
309
310 p.motto {
311     text-align: justify;
312     font-style: italic;
313     margin: 1.5em 0 0;
314 }
315
316 p.motto_podpis {
317     font-size: 0.875em;
318     text-align: right;
319 }
320
321 div.fragment {
322     border-bottom: 0.1em solid #999;
323     padding-bottom: 1.5em;
324 }
325
326 div.note p, div.dedication p, div.note p.paragraph, div.dedication p.paragraph {
327     text-align: right;
328     font-style: italic;
329 }
330
331 hr.spacer {
332     height: 3em;
333     visibility: hidden;
334 }
335
336 hr.spacer-line {
337     margin: 1.5em 0;
338     border: none;
339     border-bottom: 0.1em solid #000;
340 }
341
342 p.spacer-asterisk {
343     padding: 0;
344     margin: 1.5em 0;
345     text-align: center;
346 }
347
348 div.person-list ol {
349     list-style: none;
350     padding: 0 0 0 1.5em;
351 }
352
353 p.place-and-time {
354     font-style: italic;
355 }
356
357 em.math, em.foreign-word, em.book-title, em.didaskalia {
358     font-style: italic;
359 }
360
361 em.author-emphasis {
362     letter-spacing: 0.1em;
363 }
364
365 em.person {
366     font-style: normal;
367     font-variant: small-caps;
368 }
369
370 .verse:after {
371     content: "\feff";
372 }
373
374
375 /* =================================== */
376 /* = Hide some elements for printing = */
377 /* =================================== */
378
379 @media print {
380     #menu {display: none;}
381 }