comparison software/eXist/webapp/mpdl/presentation/pageHtml.css @ 7:5589d865af7a

Erstellung XQL/XSL Applikation
author Josef Willenborg <jwillenborg@mpiwg-berlin.mpg.de>
date Tue, 08 Feb 2011 15:16:46 +0100
parents
children d6f528ad5d96
comparison
equal deleted inserted replaced
6:2396a569e446 7:5589d865af7a
1 /* general */
2 .it { font-style:italic } /* DESpecs: _ _ and attribute "it" */
3 .it span.it { font-style:normal } /* DESpecs: _ _ within a paragraph already in italics */
4 .bf { font-weight:bold } /* DESpecs: <bf> */
5 .sc { font-variant:small-caps } /* DESpecs: <sc> */
6 .sub { vertical-align:sub; font-size:.8em } /* DESpecs: <_> */ /* line-height:1em; ? */
7 .super { vertical-align:super; font-size:.8em } /* DESpecs: <^> */
8 .sm { font-size:smaller } /* DESpecs: <sm>, if within <p> */
9 .ul { text-decoration:underline } /* DESpecs: <ul> */
10 .ol { text-decoration:overline } /* DESpecs: <ol> */
11 .st { text-decoration:line-through } /* DESpecs: <st> */
12 .red { color:red } /* DESpecs: <red> */
13 .sp { letter-spacing:0.3em } /* DESpecs: <sp> */ /* "font-stretch:wider;" is deprecated */
14 .center { text-align:center }
15 .fr { font-family:'Lucida blackletter'} /* preliminary representation of Fraktur */
16
17 /* unused */
18 .setoff { margin-left:2cm; margin-right:2cm }
19
20 /* xml presentation */
21 span.xml.elementName { font-weight:bold;color:purple; }
22 span.xml.attributeName { font-weight:bold; }
23 span.xml.attributeValue { color:blue; }
24 ul.xml.element { margin-left:0px;padding-left:8px }
25 ul.xml.element.highlight { background-color:#D3D3D3; } /* LightGrey */
26
27 /* drop cap (Initiale) */
28 span.dc {
29 float: left;
30 font-family: Georgia;
31 font-size: 250%;
32 line-height: 0.8em;
33 text-transform: uppercase; /* immer als Großbuchstabe */
34 margin-right: 10px;
35 padding-top: 1px;
36 }
37
38 /* variables and numbers */
39 span.var { font-style:italic; }
40 span.var.segment { font-style:italic; text-decoration:overline; }
41 span.var.line { font-style:italic; text-decoration:underline; }
42 span.var.gnomon { font-style:italic; text-decoration:line-through; }
43 span.num { color:maroon }
44
45 /* foreign languages */
46 span.foreign { color:green; }
47 span.foreign a:link { color:green; }
48 span.foreign a:visited { color:green; }
49 span.foreign.el span.foreign.grc span.foreign.greek { color:green; }
50 span.foreign.en span.foreign.english { color:green; }
51 span.foreign.fr span.foreign.french { color:green; }
52 span.foreign.la span.foreign.latin { color:green; }
53 /* ..... */
54
55
56 /* indentation at the beginning of a paragraph: <emph class="sc it"> */
57 span.sc { font-weight:bold; }
58 span.sc.it {font-weight:bold; font-style:italic; }
59
60 /* regularized words */
61 span.reg { color:purple; }
62
63 /* ref */
64 span.ref { font-style:italic; }
65
66 /* quotes */
67 div.q { margin-left:10px; font-style:italic; }
68 div.quote { margin-left:10px; font-style:italic; }
69 div.blockquote { margin-left:10px; font-style:normal; }
70 div.set-off { margin-left:10px; font-style:italic; }
71
72 /* notes */
73 span.note { font-style:italic; }
74
75 /* GIS elements */
76 span.place { background-color:#87F717; color:black; } /* Lawn green */
77 span.person { background-color:#87F717; color:black; } /* Lawn green */
78 span.time { background-color:#87F717; color:black; } /* Lawn green */
79 span.event { background-color:#87F717; color:black; } /* Lawn green */
80
81 /* preliminary representations of single/double/wavy/circled lines in Chinese text */
82 span.sl { text-decoration:underline; } /* DESpecs for Chinese: <sl> */
83 span.dl { text-decoration:underline; } /* DESpecs for Chinese: <dl> */
84 span.wl { text-decoration:underline; } /* DESpecs for Chinese: <wl> */
85 span.cl { text-decoration:underline; } /* DESpecs for Chinese: <cl> */
86
87 /* sentence */
88 span.s.highlight { background-color:#D3D3D3; } /* LightGrey */
89 span.s:hover { background-color:#D3D3D3; } /* LightGrey */
90
91 /* highlighting */
92 span.hit.highlight { background-color:#77DD77; } /* pastell green */
93
94 /* Links
95 a:link {text-decoration: none;}
96 a:visited {text-decoration: none}
97 a:active {text-decoration: none}
98 a:hover {text-decoration: underline; color: red;}
99 */
100
101 /* table */
102 table { margin-left:30px; }
103
104 table.toc { width:100%; margin-left:1px; }
105
106 /* page splittings: hr etc. */
107 hr.notesBottom {
108 border:none;
109 border-top:2px dashed black;
110 height:2px;
111 color:#000000;
112 background:transparent;
113 }
114
115 div.handwritten {
116 margin-left:10%;
117 }
118
119 /* divs */
120 div.float.none {
121 margin-left:10%;
122 }
123 div.float.right {
124 float:right;
125 clear:both;
126 margin-right:10%
127 }
128
129 /* toc elements */
130 div.toc.float.right {
131 text-align:center;
132 vertical-align:top;
133 top:10%;
134 clear:right;
135 font-style:normal;
136 }
137 div.toc.float.right a:link, a:visited {
138 text-decoration: none;
139 font-style: normal;
140 }
141 div.toc.one {
142 clear: left;
143 text-align: left;
144 vertical-align:top;
145 float:left;
146 margin-left:2%;
147 width:75%;
148 }
149 div.toc.two {
150 clear:left;
151 text-align: left;
152 vertical-align:top;
153 float:left;
154 margin-left:2%;
155 width:75%;
156 }
157 div.toc.three {
158 clear:left;
159 text-align: left;
160 vertical-align:top;
161 float:left;
162 margin-left:2%;
163 width:75%;
164 }
165 div.toc.four div.toc.five div.toc.six div.toc.seven {
166 clear:left;
167 text-align: left;
168 vertical-align:top;
169 float:left;
170 margin-left:2%;
171 width:75%;
172 }
173
174
175 /* page styling for generating PDF documents with Flying Saucer */
176 div.pageNumber {
177 display:none;
178 }
179 div.pageNumberOrig {
180 display:none;
181 }
182 div.countPages {
183 display:none;
184 }
185 div.countPlaces {
186 display:none;
187 }
188 div.countTocEntries {
189 display:none;
190 }
191 div.countFigureEntries {
192 display:none;
193 }
194 div.pageHeaderTitle {
195 font-weight:bold;
196 text-align:center;
197 }
198 body {
199 counter-reset: pn;
200 }
201 div.page:before {
202 float:right;
203 font:11pt sans-serif;
204 font-weight:bold;
205 content:"[Page " counter(pn) "]";
206 counter-increment:pn;
207 page:pdfPage;
208 clear:both;
209 }
210 div.page {
211 page-break-after:always;
212 page:pdfPage;
213 clear:both;
214 }
215 @page pdfPage {
216 size:A4;
217 margin-top:0.7cm;
218 margin-bottom:0.7cm;
219 margin-left:0.7cm;
220 margin-right:0.7cm;
221 padding:0.2cm;
222 border:thin solid #808080;
223 @top-left { font: 11pt sans-serif; padding-left: 0.2cm; padding-right: 1cm; font-weight:bold;};
224 @top-right { font: 11pt sans-serif; white-space: nowrap; font-weight:bold;};
225 @bottom-left { font: 11pt sans-serif; white-space: nowrap; font-weight:bold;};
226 @bottom-right { font: 11pt sans-serif; white-space: nowrap; content: counter(page);};
227 }
228
229 div.tocPage {
230 page-break-after:always;
231 page:tocPage;
232 }
233 @page tocPage {
234 size:A4;
235 margin-top:0.7cm;
236 margin-bottom:0.7cm;
237 margin-left:0.7cm;
238 margin-right:0.7cm;
239 padding:0.2cm;
240 border:thin solid #808080;
241 @top-left { font: 11pt sans-serif; padding-left: 0.2cm; padding-right: 1cm; font-weight:bold;};
242 @top-right { font: 11pt sans-serif; white-space: nowrap; font-weight:bold;};
243 @bottom-left { font: 11pt sans-serif; white-space: nowrap; font-weight:bold;};
244 @bottom-right { font: 11pt sans-serif; white-space: nowrap; content: counter(page);};
245 }