fixes
[wolnelektury.git] / apps / wolnelektury_core / static / css / new.book.css
1 body {
2     font-size: 16px;
3     font-family: 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 /* ================================== */
14 /* = Header with logo and menu      = */
15 /* ================================== */
16 #toc ol, #themes ol {
17     list-style: none;
18     padding: 0;
19     margin: 0;
20 }
21
22 #toc ol li {
23     font-weight: bold;
24 }
25
26 #toc ol ol {
27     padding: 0 0 1.5em 1.5em;
28     margin: 0;
29 }
30
31 #toc ol ol li {
32     font-weight: normal;
33 }
34
35 #toc h2 {
36     display: none;
37 }
38
39 #toc .anchor {
40     float: none;
41     margin: 0;
42     color: blue;
43     font-size: 16px;
44     position: inherit;
45 }
46
47 #info p {
48     margin: 1em 0 0;
49 }
50
51 /* =================================================== */
52 /* = Common elements: headings, paragraphs and lines = */
53 /* =================================================== */
54 h1 {
55     font-size: 3em;
56     margin: 1.5em 0;
57     text-align: center;
58     line-height: 1.5em;
59     font-weight: bold;
60 }
61
62 h2 {
63     font-size: 2em;
64     margin: 1.5em 0 0;
65     font-weight: bold;
66     line-height: 1.5em;
67 }
68
69 h3 {
70     font-size: 1.5em;
71     margin: 1.5em 0 0;
72     font-weight: normal;
73     line-height: 1.5em;
74 }
75
76 h4 {
77     font-size: 1em;
78     margin: 1.5em 0 0;
79     line-height: 1.5em;
80 }
81
82 p {
83     margin: 0;
84 }
85
86 /* ======================== */
87 /* = Footnotes and themes = */
88 /* ======================== */
89
90 .annotation {
91     font-style: normal;
92     font-weight: normal;
93     font-size: .75em;
94     padding-left: 2px;
95     position: relative;
96     top: -4px;
97 }
98
99 #footnotes {
100     margin-top: 3em;
101 }
102
103 #footnotes .annotation {
104     display: block;
105     float: left;
106     width: 2.5em;
107     clear: both;
108 }
109
110 #footnotes div {
111     margin: 1.5em 0 0 0;
112 }
113
114 #footnotes p, #footnotes ul {
115     margin-left: 2.5em;
116     font-size: 0.875em;
117 }
118
119 #footnotes .permalink {
120     font-size: .75em;
121 }
122
123 blockquote {
124     font-size: 0.875em;
125 }
126
127 /* ============= */
128 /* = Numbering = */
129 /* ============= */
130 .verse, .paragraph {
131     position:relative;
132 }
133 /*.anchor {
134     position: absolute;
135     margin: -0.25em -0.5em;
136     color: #777;
137     font-size: 12px;
138     text-align: center;
139     padding: 0.25em 0.5em;
140     line-height: 1.5em;
141 }*/
142
143
144 /* =================== */
145 /* = Custom elements = */
146 /* =================== */
147 span.author {
148     font-size: 0.5em;
149     display: block;
150     line-height: 1.5em;
151     margin-bottom: 0.25em;
152 }
153
154 span.collection {
155     font-size: 0.375em;
156     display: block;
157     line-height: 1.5em;
158     margin-bottom: -0.25em;
159 }
160
161 span.subtitle {
162     font-size: 0.5em;
163     display: block;
164     line-height: 1.5em;
165     margin-top: -0.25em;
166 }
167
168 span.translator {
169     font-size: 0.375em;
170     display: block;
171     line-height: 1.5em;
172     margin-top: 0.25em;
173 }
174
175 div.didaskalia {
176     font-style: italic;
177     margin: 0.5em 0 0 1.5em;
178 }
179
180 div.kwestia {
181     margin: 0.5em 0 0;
182 }
183
184 div.stanza {
185     margin: 1.5em 0 0;
186 }
187
188 div.kwestia div.stanza {
189     margin: 0;
190 }
191
192 p.paragraph {
193     text-align: justify;
194     margin: 1.5em 0 0;
195 }
196
197 p.motto {
198     text-align: justify;
199     font-style: italic;
200     margin: 1.5em 0 0;
201 }
202
203 p.motto_podpis {
204     font-size: 0.875em;
205     text-align: right;
206 }
207
208 div.fragment {
209     border-bottom: 0.1em solid #999;
210     padding-bottom: 1.5em;
211 }
212
213 div.note p, div.dedication p, div.note p.paragraph, div.dedication p.paragraph {
214     text-align: right;
215     font-style: italic;
216 }
217
218 hr.spacer {
219     height: 3em;
220     visibility: hidden;
221 }
222
223 hr.spacer-line {
224     margin: 1.5em 0;
225     border: none;
226     border-bottom: 0.1em solid #000;
227 }
228
229 p.spacer-asterisk {
230     padding: 0;
231     margin: 1.5em 0;
232     text-align: center;
233 }
234
235 div.person-list ol {
236     list-style: none;
237     padding: 0 0 0 1.5em;
238 }
239
240 p.place-and-time {
241     font-style: italic;
242 }
243
244 em.math, em.foreign-word, em.book-title, em.didaskalia {
245     font-style: italic;
246 }
247
248 em.author-emphasis {
249     letter-spacing: 0.1em;
250 }
251
252 em.person {
253     font-style: normal;
254     font-variant: small-caps;
255 }
256
257 .verse:after {
258     content: "\feff";
259 }
260
261
262 /* =================================== */
263 /* = Hide some elements for printing = */
264 /* =================================== */
265
266 @media print {
267     #menu {display: none;}
268 }