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