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