Added fragment anchors.
[wolnelektury.git] / wolnelektury / media / css / 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: #666;
55     float: right;
56     margin: 0 -9.5em 0 0;
57     padding: 0 0.5em;
58     width: 7.5em;
59     font-style: normal;
60     font-weight: normal;
61     font-size: 16px;
62 }
63
64 .annotation {
65     font-style: normal;
66     font-weight: normal;
67     font-size: 12px;
68 }
69
70 #footnotes .annotation {
71     display: block;
72     float: left;
73     width: 2.5em;
74     clear: both;
75 }
76
77 #footnotes div {
78     margin: 1.5em 0 0 0;
79 }
80
81 #footnotes p {
82     margin-left: 2.5em;
83 }
84
85
86 /* ============= */
87 /* = Numbering = */
88 /* ============= */
89 .anchor {
90     float: left;
91     margin: -0.2em -0.5em -0.2em -3.5em;
92     color: #777;
93     font-size: 12px;
94     width: 2em;
95     text-align: center;
96     padding: 0.2em 0.5em;
97 }
98
99 .anchor:hover, .anchor:active {
100     color: #FFF;
101     background-color: #CCC;
102 }
103
104 /* =================== */
105 /* = Custom elements = */
106 /* =================== */
107 span.author {
108     font-size: 0.75em;
109     display: block;
110     line-height: 1.5em;
111     margin-bottom: 0.25em;
112 }
113
114 span.collection {
115     font-size: 0.75em;
116     display: block;
117     line-height: 1.5em;
118     margin-bottom: -0.25em;
119 }
120
121 span.subtitle {
122     font-size: 0.75em;
123     display: block;
124     line-height: 1.5em;
125     margin-top: -0.25em;
126 }
127
128 div.didaskalia {
129     font-style: italic;
130     margin: 0.5em 0 0;
131 }
132
133 div.kwestia {
134     margin: 0.5em 0 0;
135 }
136
137 div.stanza {
138     margin: 1.5em 0 0;
139 }
140
141 div.kwestia div.stanza {
142     margin: 0;
143 }
144
145 p.paragraph {
146     text-align: justify;
147     margin: 1.5em 0 0;
148 }
149
150 p.motto {
151     text-align: justify;
152     font-style: italic;
153     margin: 1.5em 0 0;
154 }
155
156 p.motto_podpis {
157     font-size: 0.875em;
158 }
159
160 div.fragment {
161     border-bottom: 0.1em solid #999;
162     padding-bottom: 1.5em;
163 }
164
165 div.note p, div.dedication p, div.note p.paragraph, div.dedication p.paragraph {
166     text-align: right;
167     font-style: italic;
168 }
169
170 hr.spacer {
171     height: 3em;
172     visibility: hidden;
173 }
174
175 hr.spacer-line {
176     margin: 1.5em 0;
177     border: none;
178     border-bottom: 0.1em solid #000;
179 }
180
181 p.spacer-asterisk {
182     padding: 0;
183     margin: 1.5em 0;
184     text-align: center;
185 }
186
187 div.person-list ol {
188     list-style: none;
189     padding: 0 0 0 1.5em;
190 }
191
192 p.place-and-time {
193     font-style: italic;
194 }
195
196 em.math, em.foreign-word, em.book-title, em.didaskalia, em.author-emphasis {
197     font-style: italic;
198 }
199
200 em.person {
201     font-style: normal;
202     font-variant: small-caps;
203 }
204