Project

General

Profile

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-09-04 17:30:25 -0700 (Tue, 04 Sep 2007) $'
13
  *  '$Revision: 3398 $'
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 { 
110
        margin-left: 1%; 
111
        margin-right: 1%; 
112
        background: #90EE90;
113
        color: black;
114
}
115

    
116
/**
117
 *  set the size and alignment etc of the top-level layout table
118
 */  
119
.templatetableclass {
120
  width:   90%; 
121
  border:   0px;
122
  padding:  0px;
123
  margin:   0px;
124
}
125

    
126

    
127
/**
128
 *  set the style of the main content area and its contents
129
 */ 
130
.templatecontentareaclass {
131
  border:  #90EE90 solid 10px;
132
  padding: 5px;
133
  margin: 0px;
134
  background: #F5F5F5;
135
  color: black;
136
}
137

    
138

    
139
/**
140
 *  set the correct <td> sizes to accomodate the 
141
 *  header, footer, left and right iframes.
142
 *  NOTE: these styles apply only to each 
143
 *  container frame, *NOT* to the document in
144
 *  the iframe within it!
145
 */  
146
.templateheaderrowclass {
147
  height:   155px; 
148
/*
149
  no width allowed - uses same width as table class
150
*/
151
  border:   0px;
152
  padding:  0px;
153
  margin:   0px;
154
}
155

    
156

    
157
.templateleftcolclass {
158
  height:   100%; 
159
  width:    0px;
160
  border:   0px;
161
  padding:  0px;
162
  margin:   0px;
163
}
164

    
165

    
166
.templaterightcolclass {
167
  height:   100%; 
168
  width:    0px;
169
  border:   0px;
170
  padding:  0px;
171
  margin:   0px;
172
}
173

    
174

    
175
.templatefooterrowclass {
176
  height:   0px; 
177
/*
178
  no width allowed - uses same width as table class
179
*/
180
  border:   0px;
181
  padding:  0px;
182
  margin:   0px;
183
}
184

    
185

    
186
/**
187
 *  these override styles imported from eml css 
188
 */
189

    
190

    
191
	 
192
.sectionnames{
193
    font-weight: bold;
194
    font-size: 16px;
195
    color: #096B79;
196
}
197

    
198
.linkedHeaderStyle{
199
    
200
    background-color: #A3DADA;
201
    padding-left: 16%;
202
 }
203

    
204
.title {
205
    font-family: Verdana, Georgia, "Times New Roman", serif;
206
    font-size: 24px; 
207
    font-weight: bold;
208
    color:black;
209
    background: inherit;
210
}
211

    
212
.secondCol{
213
    background-color: #ffffff; 
214
    font-size: 12px;
215
    padding-left: 5px;
216
}
217

    
218
.highlight  {
219
    color: #096B79;
220
    background-color: #FFFFFF;
221
    font-style: italic;    
222
    font-size: 1em; 
223
    padding-left: 10px;
224
}
225

    
226
.citation  {
227
    color: black;
228
    background-color: #FFFFFF;
229
    font-size: 1.2em; 
230
    padding-left: 10px;
231
}
232

    
233
.tablehead {
234
    color: #096B79;
235
    background: #FFFFFF;
236
    text-align: left;
237
    font-size: 14px; 
238
    font-weight: bold;
239
    border-top: solid #ffffff 15px;
240
    border-bottom: solid #dddddd 1px;
241
    padding-left: 10px;
242
    padding-top: 0px;
243
    padding-bottom: 0px;
244
}
245

    
246
th.tablehead {
247

    
248
    text-align: center;
249
    border-bottom: solid #006666 1px;
250
    margin: 0px;
251
    padding: 0px;
252
    height:  21px;
253
}
254

    
255
.tablehead_lcorner {
256
    background-position: right top;
257
    background-repeat: no-repeat;
258
    padding: 0px;
259
    margin:  0px;
260
    width:   10px;
261
    height:  21px;
262
}    
263
    
