Project

General

Profile

1
 /*
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: tyburczy $'
12
  *      '$Date: 2005-12-19 14:25:56 -0800 (Mon, 19 Dec 2005) $'
13
  *  '$Revision: 2886 $'
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:    98%;
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
.sectionnames{
140
    font-weight: bold;
141
    font-size: 16px;
142
    color: #0040A1;
143
}
144
.title {
145
    font-family: Georgia, Times New Roman, Times, serif;
146
    color:      black;
147
    background: white;
148
    /*background-image: url(http://www.nceas.ucsb.edu/gifs/toolbar/bg-gradient.gif);*/
149
    font-size: 24px; 
150
    font-weight: bold;
151
}
152

    
153
.highlight  {
154
    color: #006699;
155
    background-color: #FFFFFF; 
156
    font-style: italic;
157
    font-size: 1em; 
158
    padding-left: 10px;
159
}
160

    
161
.tablehead {
162
    color: #0040A1;
163
    background: #FFFFFF;
164
    text-align: left;
165
    font-size: 14px; 
166
    font-weight: bold;
167
    border-top: solid #ffffff 15px;
168
    border-bottom: solid #dddddd 1px;
169
    padding-left: 10px;
170
    padding-top: 0px;
171
    padding-bottom: 0px;
172
}
173

    
174
th.tablehead {
175

    
176
    text-align: center;
177
    border-bottom: solid #006666 1px;
178
    margin: 0px;
179
    padding: 0px;
180
    height:  21px;
181
}
182

    
183
.tablehead_lcorner {
184
    background-position: right top;
185
    background-repeat: no-repeat;
186
    padding: 0px;
187
    margin:  0px;
188
    width:   10px;
189
    height:  21px;
190
}    
191
    
192
.tablehead_rcorner {
193
    background-position: left top;
194
    background-repeat: no-repeat;
195
    padding: 0px;
196
    margin:  0px;
197
    width:   10px;
198
    height:  21px;
199
}    
200

    
201
a {
202
    color: #0040A1;
203
    font-weight: bold;
204
    font-size: 12px; 
205
    text-decoration: underline; }
206
    
207
a:hover {
208
    color: #ff9933;
209
    text-decoration: underline; }
210

    
211
/**
212
 *  these are used only in the metacat pages
213
 */
214

    
215
p.emphasis {
216

    
217
  font-size: 18px;
218
  color: #dd7744; 
219
  font-weight: bold;
220
  font-style:  normal;
221
}
222

    
223
.searchresultsdivider {
224
    background-color: #dddddd;   
225
}
226

    
227
}
228

    
229
.searchresultsdividerPale {
230
   	border-color: #ff9933;  
231
	border: 4px;
232
	 
233
}
234

    
235
/**
236
 *  these are used only in the registry skins
237
 */
238
p.searchbox {
239
    color: #0040A1;
240
    font-weight: bold;
241
    font-size: 12px; 
242
    text-decoration: none; 
243
}
244

    
245
br {
246
    margin: 0px;
247
    padding: 0px;
248
}
249

    
250
.intro {
251
        width:   760px;
252
        margin-left: 15px;
253
}
254

    
255
textarea {
256
   width: 80%;
257
}
258

    
259
.required {
260
    font-weight: bold;
261
    color: #b00000;
262
}
263

    
264
.label {
265
    font-weight: bold;
266
}
267

    
268

    
269
.emphasis {
270
    font-weight: bold;
271
    font-size: 18px;
272
    color: #000000;
273
}
274

    
275
.boldlink {
276
	font-weight: bold;
277
	font-size: 12px;
278
}
279

    
280
.colorbold {
281
	font-weight: bold;
282
	color: #0040A1;
283
	font-size: 12px;
284
}
285

    
286
.redbold {
287
	font-weight: bold;
288
	color: #b00000;
289
	font-size: 12px;
290
}
291

    
292
.greenbold {
293
	font-weight: bold;
294
	color: #008000;
295
	font-size: 12px;
296
}
297

    
298
.smalltext {
299
	font-weight: bold;
300
	font-size: 10px;
301
	vertical-align: super;
302
}
303

    
304
.largetext {
305
	font-weight: bold;
306
	font-size: 16px;
307
} 
308

    
309
.italicized {
310
	font-style: italic;
311
	font-size: 12px;
312
}
313

    
314
.regtext {
315
	font-weight: normal;
316
	font-size: 12px;
317
}
318
.sectbody {
319
	background: #e8eef7;
320
	font-size: 12px;
321
        font-weight: bold;}
322

    
323
.sectheader {
324
	background: #B7C9E3;
325
	font-size: 12px;
326
        font-weight: bold;}
327
    
328
.tables {
329
        width:   760px;
330
        margin-left:      20px;
331
        border-top: solid black 1px;
332
        border-left: solid black 1px;
333
        border-right: solid black 1px;      
334
      }
335
	
336
.hide {
337
      display:none;
338
  }
339
  
340
.bordertop {
341
        border-top: solid black 1px;
342
      }
343

    
344
.borderbottom {
345
        border-bottom: solid black 1px;
346
      }
347
      
348
.topbottom {
349
	border-top: 1px solid black;
350
	border-bottom: 1px solid black; 
351
	}	
352

    
353
.longwidth {
354
	width: 80%;
355
	}
356

    
357
.shortwidth {
358
	width: 35%;
359
	}
360
        
361
.rightCol {
362
       width:  24%;
363
       text-align: right;
364
    }
365

    
366
/**
367
 *  This is add to overload the p+p function defined in eml.css.
368
 *  Refer to bug# 1306 for further details. 
369
 */
370

    
371
p + p {
372
    text-indent: 0em;
373

    
374
}
375

    
376

    
377

    
(6-6/9)