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