Project

General

Profile

1 1976 jones
 /*
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$'
12
  *      '$Date$'
13
  *  '$Revision$'
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 3599 bowdish
@import url(/knb/style/common/eml_xsl.css);
37
@import url(/knb/style/skins/nceas/midnight.css);
38 1976 jones
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 2886 tyburczy
  width:    98%;
48 1976 jones
  border:   0px;
49
  margin:   0px;
50 3444 jones
  /*margin-left: 10px;*/
51 1976 jones
}
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 3474 walbridge
  /* temporary fix until we remove iframes from NCEAS skin */
77
  background: #fff;
78
79 1976 jones
}
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 3469 walbridge
.style2 {
129
  font-size: 14px
130
}
131 1976 jones
132
/**
133
 *  these override styles imported from eml css
134
 */
135
136 3444 jones
/*
137 1976 jones
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 3444 jones
*/
147 2410 sgarg
.sectionnames{
148
    font-weight: bold;
149
    font-size: 16px;
150
    color: #0040A1;
151
}
152 1976 jones
.title {
153
    font-family: Georgia, Times New Roman, Times, serif;
154
    color:      black;
155
    background: white;
156
    font-size: 24px;
157
    font-weight: bold;
158
}
159
160
.highlight  {
161
    color: #006699;
162
    background-color: #FFFFFF;
163
    font-style: italic;
164
    font-size: 1em;
165
    padding-left: 10px;
166
}
167
168 3577 walbridge
.resultstable {
169 3469 walbridge
    margin-left: 2px;
170
}
171
172
td, th {
173 3599 bowdish
	padding: 2px 5px 0px 5px;
174 3469 walbridge
}
175
176 3599 bowdish
177 1976 jones
.tablehead {
178
    color: #0040A1;
179
    background: #FFFFFF;
180
    text-align: left;
181
    font-size: 14px;
182
    font-weight: bold;
183 3599 bowdish
    border-top: solid #ffffff 10px;
184 1976 jones
    border-bottom: solid #dddddd 1px;
185
    padding-left: 10px;
186
    padding-top: 0px;
187
    padding-bottom: 0px;
188
}
189
190
th.tablehead {
191
192
    text-align: center;
193
    border-bottom: solid #006666 1px;
194
    margin: 0px;
195
    padding: 0px;
196
    height:  21px;
197
}
198
199
.tablehead_lcorner {
200
    background-position: right top;
201
    background-repeat: no-repeat;
202
    padding: 0px;
203
    margin:  0px;
204
    width:   10px;
205
    height:  21px;
206
}
207
208
.tablehead_rcorner {
209
    background-position: left top;
210
    background-repeat: no-repeat;
211
    padding: 0px;
212
    margin:  0px;
213
    width:   10px;
214
    height:  21px;
215
}
216
217 3599 bowdish
#Overview {
218
	text-align: center;
219
}
220
221 3444 jones
/*
222 1976 jones
a {
223
    color: #0040A1;
224
    font-weight: bold;
225
    font-size: 12px;
226 2410 sgarg
    text-decoration: underline; }
227 1976 jones
228
a:hover {
229
    color: #ff9933;
230
    text-decoration: underline; }
231 3444 jones
*/
232 1976 jones
233
/**
234
 *  these are used only in the metacat pages
235
 */
236
237
p.emphasis {
238
239
  font-size: 18px;
240
  color: #dd7744;
241
  font-weight: bold;
242
  font-style:  normal;
243
}
244
245
.searchresultsdivider {
246 3583 walbridge
    background-color: transparent;
247 3469 walbridge
    border-bottom: 1px solid #ddd;
248
    margin-bottom: 10px;
249 1976 jones
}
250
251 3469 walbridge
.searchresultsdividerPale {
252
    margin: 4px 4px;
253 2812 bowdish
}
254
255 3469 walbridge
.text_plain {
256
    padding-top: 5px;
257 3599 bowdish
    text-align: left;
258 2812 bowdish
}
259
260 3469 walbridge
pre {
261 3587 bowdish
/**    margin-right: 8em;
262 3469 walbridge
    padding: .4em .75em;
263 3587 bowdish
    */
264
    font-size: 10px;
265 3469 walbridge
}
266
267 1976 jones
/**
268
 *  these are used only in the registry skins
269
 */
