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: sgarg $'
12
  *      '$Date: 2005-03-17 16:39:21 -0800 (Thu, 17 Mar 2005) $'
13
  *  '$Revision: 2418 $'
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

    
130
	 
131
.sectionnames{
132
    font-weight: bold;
133
    font-size: 16px;
134
    color: #096B79;
135
}
136
 
137
.title {
138
    font-family: Georgia, Times New Roman, Times, serif;
139
    color:      black;
140
    background: white;
141
    font-size: 24px; 
142
    font-weight: bold;
143
}
144

    
145
.highlight  {
146
    color: #096B79;
147
    background-color: #FFFFFF; 
148
    font-style: italic;
149
    font-size: 1em; 
150
    padding-left: 10px;
151
}
152

    
153
.tablehead {
154
    color: #096B79;
155
    background: #FFFFFF;
156
    text-align: left;
157
    font-size: 14px; 
158
    font-weight: bold;
159
    border-top: solid #ffffff 15px;
160
    border-bottom: solid #dddddd 1px;
161
    padding-left: 10px;
162
    padding-top: 0px;
163
    padding-bottom: 0px;
164
}
165

    
166
th.tablehead {
167

    
168
    text-align: center;
169
    border-bottom: solid #006666 1px;
170
    margin: 0px;
171
    padding: 0px;
172
    height:  21px;
173
}
174

    
175
.tablehead_lcorner {
176
    background-position: right top;
177
    background-repeat: no-repeat;
178
    padding: 0px;
179
    margin:  0px;
180
    width:   10px;
181
    height:  21px;
182
}    
183
    
184
.tablehead_rcorner {
185
    background-position: left top;
186
    background-repeat: no-repeat;
187
    padding: 0px;
188
    margin:  0px;
189
    width:   10px;
190
    height:  21px;
191
}    
192

    
193
a {
194
    color: #096B79;
195
    font-weight: bold;
196
    font-size: 12px; 
197
    text-decoration: underline; }
198
    
199
a:hover {
200
    color: #ECCE00;
201
    text-decoration: underline; }
202

    
203
/**
204
 *  these are used only in the metacat pages
205
 */
206

    
207
p.emphasis {
208

    
209
  font-size: 18px;
210
  color: #dd7744; 
211
  font-weight: bold;
212
  font-style:  normal;
213
}
214

    
215
.searchresultsdivider {
216
    background-color: #dddddd;   
217
}
218

    
219
/**
220
 *  these are used only in the registry skins
221
 */
222

    
223
 
224
 
225
 
226
p.searchbox {
227
    color: #096B79;
228
    font-weight: bold;
229
    font-size: 12px; 
230
    text-decoration: none; 
231
}
232

    
233
br {
234
    margin: 0px;
235
    padding: 0px;
236
}
237

    
238

    
239
.headertopmargin {
240
margin-top:    10;
241
}
242

    
243
.intro {
244
        width:   760;
245
        margin-left:    15;
246
}
247

    
248
textarea {
249
   width: 80%;
250
}
251

    
252
.required {
253
    font-weight: bold;
254
    color: #b00000;
255
}
256

    
257
.label {
258
    font-weight: bold;
259
}
260

    
261

    
262
.emphasis {
263
    font-weight: bold;
264
    font-size: 18px;
265
    color: #000000;
266
}
267

    
268
.colorbold {
269
	font-weight: bold;
270
	color: #096B79;
271
	font-size: 12px;
272
}
273
	
274
.boldlink {
275
	font-weight: bold;
276
	font-size: 12px;
277
}
278

    
279

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

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

    
292
.smalltext {
293
	font-weight: bold;
294
	font-size: 10px;
295
	vertical-align: super;
296
}
297

    
298
.largetext {
299
	font-weight: bold;
300
	font-size: 16px;
301
} 
302

    
303
.italicized {
304
	font-style: italic;
305
	font-size: 12px;
306
}
307

    
308
.regtext {
309
	font-weight: normal;
310
	font-size: 12px;
311
}
312
.sectbody {
313
	background: #DEF1F1;
314
	font-size: 12px;
315
        font-weight: bold;}
316

    
317
.sectheader {
318
	background: #A3DADA;
319
	font-size: 12px;
320
        font-weight: bold;}
321

    
322
.tables {
323
        width:   760px;
324
        margin-left:      20;
325
        border-top: solid black 1px;
326
        border-left: solid black 1px;
327
        border-right: solid black 1px;      
328
      }
329

    
330
.hide {
331
      display:none;
332
  }
333

    
334
.bordertop {
335
        border-top: solid black 1px;
336
      }
337
      
338
.borderbottom {
339
        border-bottom: 1px solid black;}
340
	
341
.topbottom {
342
	border-top: 1px solid black;
343
	border-bottom: 1px solid black; 
344
	}
345

    
346
.longwidth {
347
	width: 80%;
348
	}
349

    
350
.shortwidth {
351
	width: 40%;
352
	}
353
	
354
.rightCol {
355
       width:  24%;
356
       text-align: right;
357
    }
358
	
359

    
(3-3/8)