Revision 2927
Added by harris over 18 years ago
lib/style/skins/knp/knp.css | ||
---|---|---|
1 |
/* |
|
2 |
* '$RCSfile$' |
|
3 |
* Purpose: Default style sheet for KNB project web pages |
|
4 |
* Using this stylesheet rather than placing styles directly in |
|
5 |
* the KNB web documents allows us to globally change the |
|
6 |
* formatting styles of the entire site in one easy place. |
|
7 |
* Copyright: 2000 Regents of the University of California and the |
|
8 |
* National Center for Ecological Analysis and Synthesis |
|
9 |
* Authors: Matt Jones |
|
10 |
* |
|
11 |
* '$Author$' |
|
12 |
* '$Date$' |
|
13 |
* '$Revision$' |
|
14 |
* |
|
15 |
* This program is free software; you can redistribute it and/or modify |
|
16 |
* it under the terms of the GNU General Public License as published by |
|
17 |
* the Free Software Foundation; either version 2 of the License, or |
|
18 |
* (at your option) any later version. |
|
19 |
* |
|
20 |
* This program is distributed in the hope that it will be useful, |
|
21 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
22 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
23 |
* GNU General Public License for more details. |
|
24 |
* |
|
25 |
* You should have received a copy of the GNU General Public License |
|
26 |
* along with this program; if not, write to the Free Software |
|
27 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
28 |
*/ |
|
29 |
|
|
30 |
|
|
31 |
|
|
32 |
/* |
|
33 |
* import eml css: |
|
34 |
*/ |
|
35 |
|
|
36 |
@import url(@style-common-path@/@eml-css@); |
|
37 |
b { |
|
38 |
font-weight: bold; |
|
39 |
} |
|
40 |
|
|
41 |
/** |
|
42 |
* set the correct iframe sizes to accomodate the |
|
43 |
* header, footer, left and right areas. |
|
44 |
* NOTE: these styles apply only to each |
|
45 |
* container frame, *NOT* to the document within it! |
|
46 |
*/ |
|
47 |
.iframeheaderclass { |
|
48 |
height: 155px; |
|
49 |
width: 98%; |
|
50 |
border: 0px; |
|
51 |
margin: 0px; |
|
52 |
margin-left: 10px; |
|
53 |
} |
|
54 |
|
|
55 |
.iframesearchboxclass { /* not used */ } |
|
56 |
.iframeleftcolclass { /* not used */ } |
|
57 |
.iframerightcolclass { /* not used */ } |
|
58 |
.iframefooterclass { /* not used */ } |
|
59 |
|
|
60 |
/** |
|
61 |
* create a left margin for the document |
|
62 |
*/ |
|
63 |
|
|
64 |
body { margin-left: 70px; } |
|
65 |
|
|
66 |
/** |
|
67 |
* set the size and alignment etc of the top-level layout table |
|
68 |
*/ |
|
69 |
.templatetableclass { |
|
70 |
width: 100%; |
|
71 |
border: 0px; |
|
72 |
padding: 0px; |
|
73 |
margin: 0px; |
|
74 |
} |
|
75 |
|
|
76 |
|
|
77 |
/** |
|
78 |
* set the style of the main content area and its contents |
|
79 |
*/ |
|
80 |
.templatecontentareaclass { |
|
81 |
border: 0px; |
|
82 |
padding: 0px; |
|
83 |
margin: 0px; |
|
84 |
} |
|
85 |
|
|
86 |
|
|
87 |
/** |
|
88 |
* set the correct <td> sizes to accomodate the |
|
89 |
* header, footer, left and right iframes. |
|
90 |
* NOTE: these styles apply only to each |
|
91 |
* container frame, *NOT* to the document in |
|
92 |
* the iframe within it! |
|
93 |
*/ |
|
94 |
.templateheaderrowclass { |
|
95 |
height: 155px; |
|
96 |
/* |
|
97 |
no width allowed - uses same width as table class |
|
98 |
*/ |
|
99 |
border: 0px; |
|
100 |
padding: 0px; |
|
101 |
margin: 0px; |
|
102 |
} |
|
103 |
|
|
104 |
|
|
105 |
.templateleftcolclass { |
|
106 |
height: 100%; |
|
107 |
width: 0px; |
|
108 |
border: 0px; |
|
109 |
padding: 0px; |
|
110 |
margin: 0px; |
|
111 |
} |
|
112 |
|
|
113 |
|
|
114 |
.templaterightcolclass { |
|
115 |
height: 100%; |
|
116 |
width: 0px; |
|
117 |
border: 0px; |
|
118 |
padding: 0px; |
|
119 |
margin: 0px; |
|
120 |
} |
|
121 |
|
|
122 |
|
|
123 |
.templatefooterrowclass { |
|
124 |
height: 0px; |
|
125 |
/* |
|
126 |
no width allowed - uses same width as table class |
|
127 |
*/ |
|
128 |
border: 0px; |
|
129 |
padding: 0px; |
|
130 |
margin: 0px; |
|
131 |
} |
|
132 |
|
|
133 |
|
|
134 |
/** |
|
135 |
* these override styles imported from eml css |
|
136 |
*/ |
|
137 |
|
|
138 |
|
|
139 |
|
|
140 |
.sectionnames{ |
|
141 |
font-weight: bold; |
|
142 |
font-size: 16px; |
|
143 |
color: #096B79; |
|
144 |
} |
|
145 |
|
|
146 |
.linkedHeaderStyle{ |
|
147 |
|
|
148 |
background-color: #A3DADA; |
|
149 |
padding-left: 16%; |
|
150 |
} |
|
151 |
|
|
152 |
.title { |
|
153 |
font-family: Georgia, Times New Roman, Times, serif; |
|
154 |
color: black; |
|
155 |
background: white; |
|
156 |
font-size: 24px; |
|
157 |
font-weight: bold; |
|
158 |
} |
|
159 |
|
|
160 |
.secondCol{ |
|
161 |
background-color: #ffffff; |
|
162 |
font-size: 12px; |
|
163 |
padding-left: 5px; |
|
164 |
} |
|
165 |
|
|
166 |
.highlight { |
|
167 |
color: #096B79; |
|
168 |
background-color: #FFFFFF; |
|
169 |
font-style: italic; |
|
170 |
font-size: 1em; |
|
171 |
padding-left: 10px; |
|
172 |
} |
|
173 |
|
|
174 |
.citation { |
|
175 |
color: black; |
|
176 |
background-color: #FFFFFF; |
|
177 |
font-size: 1.2em; |
|
178 |
padding-left: 10px; |
|
179 |
} |
|
180 |
|
|
181 |
.tablehead { |
|
182 |
color: #096B79; |
|
183 |
background: #FFFFFF; |
|
184 |
text-align: left; |
|
185 |
font-size: 14px; |
|
186 |
font-weight: bold; |
|
187 |
border-top: solid #ffffff 15px; |
|
188 |
border-bottom: solid #dddddd 1px; |
|
189 |
padding-left: 10px; |
|
190 |
padding-top: 0px; |
|
191 |
padding-bottom: 0px; |
|
192 |
} |
|
193 |
|
|
194 |
th.tablehead { |
|
195 |
|
|
196 |
text-align: center; |
|
197 |
border-bottom: solid #006666 1px; |
|
198 |
margin: 0px; |
|
199 |
padding: 0px; |
|
200 |
height: 21px; |
|
201 |
} |
|
202 |
|
|
203 |
.tablehead_lcorner { |
|
204 |
background-position: right top; |
|
205 |
background-repeat: no-repeat; |
|
206 |
padding: 0px; |
|
207 |
margin: 0px; |
|
208 |
width: 10px; |
|
209 |
height: 21px; |
|
210 |
} |
|
211 |
|
|
212 |
.tablehead_rcorner { |
|
213 |
background-position: left top; |
|
214 |
background-repeat: no-repeat; |
|
215 |
padding: 0px; |
|
216 |
margin: 0px; |
|
217 |
width: 10px; |
|
218 |
height: 21px; |
|
219 |
} |
|
220 |
|
|
221 |
.lsid { |
|
222 |
text-decoration: underline; |
|
223 |
} |
|
224 |
|
|
225 |
a { |
|
226 |
color: #096B79; |
|
227 |
font-weight: bold; |
|
228 |
font-size: 12px; |
|
229 |
text-decoration: underline; } |
|
230 |
|
|
231 |
a:hover { |
|
232 |
color: #ECCE00; |
|
233 |
text-decoration: underline; } |
|
234 |
|
|
235 |
/** |
|
236 |
* these are used only in the metacat pages |
|
237 |
*/ |
|
238 |
|
|
239 |
p.emphasis { |
|
240 |
|
|
241 |
font-size: 18px; |
|
242 |
color: #dd7744; |
|
243 |
font-weight: bold; |
|
244 |
font-style: normal; |
|
245 |
} |
|
246 |
|
|
247 |
.searchresultsdivider { |
|
248 |
background-color: #dddddd; |
|
249 |
} |
|
250 |
|
|
251 |
/** |
|
252 |
* these are used only in the registry skins |
|
253 |
*/ |
|
254 |
|
|
255 |
|
|
256 |
|
|
257 |
|
|
258 |
p.searchbox { |
|
259 |
color: #096B79; |
|
260 |
font-weight: bold; |
|
261 |
font-size: 12px; |
|
262 |
text-decoration: none; |
|
263 |
} |
|
264 |
|
|
265 |
br { |
|
266 |
margin: 0px; |
|
267 |
padding: 0px; |
|
268 |
} |
|
269 |
|
|
270 |
|
|
271 |
.headertopmargin { |
|
272 |
margin-top: 10; |
|
273 |
} |
|
274 |
|
|
275 |
.intro { |
|
276 |
width: 760px; |
|
277 |
margin-left: 15px; |
|
278 |
} |
|
279 |
|
|
280 |
textarea { |
|
281 |
width: 80%; |
|
282 |
} |
|
283 |
|
|
284 |
.required { |
|
285 |
font-weight: bold; |
|
286 |
color: #b00000; |
|
287 |
} |
|
288 |
|
|
289 |
.label { |
|
290 |
font-weight: bold; |
|
291 |
} |
|
292 |
|
|
293 |
|
|
294 |
.emphasis { |
|
295 |
font-weight: bold; |
|
296 |
font-size: 18px; |
|
297 |
color: #000000; |
|
298 |
} |
|
299 |
|
|
300 |
.colorbold { |
|
301 |
font-weight: bold; |
|
302 |
color: #096B79; |
|
303 |
font-size: 12px; |
|
304 |
} |
|
305 |
|
|
306 |
.boldlink { |
|
307 |
font-weight: bold; |
|
308 |
font-size: 12px; |
|
309 |
} |
|
310 |
|
|
311 |
|
|
312 |
.redbold { |
|
313 |
font-weight: bold; |
|
314 |
color: #b00000; |
|
315 |
font-size: 12px; |
|
316 |
} |
|
317 |
|
|
318 |
.greenbold { |
|
319 |
font-weight: bold; |
|
320 |
color: #096B79; |
|
321 |
font-size: 12px; |
|
322 |
} |
|
323 |
|
|
324 |
.smalltext { |
|
325 |
font-weight: bold; |
|
326 |
font-size: 10px; |
|
327 |
vertical-align: super; |
|
328 |
} |
|
329 |
|
|
330 |
.largetext { |
|
331 |
font-weight: bold; |
|
332 |
font-size: 16px; |
|
333 |
} |
|
334 |
|
|
335 |
.italicized { |
|
336 |
font-style: italic; |
|
337 |
font-size: 12px; |
|
338 |
} |
|
339 |
|
|
340 |
.regtext { |
|
341 |
font-weight: normal; |
|
342 |
font-size: 12px; |
|
343 |
} |
|
344 |
.sectbody { |
|
345 |
background: #DEF1F1; |
|
346 |
font-size: 12px; |
|
347 |
font-weight: bold;} |
|
348 |
|
|
349 |
.sectheader { |
|
350 |
background: #A3DADA; |
|
351 |
font-size: 12px; |
|
352 |
font-weight: bold;} |
|
353 |
|
|
354 |
.tables { |
|
355 |
width: 760px; |
|
356 |
margin-left: 20px; |
|
357 |
border-top: solid black 1px; |
|
358 |
border-left: solid black 1px; |
|
359 |
border-right: solid black 1px; |
|
360 |
} |
|
361 |
|
|
362 |
.hide { |
|
363 |
display:none; |
|
364 |
} |
|
365 |
|
|
366 |
.showLink { |
|
367 |
cursor: pointer; |
|
368 |
cursor: hand; |
|
369 |
display:empty; |
|
370 |
} |
|
371 |
|
|
372 |
.bordertop { |
|
373 |
border-top: solid black 1px; |
|
374 |
} |
|
375 |
|
|
376 |
.borderbottom { |
|
377 |
border-bottom: 1px solid black;} |
|
378 |
|
|
379 |
.topbottom { |
|
380 |
border-top: 1px solid black; |
|
381 |
border-bottom: 1px solid black; |
|
382 |
} |
|
383 |
|
|
384 |
.longwidth { |
|
385 |
width: 80%; |
|
386 |
} |
|
387 |
|
|
388 |
.shortwidth { |
|
389 |
width: 40%; |
|
390 |
} |
|
391 |
|
|
392 |
.rightCol { |
|
393 |
width: 24%; |
|
394 |
text-align: right; |
|
395 |
} |
|
396 |
|
|
0 | 397 |
Also available in: Unified diff
Initial checkin of the knp skin.