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