Added copyright notice about AGPL. Removed setuputils in favour of plain distutils.
[librarian.git] / scripts / master.css
1 /*
2 #
3 #    This file is part of Librarian.
4 #
5 #    Copyright © 2008,2009,2010 Fundacja Nowoczesna Polska <fundacja@nowoczesnapolska.org.pl>
6 #    
7 #    For full list of contributors see AUTHORS file. 
8 #
9 #    This program is free software: you can redistribute it and/or modify
10 #    it under the terms of the GNU Affero General Public License as published by
11 #    the Free Software Foundation, either version 3 of the License, or
12 #    (at your option) any later version.
13 #
14 #    This program is distributed in the hope that it will be useful,
15 #    but WITHOUT ANY WARRANTY; without even the implied warranty of
16 #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 #    GNU Affero General Public License for more details.
18 #
19 #    You should have received a copy of the GNU Affero General Public License
20 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
21 #
22 */
23 body {
24     font-size: 16px;
25     font: Georgia, "Times New Roman", serif;
26     line-height: 1.5em;
27     margin: 3em;
28     max-width: 36em;
29 }
30
31 a {
32     color: blue;
33     text-decoration: none;
34 }
35
36 /* =================================================== */
37 /* = Common elements: headings, paragraphs and lines = */
38 /* =================================================== */
39 h1 {
40     font-size: 3em;
41     margin: 1.5em 0;
42     text-align: center;
43     line-height: 1.5em;
44     font-weight: bold;
45 }
46
47 h2 {
48     font-size: 2em;
49     margin: 1.5em 0 0;
50     font-weight: bold;
51     line-height: 1.5em;
52 }
53
54 h3 {
55     font-size: 1.5em;
56     margin: 1.5em 0 0;
57     font-weight: normal;
58     line-height: 1.5em;
59 }
60
61 h4 {
62     font-size: 1em;
63     margin: 1.5em 0 0;
64     line-height: 1.5em;
65 }
66
67 p {
68     margin: 0;
69 }
70
71 /* ======================== */
72 /* = Footnotes and themes = */
73 /* ======================== */
74 .theme-begin {
75     border-left: 0.1em solid #DDDDDD;
76     color: #777;
77     padding: 0 0.5em;
78     width: 7.5em;
79     font-style: normal;
80     font-weight: normal;
81     font-size: 16px;
82     position: absolute;
83     left: 40em;
84     line-height: 1.5em;
85     text-align: left;
86 }
87
88 .annotation {
89     font-style: normal;
90     font-weight: normal;
91     font-size: 12px;
92 }
93
94 #footnotes .annotation {
95     display: block;
96     float: left;
97     width: 2.5em;
98     clear: both;
99 }
100
101 #footnotes div {
102     margin: 1.5em 0 0 0;
103 }
104
105 #footnotes p {
106     margin-left: 2.5em;
107 }
108
109
110 /* ============= */
111 /* = Numbering = */
112 /* ============= */
113 .anchor {
114     float: left;
115     margin: -0.2em -0.5em -0.2em -3.5em;
116     color: #777;
117     font-size: 12px;
118     width: 2em;
119     text-align: center;
120     padding: 0.2em 0.5em;
121 }
122
123 .anchor:hover, .anchor:active {
124     color: #FFF;
125     background-color: #CCC;
126 }
127
128
129 /* =================== */
130 /* = Custom elements = */
131 /* =================== */
132 span.author {
133     font-size: 0.75em;
134     display: block;
135     line-height: 1.5em;
136     margin-bottom: 0.25em;
137 }
138
139 span.collection {
140     font-size: 0.75em;
141     display: block;
142     line-height: 1.5em;
143     margin-bottom: -0.25em;
144 }
145
146 span.subtitle {
147     font-size: 0.75em;
148     display: block;
149     line-height: 1.5em;
150     margin-top: -0.25em;
151 }
152
153 div.didaskalia {
154     font-style: italic;
155     margin: 0.5em 0 0;
156 }
157
158 div.kwestia {
159     margin: 0.5em 0 0;
160 }
161
162 div.stanza {
163     margin: 1.5em 0 0;
164 }
165
166 div.kwestia div.stanza {
167     margin: 0;
168 }
169
170 p.paragraph {
171     text-align: justify;
172     margin: 1.5em 0 0;
173 }
174
175 p.motto {
176     text-align: justify;
177     font-style: italic;
178     margin: 1.5em 0 0;
179 }
180
181 p.motto_podpis {
182     font-size: 0.875em;
183 }
184
185 div.fragment {
186     border-bottom: 0.1em solid #999;
187     padding-bottom: 1.5em;
188 }
189
190 div.note p, div.dedication p, div.note p.paragraph, div.dedication p.paragraph {
191     text-align: right;
192     font-style: italic;
193 }
194
195 hr.spacer {
196     height: 3em;
197     visibility: hidden;
198 }
199
200 hr.spacer-line {
201     margin: 1.5em 0;
202     border: none;
203     border-bottom: 0.1em solid #000;
204 }
205
206 p.spacer-asterisk {
207     padding: 0;
208     margin: 1.5em 0;
209     text-align: center;
210 }
211
212 div.person-list ol {
213     list-style: none;
214     padding: 0 0 0 1.5em;
215 }
216
217 p.place-and-time {
218     font-style: italic;
219 }
220
221 em.math, em.foreign-word, em.book-title, em.didaskalia, em.author-emphasis {
222     font-style: italic;
223 }
224
225 em.person {
226     font-style: normal;
227     font-variant: small-caps;
228 }
229