nicer spinner animation, some cleaning
[wl-mobile.git] / assets / www / css / book_text.css
1 /*
2  * This file is part of WolneLektury-Mobile, licensed under GNU Affero GPLv3 or later.
3  * Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
4  */
5
6 #book-text {
7         font-size: .9em;
8     line-height: 1.5em;
9     margin: 0;
10 }
11
12 #book-text a {
13     color: blue;
14     text-decoration: none;
15 }
16
17 .night-mode #book-text a {
18     color: #88f;
19 }
20
21
22 /* ================================== */
23 /* = Header with logo and menu      = */
24 /* ================================== */
25 #book-text #toc, #themes, #nota_red, #info {
26     display: none;
27 }
28
29 /* =================================================== */
30 /* = Common elements: headings, paragraphs and lines = */
31 /* =================================================== */
32 #book-text h1 {
33     font-size: 2.5em;
34     margin: 1.5em 0;
35     text-align: center;
36     line-height: 1.5em;
37     font-weight: bold;
38 }
39
40 #book-text h2 {
41     font-size: 1.7em;
42     margin: 1.5em 0 0;
43     font-weight: bold;
44     line-height: 1.5em;
45 }
46
47 #book-text h3 {
48     font-size: 1.4em;
49     margin: 1.5em 0 0;
50     font-weight: normal;
51     line-height: 1.5em;
52 }
53
54 #book-text h4 {
55     font-size: 1em;
56     margin: 1.5em 0 0;
57     line-height: 1.5em;
58 }
59
60 #book-text p {
61     margin: 0;
62 }
63
64 /* ======================== */
65 /* = Footnotes and themes = */
66 /* ======================== */
67 #book-text .theme-begin {
68         display:none;
69 }
70
71 #book-text .annotation {
72     font-style: normal;
73     font-weight: normal;
74     font-size: 12px;
75     padding-left: 2px;
76     position: relative;
77     top: -4px;
78 }
79
80 #book-text #footnotes {
81     margin-top: 3em;
82 }
83
84 #book-text #footnotes .annotation {
85     display: block;
86     float: left;
87     width: 2.5em;
88     clear: both;
89 }
90
91 #book-text #footnotes div {
92     margin: 1.5em 0 0 0;
93 }
94
95 #book-text #footnotes p, #footnotes ul {
96     margin-left: 2.5em;
97     font-size: 0.875em;
98 }
99
100 #book-text #footnotes .permalink {
101     font-size: .75em;
102 }
103
104 #book-text blockquote {
105     font-size: 0.875em;
106     margin: 0 0 0 1em;
107 }
108
109 /* ============= */
110 /* = Numbering = */
111 /* ============= */
112 #book-text .anchor{display:none;}
113
114 /* =================== */
115 /* = Custom elements = */
116 /* =================== */
117 #book-text span.author {
118     font-size: 0.5em;
119     display: block;
120     line-height: 1.5em;
121     margin-bottom: 0.25em;
122 }
123
124 #book-text span.collection {
125     font-size: 0.375em;
126     display: block;
127     line-height: 1.5em;
128     margin-bottom: -0.25em;
129 }
130
131 #book-text span.subtitle {
132     font-size: 0.5em;
133     display: block;
134     line-height: 1.5em;
135     margin-top: -0.25em;
136 }
137
138 #book-text span.translator {
139     font-size: 0.375em;
140     display: block;
141     line-height: 1.5em;
142     margin-top: 0.25em;
143 }
144
145 #book-text div.didaskalia {
146     font-style: italic;
147     margin: 0.5em 0 0 1.5em;
148 }
149
150 #book-text div.kwestia {
151     margin: 0.5em 0 0;
152 }
153
154 #book-text div.stanza {
155     margin: 1.5em 0 0;
156 }
157
158 #book-text div.kwestia div.stanza {
159     margin: 0;
160 }
161
162 #book-text p.paragraph {
163     text-align: justify;
164     margin: 1.5em 0 0;
165 }
166
167 #book-text p.motto {
168     text-align: justify;
169     font-style: italic;
170     margin: 1.5em 0 0;
171 }
172
173 #book-text p.motto_podpis {
174     font-size: 0.875em;
175     text-align: right;
176 }
177
178 #book-text div.fragment {
179     border-bottom: 0.1em solid #999;
180     padding-bottom: 1.5em;
181 }
182
183 #book-text div.note p, div.dedication p, div.note p.paragraph, div.dedication p.paragraph {
184     text-align: right;
185     font-style: italic;
186 }
187
188 #book-text hr.spacer {
189     height: 3em;
190     visibility: hidden;
191 }
192
193 #book-text hr.spacer-line {
194     margin: 1.5em 0;
195     border: none;
196     border-bottom: 0.1em solid #000;
197 }
198
199 #book-text p.spacer-asterisk {
200     padding: 0;
201     margin: 1.5em 0;
202     text-align: center;
203 }
204
205 #book-text div.person-list ol {
206     list-style: none;
207     padding: 0 0 0 1.5em;
208 }
209
210 #book-text p.place-and-time {
211     font-style: italic;
212 }
213
214 #book-text em.math, em.foreign-word, em.book-title, em.didaskalia {
215     font-style: italic;
216 }
217
218 #book-text em.author-emphasis {
219     letter-spacing: 0.1em;
220 }
221
222 #book-text em.person {
223     font-style: normal;
224     font-variant: small-caps;
225 }
226
227 #book-text .verse:after {
228     content: "\feff";
229 }