* Readonly document view.
[redakcja.git] / platforma / static / css / html_print.css
1 /* Style widoku HTML. Nie należy tu ustawiać position ani marginesów */
2 .htmlview {
3     font-size: 16px;
4     font: Georgia, "Times New Roman", serif;
5     line-height: 1.5em;
6     padding: 3em;    
7 }
8
9 .htmlview div {
10     max-width: 36em;
11 }
12
13 .htmlview #toc {
14     display: none;
15 }
16
17 .htmlview a {
18     color: blue;
19     text-decoration: none;
20 }
21
22 .htmlview 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 .htmlview h2 {
31     font-size: 2em;
32     margin: 1.5em 0 0;
33     font-weight: bold;
34     line-height: 1.5em;
35 }
36
37 .htmlview h3 {
38     font-size: 1.5em;
39     margin: 1.5em 0 0;
40     font-weight: normal;
41     line-height: 1.5em;
42 }
43
44 .htmlview h4 {
45     font-size: 1em;
46     margin: 1.5em 0 0;
47     line-height: 1.5em;
48 }
49
50 .htmlview p {
51     margin: 0;
52 }
53
54 /* ======================== */
55 /* = Footnotes and themes = */
56 /* ======================== */
57 .htmlview .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     float: right;
66     margin-right: -9.5em;
67     clear: both;
68     left: 40em;
69     line-height: 1.5em;
70     text-align: left;
71 }
72
73 .htmlview .annotation {
74     font-style: normal;
75     font-weight: normal;
76     font-size: 12px;
77 }
78
79 .htmlview #footnotes .annotation {
80     display: block;
81     float: left;
82     width: 2.5em;
83     clear: both;
84 }
85
86 .htmlview #footnotes div {
87     margin: 1.5em 0 0 0;
88 }
89
90 .htmlview #footnotes p {
91     margin-left: 2.5em;
92     font-size: 0.875em;
93 }
94
95 .htmlview blockquote {
96     font-size: 0.875em;
97 }
98
99 /* ============= */
100 /* = Numbering = */
101 /* ============= */
102 .htmlview p {
103     position: relative;
104 }
105
106 .htmlview .anchor {
107     position: absolute;
108     margin: 0em;
109     left: -3em;
110     color: #777;
111     font-size: 12px;
112     width: 2em;
113     text-align: center;
114     padding: 0.25em 0.5em;
115     line-height: 1.5em;
116 }
117
118 .htmlview .anchor:hover, .htmlview .anchor:active {
119     color: #FFF;
120     background-color: #CCC;
121 }
122
123 /* =================== */
124 /* = Custom elements = */
125 /* =================== */
126 .htmlview span.author {
127     font-size: 0.5em;
128     display: block;
129     line-height: 1.5em;
130     margin-bottom: 0.25em;
131 }
132
133 .htmlview span.collection {
134     font-size: 0.375em;
135     display: block;
136     line-height: 1.5em;
137     margin-bottom: -0.25em;
138 }
139
140 .htmlview span.subtitle {
141     font-size: 0.5em;
142     display: block;
143     line-height: 1.5em;
144     margin-top: -0.25em;
145 }
146
147 .htmlview div.didaskalia {
148     font-style: italic;
149     margin: 0.5em 0 0 1.5em;
150 }
151
152 .htmlview div.kwestia {
153     margin: 0.5em 0 0;
154 }
155
156 .htmlview div.stanza {
157     margin: 1.5em 0 0;
158 }
159
160 .htmlview div.kwestia div.stanza {
161     margin: 0;
162 }
163
164 .htmlview p.paragraph {
165     text-align: justify;
166     margin: 1.5em 0 0;
167 }
168
169 .htmlview p.motto {
170     text-align: justify;
171     font-style: italic;
172     margin: 1.5em 0 0;
173 }
174
175 .htmlview p.motto_podpis {
176     font-size: 0.875em;
177     text-align: right;
178 }
179
180 .htmlview div.fragment {
181     border-bottom: 0.1em solid #999;
182     padding-bottom: 1.5em;
183 }
184
185 .htmlview div.note p, .htmlview div.dedication p,
186 .htmlview div.note p.paragraph, .htmlview div.dedication p.paragraph {
187     text-align: right;
188     font-style: italic;
189 }
190
191 .htmlview hr.spacer {
192     height: 3em;
193     visibility: hidden;
194 }
195
196 .htmlview hr.spacer-line {
197     margin: 1.5em 0;
198     border: none;
199     border-bottom: 0.1em solid #000;
200 }
201
202 .htmlview p.spacer-asterisk {
203     padding: 0;
204     margin: 1.5em 0;
205     text-align: center;
206 }
207
208 .htmlview div.person-list ol {
209     list-style: none;
210     padding: 0 0 0 1.5em;
211 }
212
213 .htmlview p.place-and-time {
214     font-style: italic;
215 }
216
217 .htmlview em.math, .htmlview em.foreign-word,
218 .htmlview em.book-title, .htmlview em.didaskalia {
219     font-style: italic;
220 }
221
222 .htmlview em.author-emphasis {
223     letter-spacing: 0.1em;
224 }
225
226 .htmlview em.person {
227     font-style: normal;
228     font-variant: small-caps;
229 }