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: barteau $'
|
12
|
* '$Date: 2007-08-28 09:26:51 -0700 (Tue, 28 Aug 2007) $'
|
13
|
* '$Revision: 3384 $'
|
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(/knp/style/common/eml_xsl.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: 120px;
|
49
|
width: 98%;
|
50
|
border: 0px;
|
51
|
margin: 10px;
|
52
|
}
|
53
|
|
54
|
.iframeloginboxclass {
|
55
|
height: 600px;
|
56
|
width: 95%;
|
57
|
border: 0px;
|
58
|
margin: 10px;
|
59
|
vertical-align: top;
|
60
|
}
|
61
|
|
62
|
|
63
|
.iframesearchboxclass { /* not used */ }
|
64
|
.iframeleftcolclass { /* not used */ }
|
65
|
|
66
|
.iframefooterclass {
|
67
|
height: 130px;
|
68
|
width: 98%;
|
69
|
border: 0px;
|
70
|
margin: 10px;
|
71
|
}
|
72
|
|
73
|
.iframerightcolclass { /* not used */ }
|
74
|
|
75
|
td.mapColumn {
|
76
|
vertical-align: top;
|
77
|
}
|
78
|
|
79
|
#mapFrame {
|
80
|
height: 59em;
|
81
|
border-width: 0px;
|
82
|
vertical-align: top;
|
83
|
}
|
84
|
|
85
|
#mapFrame {
|
86
|
/* IE5.5+/Win */
|
87
|
/*
|
88
|
position: absolute;
|
89
|
right: expression( (0 + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px');
|
90
|
top: expression( ( 0 + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
|
91
|
width: 80px;
|
92
|
*/
|
93
|
}
|
94
|
|
95
|
body > table td #mapFrame {
|
96
|
/* used by Netscape6+/Mozilla, Opera 5+, Konqueror, Safari, OmniWeb 4.5+, ICEbrowser */
|
97
|
width: 290px;
|
98
|
}
|
99
|
|
100
|
|
101
|
|
102
|
|
103
|
|
104
|
|
105
|
/**
|
106
|
* create a left margin for the document
|
107
|
*/
|
108
|
|
109
|
body { margin-left: 70px; }
|
110
|
|
111
|
/**
|
112
|
* set the size and alignment etc of the top-level layout table
|
113
|
*/
|
114
|
.templatetableclass {
|
115
|
width: 100%;
|
116
|
border: 0px;
|
117
|
padding: 0px;
|
118
|
margin: 0px;
|
119
|
}
|
120
|
|
121
|
|
122
|
/**
|
123
|
* set the style of the main content area and its contents
|
124
|
*/
|
125
|
.templatecontentareaclass {
|
126
|
border: 0px;
|
127
|
padding: 0px;
|
128
|
margin: 0px;
|
129
|
width: 100%;
|
130
|
}
|
131
|
|
132
|
|
133
|
/**
|
134
|
* set the correct <td> sizes to accomodate the
|
135
|
* header, footer, left and right iframes.
|
136
|
* NOTE: these styles apply only to each
|
137
|
* container frame, *NOT* to the document in
|
138
|
* the iframe within it!
|
139
|
*/
|
140
|
.templateheaderrowclass {
|
141
|
height: 155px;
|
142
|
/*
|
143
|
no width allowed - uses same width as table class
|
144
|
*/
|
145
|
border: 0px;
|
146
|
padding: 0px;
|
147
|
margin: 0px;
|
148
|
}
|
149
|
|
150
|
|
151
|
.templateleftcolclass {
|
152
|
height: 100%;
|
153
|
width: 0px;
|
154
|
border: 0px;
|
155
|
padding: 0px;
|
156
|
margin: 0px;
|
157
|
}
|
158
|
|
159
|
|
160
|
.templaterightcolclass {
|
161
|
height: 100%;
|
162
|
width: 0px;
|
163
|
border: 0px;
|
164
|
padding: 0px;
|
165
|
margin: 0px;
|
166
|
}
|
167
|
|
168
|
|
169
|
.templatefooterrowclass {
|
170
|
height: 0px;
|
171
|
/*
|
172
|
no width allowed - uses same width as table class
|
173
|
*/
|
174
|
border: 0px;
|
175
|
padding: 0px;
|
176
|
margin: 0px;
|
177
|
}
|
178
|
|
179
|
|
180
|
/**
|
181
|
* these override styles imported from eml css
|
182
|
*/
|
183
|
|
184
|
|
185
|
|
186
|
.sectionnames{
|
187
|
font-weight: bold;
|
188
|
font-size: 16px;
|
189
|
color: #096B79;
|
190
|
}
|
191
|
|
192
|
.linkedHeaderStyle{
|
193
|
|
194
|
background-color: #A3DADA;
|
195
|
padding-left: 16%;
|
196
|
}
|
197
|
|
198
|
.title {
|
199
|
font-family: Georgia, Times New Roman, Times, serif;
|
200
|
color: black;
|
201
|
background: #7BB865;
|
202
|
font-size: 24px;
|
203
|
font-weight: bold;
|
204
|
}
|
205
|
|
206
|
.secondCol{
|
207
|
background-color: #ffffff;
|
208
|
font-size: 12px;
|
209
|
padding-left: 5px;
|
210
|
}
|
211
|
|
212
|
.highlight {
|
213
|
color: #096B79;
|
214
|
background-color: #FFFFFF;
|
215
|
font-style: italic;
|
216
|
font-size: 1em;
|
217
|
padding-left: 10px;
|
218
|
}
|
219
|
|
220
|
.citation {
|
221
|
color: black;
|
222
|
background-color: #FFFFFF;
|
223
|
font-size: 1.2em;
|
224
|
padding-left: 10px;
|
225
|
}
|
226
|
|
227
|
.tablehead {
|
228
|
color: #096B79;
|
229
|
background: #FFFFFF;
|
230
|
text-align: left;
|
231
|
font-size: 14px;
|
232
|
font-weight: bold;
|
233
|
border-top: solid #ffffff 15px;
|
234
|
border-bottom: solid #dddddd 1px;
|
235
|
padding-left: 10px;
|
236
|
padding-top: 0px;
|
237
|
padding-bottom: 0px;
|
238
|
}
|
239
|
|
240
|
th.tablehead {
|
241
|
|
242
|
text-align: center;
|
243
|
border-bottom: solid #006666 1px;
|
244
|
margin: 0px;
|
245
|
padding: 0px;
|
246
|
height: 21px;
|
247
|
}
|
248
|
|
249
|
.tablehead_lcorner {
|
250
|
background-position: right top;
|
251
|
background-repeat: no-repeat;
|
252
|
padding: 0px;
|
253
|
margin: 0px;
|
254
|
width: 10px;
|
255
|
height: 21px;
|
256
|
}
|
257
|
|
258
|
.tablehead_rcorner {
|
259
|
background-position: left top;
|
260
|
background-repeat: no-repeat;
|
261
|
padding: 0px;
|
262
|
margin: 0px;
|
263
|
width: 10px;
|
264
|
height: 21px;
|
265
|
}
|
266
|
|
267
|
.lsid {
|
268
|
text-decoration: underline;
|
269
|
}
|
270
|
|
271
|
a {
|
272
|
color: #096B79;
|
273
|
font-weight: bold;
|
274
|
font-size: 12px;
|
275
|
text-decoration: underline; }
|
276
|
|
277
|
a:hover {
|
278
|
color: #ECCE00;
|
279
|
text-decoration: underline; }
|
280
|
|
281
|
/**
|
282
|
* these are used only in the metacat pages
|
283
|
*/
|
284
|
|
285
|
p.emphasis {
|
286
|
|
287
|
font-size: 18px;
|
288
|
color: #dd7744;
|
289
|
font-weight: bold;
|
290
|
font-style: normal;
|
291
|
}
|
292
|
|
293
|
.searchresultsdivider {
|
294
|
background-color: #dddddd;
|
295
|
}
|
296
|
|
297
|
/**
|
298
|
* these are used only in the registry skins
|
299
|
*/
|
300
|
|
301
|
|
302
|
|
303
|
|
304
|
p.searchbox {
|
305
|
color: #096B79;
|
306
|
font-weight: bold;
|
307
|
font-size: 12px;
|
308
|
text-decoration: none;
|
309
|
}
|
310
|
|
311
|
br {
|
312
|
margin: 0px;
|
313
|
padding: 0px;
|
314
|
}
|
315
|
|
316
|
|
317
|
.headertopmargin {
|
318
|
margin-top: 10;
|
319
|
}
|
320
|
|
321
|
.intro {
|
322
|
width: 760px;
|
323
|
margin-left: 15px;
|
324
|
}
|
325
|
|
326
|
textarea {
|
327
|
width: 80%;
|
328
|
}
|
329
|
|
330
|
.required {
|
331
|
font-weight: bold;
|
332
|
color: #b00000;
|
333
|
}
|
334
|
|
335
|
.label {
|
336
|
font-weight: bold;
|
337
|
}
|
338
|
|
339
|
|
340
|
.emphasis {
|
341
|
font-weight: bold;
|
342
|
font-size: 18px;
|
343
|
color: #000000;
|
344
|
}
|
345
|
|
346
|
.colorbold {
|
347
|
font-weight: bold;
|
348
|
color: #096B79;
|
349
|
font-size: 12px;
|
350
|
}
|
351
|
|
352
|
.boldlink {
|
353
|
font-weight: bold;
|
354
|
font-size: 12px;
|
355
|
}
|
356
|
|
357
|
|
358
|
.redbold {
|
359
|
font-weight: bold;
|
360
|
color: #b00000;
|
361
|
font-size: 12px;
|
362
|
}
|
363
|
|
364
|
.greenbold {
|
365
|
font-weight: bold;
|
366
|
color: #096B79;
|
367
|
font-size: 12px;
|
368
|
}
|
369
|
|
370
|
.smalltext {
|
371
|
font-weight: bold;
|
372
|
font-size: 10px;
|
373
|
vertical-align: super;
|
374
|
}
|
375
|
|
376
|
.largetext {
|
377
|
font-weight: bold;
|
378
|
font-size: 16px;
|
379
|
}
|
380
|
|
381
|
.italicized {
|
382
|
font-style: italic;
|
383
|
font-size: 12px;
|
384
|
}
|
385
|
|
386
|
.regtext {
|
387
|
font-weight: normal;
|
388
|
font-size: 12px;
|
389
|
}
|
390
|
.sectbody {
|
391
|
background: #DEF1F1;
|
392
|
font-size: 12px;
|
393
|
font-weight: bold;}
|
394
|
|
395
|
.sectheader {
|
396
|
background: #A3DADA;
|
397
|
font-size: 12px;
|
398
|
font-weight: bold;}
|
399
|
|
400
|
.tables {
|
401
|
width: 760px;
|
402
|
margin-left: 20px;
|
403
|
border-top: solid black 1px;
|
404
|
border-left: solid black 1px;
|
405
|
border-right: solid black 1px;
|
406
|
}
|
407
|
|
408
|
.hide {
|
409
|
display:none;
|
410
|
}
|
411
|
|
412
|
.showLink {
|
413
|
cursor: pointer;
|
414
|
cursor: hand;
|
415
|
display:empty;
|
416
|
}
|
417
|
|
418
|
.bordertop {
|
419
|
border-top: solid black 1px;
|
420
|
}
|
421
|
|
422
|
.borderbottom {
|
423
|
border-bottom: 1px solid black;}
|
424
|
|
425
|
.topbottom {
|
426
|
border-top: 1px solid black;
|
427
|
border-bottom: 1px solid black;
|
428
|
}
|
429
|
|
430
|
.longwidth {
|
431
|
width: 80%;
|
432
|
}
|
433
|
|
434
|
.shortwidth {
|
435
|
width: 40%;
|
436
|
}
|
437
|
|
438
|
.rightCol {
|
439
|
width: 24%;
|
440
|
text-align: right;
|
441
|
}
|