Project

General

Profile

1 2172 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 2416 sgarg
130
131
 body {
132 2172 sgarg
    padding: 0px;
133
    margin: 0px;
134
    margin-top: 5px;
135
    background-color: #ffffff;
136
    /*background-image: url(http://www.nceas.ucsb.edu/gifs/toolbar/bg-gradient.gif);*/
137
    font-weight: normal;
138
    font-size: 12px;
139
    font-family: Verdana,Arial,Helvetica,sans-serif;
140
}
141
142 2416 sgarg
.sectionnames{
143
    font-weight: bold;
144
    font-size: 16px;
145
    color: #0040A1;
146
}
147
148 2172 sgarg
.title {
149
    font-family: Georgia, Times New Roman, Times, serif;
150
    color:      black;
151
    background: white;
152
    /*background-image: url(http://www.nceas.ucsb.edu/gifs/toolbar/bg-gradient.gif);*/
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
.tablehead {
166
    color: #0040A1;
167
    background: #FFFFFF;
168
    text-align: left;
169
    font-size: 14px;
170
    font-weight: bold;
171
    border-top: solid #ffffff 15px;
172
    border-bottom: solid #dddddd 1px;
173
    padding-left: 10px;
174
    padding-top: 0px;
175
    padding-bottom: 0px;
176
}
177
178
th.tablehead {
179
180
    text-align: center;
181
    border-bottom: solid #006666 1px;
182
    margin: 0px;
183
    padding: 0px;
184
    height:  21px;
185
}
186
187
.tablehead_lcorner {
188
    background-position: right top;
189
    background-repeat: no-repeat;
190
    padding: 0px;
191
    margin:  0px;
192
    width:   10px;
193
    height:  21px;
194
}
195
196
.tablehead_rcorner {
197
    background-position: left top;
198
    background-repeat: no-repeat;
199
    padding: 0px;
200
    margin:  0px;
201
    width:   10px;
202
    height:  21px;
203
}
204
205
a {
206
    color: #0040A1;
207
    font-weight: bold;
208
    font-size: 12px;
209 2416 sgarg
    text-decoration: underline; }
210 2172 sgarg
211
a:hover {
212
    color: #ff9933;
213
    text-decoration: underline; }
214
215
/**
216
 *  these are used only in the metacat pages
217
 */
218
219
p.emphasis {
220
221
  font-size: 18px;
222
  color: #dd7744;
223
  font-weight: bold;
224
  font-style:  normal;
225
}
226
227
.searchresultsdivider {
228
    background-color: #dddddd;
229
}
230
231
/**
232
 *  these are used only in the registry skins
233
 */
234
p.searchbox {
235
    color: #0040A1;
236
    font-weight: bold;
237
    font-size: 12px;
238
    text-decoration: none;
239
}
240
241 2416 sgarg
.intro {
242
        width:   760;
243
        margin-left: 15;
244
}
245
246 2172 sgarg
br {
247
    margin: 0px;
248
    padding: 0px;
249
}
250
251
textarea {
252
   width: 80%;
253
}
254
255
.required {
256
    font-weight: bold;
257
    color: #b00000;
258
}
259
260
.label {
261
    font-weight: bold;
262
}
263
264 2416 sgarg
265
.emphasis {
266
    font-weight: bold;
267
    font-size: 18px;
268
    color: #000000;
269
}
270
271
.boldlink {
272
	font-weight: bold;
273
	font-size: 12px;
274
}
275
276
.colorbold {
277
	font-weight: bold;
278
	color: #0040A1;
279
	font-size: 12px;
280
}
281
282
.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
	vertical-align: super;
298
}
299
300
.largetext {
301
	font-weight: bold;
302
	font-size: 16px;
303
}
304
305
.italicized {
306
	font-style: italic;
307
	font-size: 12px;
308
}
309
310
.regtext {
311
	font-weight: normal;
312
	font-size: 12px;
313
}
314
.sectbody {
315
	background: #e8eef7;
316
	font-size: 12px;
317
        font-weight: bold;}
318
319
.sectheader {
320
	background: #B7C9E3;
321
	font-size: 12px;
322
        font-weight: bold;}
323
324
.tables {
325
        width:   760px;
326
        margin-left:      20;
327
        border-top: solid black 1px;
328
        border-left: solid black 1px;
329
        border-right: solid black 1px;
330
      }
331
332
.hide {
333
      display:none;
334
  }
335
336
.bordertop {
337
        border-top: solid black 1px;
338
      }
339
340
.borderbottom {
341
        border-bottom: solid black 1px;
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
353
.shortwidth {
354
	width: 35%;
355
	}
356
357
.rightCol {
358
       width:  24%;
359
       text-align: right;
360
    }
361
362 2172 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 2416 sgarg
370 2172 sgarg
}