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