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
@import url(@style-common-path@/@eml-css@);
37
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
  width:    100%;
47
  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
.title {
146
    font-family: Georgia, Times New Roman, Times, serif;
147
    color:      black;
148
    background: white;
149
    /*background-image: url(http://www.nceas.ucsb.edu/gifs/toolbar/bg-gradient.gif);*/
150
    font-size: 24px;
151
    font-weight: bold;
152
}
153
154
.highlight  {
155
    color: #006699;
156
    background-color: #FFFFFF;
157
    font-style: italic;
158
    font-size: 1em;
159
    padding-left: 10px;
160
}
161
162
.tablehead {
163 2410 sgarg
    color: #006400;
164 2046 sgarg
    background: #FFFFFF;
165
    text-align: left;
166
    font-size: 14px;
167
    font-weight: bold;
168
    border-top: solid #ffffff 15px;
169
    border-bottom: solid #dddddd 1px;
170
    padding-left: 10px;
171
    padding-top: 0px;
172
    padding-bottom: 0px;
173
}
174
175
th.tablehead {
176
177
    text-align: center;
178
    border-bottom: solid #006666 1px;
179
    margin: 0px;
180
    padding: 0px;
181
    height:  21px;
182
}
183
184
.tablehead_lcorner {
185
    background-position: right top;
186
    background-repeat: no-repeat;
187
    padding: 0px;
188
    margin:  0px;
189
    width:   10px;
190
    height:  21px;
191
}
192
193
.tablehead_rcorner {
194
    background-position: left top;
195
    background-repeat: no-repeat;
196
    padding: 0px;
197
    margin:  0px;
198
    width:   10px;
199
    height:  21px;
200
}
201
202
a {
203 2410 sgarg
    color: #006400;
204 2046 sgarg
    font-weight: bold;
205
    font-size: 12px;
206 2410 sgarg
    text-decoration: underline; }
207 2046 sgarg
208
a:hover {
209
    color: #ff9933;
210
    text-decoration: underline; }
211
212
/**
213
 *  these are used only in the metacat pages
214
 */
215
216
p.emphasis {
217
218
  font-size: 18px;
219
  color: #dd7744;
220
  font-weight: bold;
221
  font-style:  normal;
222
}
223
224
.searchresultsdivider {
225
    background-color: #dddddd;
226
}
227
228
/**
229
 *  these are used only in the registry skins
230
 */
231
p.searchbox {
232 2410 sgarg
    color: #006400;
233 2046 sgarg
    font-weight: bold;
234
    font-size: 12px;
235
    text-decoration: none;
236
}
237 2410 sgarg
.intro {
238
        width:   760;
239
        margin-left:    15;
240
}
241 2046 sgarg
242
br {
243
    margin: 0px;
244
    padding: 0px;
245
}
246
247
textarea {
248
   width: 80%;
249
}
250
251
.required {
252
    font-weight: bold;
253 2142 sgarg
    color: #b00000;
254 2046 sgarg
}
255
256
.label {
257
    font-weight: bold;
258
}
259
260 2350 sgarg
261
.emphasis {
262
    font-weight: bold;
263 2410 sgarg
    font-size: 18px;
264
    color: #000000;
265 2350 sgarg
}
266
267
.boldlink {
268
	font-weight: bold;
269
	font-size: 12px;
270
}
271
272 2410 sgarg
.colorbold {
273
	font-weight: bold;
274
	color: #006400;
275
	font-size: 12px;
276
}
277 2350 sgarg
.redbold {
278
	font-weight: bold;
279
	color: #b00000;
280
	font-size: 12px;
281
}
282
283
.greenbold {
284
	font-weight: bold;
285
	color: #008000;
286
	font-size: 12px;
287
}
288
289
.smalltext {
290
	font-weight: bold;
291
	font-size: 10px;
292 2410 sgarg
	vertical-align: super;
293 2350 sgarg
}
294
295 2410 sgarg
.largetext {
296
	font-weight: bold;
297
	font-size: 16px;
298
}
299
300 2350 sgarg
.italicized {
301
	font-style: italic;
302
	font-size: 12px;
303
}
304
305
.regtext {
306 2410 sgarg
	font-weight: normal;
307 2350 sgarg
	font-size: 12px;
308
}
309 2410 sgarg
.sectbody {
310
	background: #B4EEB4;
311
	font-size: 12px;
312
        font-weight: bold;}
313
314
.sectheader {
315
	background: #9BCD9B;
316
	font-size: 12px;
317
        font-weight: bold;}
318
319
.tables {
320
        width:   760px;
321
        margin-left:      20;
322
        border-top: solid black 1px;
323
        border-left: solid black 1px;
324
        border-right: solid black 1px;
325
      }
326 2350 sgarg
327 2410 sgarg
.hide {
328
      display:none;
329
  }
330
331
.bordertop {
332
        border-top: solid black 1px;
333
      }
334
335
.borderbottom {
336
        border-bottom: 1px solid black;
337
        }
338
339
.topbottom {
340
	border-top: 1px solid black;
341
	border-bottom: 1px solid black;
342
	}
343
344
.longwidth {
345
	width: 80%;
346
	}
347 2350 sgarg
348 2410 sgarg
.shortwidth {
349
	width: 40%;
350
	}
351 2350 sgarg
352 2410 sgarg
.rightCol {
353
       width:  24%;
354
       text-align: right;
355
    }
356
357 2046 sgarg
/**
358
 *  This is add to overload the p+p function defined in eml.css.
359
 *  Refer to bug# 1306 for further details.
360
 */
361
362
p + p {
363
    text-indent: 0em;
364
}