270
p.searchbox {
271
    color: #0040A1;
272
    font-weight: bold;
273
    font-size: 12px;
274
    text-decoration: none;
275
}
276
277 3469 walbridge
td.templatecontentareaclass a {
278
    border: none;
279
}
280
281 1976 jones
br {
282
    margin: 0px;
283
    padding: 0px;
284
}
285
286 2410 sgarg
.intro {
287 3469 walbridge
    width: 760px;
288 3599 bowdish
    margin: 0 auto;
289
    text-align: left;
290
291 2410 sgarg
}
292
293 1982 jones
textarea {
294
   width: 80%;
295
}
296
297
.required {
298
    font-weight: bold;
299 2142 sgarg
    color: #b00000;
300 1982 jones
}
301
302
.label {
303
    font-weight: bold;
304
}
305 2034 sgarg
306 2350 sgarg
307
.emphasis {
308
    font-weight: bold;
309 2410 sgarg
    font-size: 18px;
310
    color: #000000;
311 2350 sgarg
}
312
313
.boldlink {
314
	font-weight: bold;
315
	font-size: 12px;
316
}
317
318 2410 sgarg
.colorbold {
319
	font-weight: bold;
320
	color: #0040A1;
321
	font-size: 12px;
322
}
323 2350 sgarg
324
.redbold {
325
	font-weight: bold;
326
	color: #b00000;
327
	font-size: 12px;
328
}
329
330
.greenbold {
331
	font-weight: bold;
332
	color: #008000;
333
	font-size: 12px;
334
}
335
336
.smalltext {
337
	font-weight: bold;
338
	font-size: 10px;
339 2410 sgarg
	vertical-align: super;
340 2350 sgarg
}
341
342 2410 sgarg
.largetext {
343
	font-weight: bold;
344
	font-size: 16px;
345
}
346
347 2350 sgarg
.italicized {
348
	font-style: italic;
349
	font-size: 12px;
350
}
351
352
.regtext {
353 2410 sgarg
	font-weight: normal;
354 2350 sgarg
	font-size: 12px;
355
}
356 2410 sgarg
.sectbody {
357
	background: #e8eef7;
358
	font-size: 12px;
359 3599 bowdish
        font-weight: bold;
360
        text-align: left;
361
}
362 2410 sgarg
363
.sectheader {
364
	background: #B7C9E3;
365
	font-size: 12px;
366
        font-weight: bold;}
367
368
.tables {
369 3474 walbridge
    width: 760px;
370 3599 bowdish
    margin: 0 auto;
371 3474 walbridge
    border: solid black 1px;
372
    border-bottom: none;
373
}
374 2350 sgarg
375 2410 sgarg
.hide {
376
      display:none;
377
  }
378
379
.bordertop {
380
        border-top: solid black 1px;
381
      }
382 2350 sgarg
383 2410 sgarg
.borderbottom {
384
        border-bottom: solid black 1px;
385
      }
386
387
.topbottom {
388
	border-top: 1px solid black;
389
	border-bottom: 1px solid black;
390
	}
391 2350 sgarg
392 2410 sgarg
.longwidth {
393
	width: 80%;
394
	}
395
396
.shortwidth {
397
	width: 35%;
398
	}
399
400
.rightCol {
401
       width:  24%;
402
       text-align: right;
403
    }
404
405 2034 sgarg
/**
406
 *  This is add to overload the p+p function defined in eml.css.
407
 *  Refer to bug# 1306 for further details.
408
 */
409
410 2035 sgarg
p + p {
411
    text-indent: 0em;
412 2350 sgarg
413 2034 sgarg
}
414 2350 sgarg
415