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
@import url(@style-common-path@/@eml-css@);
37 3444 jones
@import url(@style-skins-path@/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
}
77
78
79
/**
80
 *  set the correct <td> sizes to accomodate the
81
 *  header, footer, left and right iframes.
82
 *  NOTE: these styles apply only to each
83
 *  container frame, *NOT* to the document in
84
 *  the iframe within it!
85
 */
86
.templateheaderrowclass {
87
  height:   155px;
88
/*
89
  no width allowed - uses same width as table class
90
*/
91
  border:   0px;
92
  padding:  0px;
93
  margin:   0px;
94
}
95
96
97
.templateleftcolclass {
98
  height:   100%;
99
  width:    0px;
100
  border:   0px;
101
  padding:  0px;
102
  margin:   0px;
103
}
104
105
106
.templaterightcolclass {
107
  height:   100%;
108
  width:    0px;
109
  border:   0px;
110
  padding:  0px;
111
  margin:   0px;
112
}
113
114
115
.templatefooterrowclass {
116
  height:   0px;
117
/*
118
  no width allowed - uses same width as table class
119
*/
120
  border:   0px;
121
  padding:  0px;
122
  margin:   0px;
123
}
124
125 3469 walbridge
.style2 {
126
  font-size: 14px
127
}
128 1976 jones
129
/**
130
 *  these override styles imported from eml css
131
 */
132
133 3444 jones
/*
134 1976 jones
body {
135
    padding: 0px;
136
    margin: 0px;
137
    margin-top: 5px;
138
    background-color: #ffffff;
139
    font-weight: normal;
140
    font-size: 12px;
141
    font-family: Verdana,Arial,Helvetica,sans-serif;
142
}
143 3444 jones
*/
144 2410 sgarg
.sectionnames{
145
    font-weight: bold;
146
    font-size: 16px;
147
    color: #0040A1;
148
}
149 1976 jones
.title {
150
    font-family: Georgia, Times New Roman, Times, serif;
151
    color:      black;
152
    background: white;
153
    font-size: 24px;
154
    font-weight: bold;
155
}
156
157
.highlight  {
158
    color: #006699;
159
    background-color: #FFFFFF;
160
    font-style: italic;
161
    font-size: 1em;
162
    padding-left: 10px;
163
}
164
165 3469 walbridge
table {
166
    margin-left: 2px;
167
}
168
169
td, th {
170
    padding: 1px 1px;
171
}
172
173 1976 jones
.tablehead {
174
    color: #0040A1;
175
    background: #FFFFFF;
176
    text-align: left;
177
    font-size: 14px;
178
    font-weight: bold;
179
    border-top: solid #ffffff 15px;
180
    border-bottom: solid #dddddd 1px;
181
    padding-left: 10px;
182
    padding-top: 0px;
183
    padding-bottom: 0px;
184
}
185
186
th.tablehead {
187
188
    text-align: center;
189
    border-bottom: solid #006666 1px;
190
    margin: 0px;
191
    padding: 0px;
192
    height:  21px;
193
}
194
195
.tablehead_lcorner {
196
    background-position: right top;
197
    background-repeat: no-repeat;
198
    padding: 0px;
199
    margin:  0px;
200
    width:   10px;
201
    height:  21px;
202
}
203
204
.tablehead_rcorner {
205
    background-position: left top;
206
    background-repeat: no-repeat;
207
    padding: 0px;
208
    margin:  0px;
209
    width:   10px;
210
    height:  21px;
211
}
212
213 3444 jones
/*
214 1976 jones
a {
215
    color: #0040A1;
216
    font-weight: bold;
217
    font-size: 12px;
218 2410 sgarg
    text-decoration: underline; }
219 1976 jones
220
a:hover {
221
    color: #ff9933;
222
    text-decoration: underline; }
223 3444 jones
*/
224 1976 jones
225
/**
226
 *  these are used only in the metacat pages
227
 */
