fixes #3242: Indent paragraphs
[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, #objects 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: 0;
195     text-indent: 1.5em;
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 }