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