228
229
p.emphasis {
230
231
  font-size: 18px;
232
  color: #dd7744;
233
  font-weight: bold;
234
  font-style:  normal;
235
}
236
237
.searchresultsdivider {
238 3469 walbridge
    border-bottom: 1px solid #ddd;
239
    margin-bottom: 10px;
240 1976 jones
}
241
242 3469 walbridge
.searchresultsdividerPale {
243
    margin: 4px 4px;
244 2812 bowdish
}
245
246 3469 walbridge
.text_plain {
247
    padding-top: 5px;
248 2812 bowdish
}
249
250 3469 walbridge
pre {
251
    margin-right: 8em;
252
    padding: .4em .75em;
253
}
254
255 1976 jones
/**
256
 *  these are used only in the registry skins
257
 */
258
p.searchbox {
259
    color: #0040A1;
260
    font-weight: bold;
261
    font-size: 12px;
262
    text-decoration: none;
263
}
264
265 3469 walbridge
td.templatecontentareaclass a {
266
    border: none;
267
}
268
269 1976 jones
br {
270
    margin: 0px;
271
    padding: 0px;
272
}
273
274 2410 sgarg
.intro {
275 3469 walbridge
    width: 760px;
276
    margin-left: 15px;
277 2410 sgarg
}
278
279 1982 jones
textarea {
280
   width: 80%;
281
}
282
283
.required {
284
    font-weight: bold;
285 2142 sgarg
    color: #b00000;
286 1982 jones
}
287
288
.label {
289
    font-weight: bold;
290
}
291 2034 sgarg
292 2350 sgarg
293
.emphasis {
294
    font-weight: bold;
295 2410 sgarg
    font-size: 18px;
296
    color: #000000;
297 2350 sgarg
}
298
299
.boldlink {
300
	font-weight: bold;
301
	font-size: 12px;
302
}
303
304 2410 sgarg
.colorbold {
305
	font-weight: bold;
306
	color: #0040A1;
307
	font-size: 12px;
308
}
309 2350 sgarg
310
.redbold {
311
	font-weight: bold;
312
	color: #b00000;
313
	font-size: 12px;
314
}
315
316
.greenbold {
317
	font-weight: bold;
318
	color: #008000;
319
	font-size: 12px;
320
}
321
322
.smalltext {
323
	font-weight: bold;
324
	font-size: 10px;
325 2410 sgarg
	vertical-align: super;
326 2350 sgarg
}
327
328 2410 sgarg
.largetext {
329
	font-weight: bold;
330
	font-size: 16px;
331
}
332
333 2350 sgarg
.italicized {
334
	font-style: italic;
335
	font-size: 12px;
336
}
337
338
.regtext {
339 2410 sgarg
	font-weight: normal;
340 2350 sgarg
	font-size: 12px;
341
}
342 2410 sgarg
.sectbody {
343
	background: #e8eef7;
344
	font-size: 12px;
345
        font-weight: bold;}
346
347
.sectheader {
348
	background: #B7C9E3;
349
	font-size: 12px;
350
        font-weight: bold;}
351
352
.tables {
353
        width:   760px;
354 2539 sgarg
        margin-left:      20px;
355 2410 sgarg
        border-top: solid black 1px;
356
        border-left: solid black 1px;
357
        border-right: solid black 1px;
358
      }
359 2350 sgarg
360 2410 sgarg
.hide {
361
      display:none;
362
  }
363
364
.bordertop {
365
        border-top: solid black 1px;
366
      }
367 2350 sgarg
368 2410 sgarg
.borderbottom {
369
        border-bottom: solid black 1px;
370
      }
371
372
.topbottom {
373
	border-top: 1px solid black;
374
	border-bottom: 1px solid black;
375
	}
376 2350 sgarg
377 2410 sgarg
.longwidth {
378
	width: 80%;
379
	}
380
381
.shortwidth {
382
	width: 35%;
383
	}
384
385
.rightCol {
386
       width:  24%;
387
       text-align: right;
388
    }
389
390 2034 sgarg
/**
391
 *  This is add to overload the p+p function defined in eml.css.
392
 *  Refer to bug# 1306 for further details.
393
 */
394
395 2035 sgarg
p + p {
396
    text-indent: 0em;
397 2350 sgarg
398 2034 sgarg
}
399 2350 sgarg
400