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