264
.tablehead_rcorner {
265
    background-position: left top;
266
    background-repeat: no-repeat;
267
    padding: 0px;
268
    margin:  0px;
269
    width:   10px;
270
    height:  21px;
271
}    
272

    
273
.lsid {
274
    text-decoration: underline; 
275
}
276

    
277
a {
278
    color: #096B79;
279
    font-weight: bold;
280
    font-size: 12px; 
281
    text-decoration: underline; }
282
    
283
a:hover {
284
    color: #ECCE00;
285
    text-decoration: underline; }
286

    
287
/**
288
 *  these are used only in the metacat pages
289
 */
290

    
291
p.emphasis {
292

    
293
  font-size: 18px;
294
  color: #dd7744; 
295
  font-weight: bold;
296
  font-style:  normal;
297
}
298

    
299
.searchresultsdivider {
300
    background-color: #dddddd;   
301
}
302

    
303
/**
304
 *  these are used only in the registry skins
305
 */
306

    
307
 
308
 
309
 
310
p.searchbox {
311
    color: #096B79;
312
    font-weight: bold;
313
    font-size: 12px; 
314
    text-decoration: none; 
315
}
316

    
317
br {
318
    margin: 0px;
319
    padding: 0px;
320
}
321

    
322

    
323
.headertopmargin {
324
margin-top:    10;
325
}
326

    
327
.intro {
328
        width:   760px;
329
        margin-left:    15px;
330
}
331

    
332
textarea {
333
   width: 80%;
334
}
335

    
336
.required {
337
    font-weight: bold;
338
    color: #b00000;
339
}
340

    
341
.label {
342
    font-weight: bold;
343
}
344

    
345

    
346
.emphasis {
347
    font-weight: bold;
348
    font-size: 18px;
349
    color: #000000;
350
}
351

    
352
.colorbold {
353
	font-weight: bold;
354
	color: #096B79;
355
	font-size: 12px;
356
}
357
	
358
.boldlink {
359
	font-weight: bold;
360
	font-size: 12px;
361
}
362

    
363

    
364
.redbold {
365
	font-weight: bold;
366
	color: #b00000;
367
	font-size: 12px;
368
}
369

    
370
.greenbold {
371
	font-weight: bold;
372
    background: inherit; 
373
	color: green;
374
	font-size: 12px;
375
}
376

    
377
.smalltext {
378
	font-weight: bold;
379
	font-size: 10px;
380
	vertical-align: super;
381
}
382

    
383
.largetext {
384
	font-weight: bold;
385
	font-size: 16px;
386
} 
387

    
388
.italicized {
389
	font-style: italic;
390
	font-size: 12px;
391
}
392

    
393
.regtext {
394
	font-weight: normal;
395
	font-size: 12px;
396
}
397
.sectbody {
398
	background: #DEF1F1;
399
	font-size: 12px;
400
        font-weight: bold;}
401

    
402
.sectheader {
403
	background: #A3DADA;
404
	font-size: 12px;
405
        font-weight: bold;}
406

    
407
.tables {
408
        width:   760px;
409
        margin-left:      20px;
410
        border-top: solid black 1px;
411
        border-left: solid black 1px;
412
        border-right: solid black 1px;      
413
      }
414

    
415
.hide {
416
      display:none;
417
  }
418

    
419
.showLink {
420
      cursor: pointer;
421
      cursor: hand;
422
      display:empty;
423
  }
424

    
425
.bordertop {
426
        border-top: solid black 1px;
427
      }
428
      
429
.borderbottom {
430
        border-bottom: 1px solid black;}
431
	
432
.topbottom {
433
	border-top: 1px solid black;
434
	border-bottom: 1px solid black; 
435
	}
436

    
437
.longwidth {
438
	width: 80%;
439
	}
440

    
441
.shortwidth {
442
	width: 40%;
443
	}
444
	
445
.rightCol {
446
       width:  24%;
447
       text-align: right;
448
    }
449

    
450
.centerContentBorder {
451
        padding: 10px;
452
        width: 98%;
453
        background: #F5F5F5;
454
        color: #90EE90;
455
}
456

    
457
.footerContent {
458
        margin-left: 0px;
459
        margin-right: 15px;
460
        margin-top: 15px;
461
        background: #90EE90;
462
        color: black;
463
}
(12-12/15)