Project

General

Profile

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