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-16 14:49:00 -0800 (Wed, 16 Mar 2005) $'
13
  *  '$Revision: 2410 $'
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
}
146
.highlight  {
147
    color: #096B79;
148
    background-color: #FFFFFF; 
149
    font-style: italic;
150
    font-size: 1em; 
151
    padding-left: 10px;
152
}
153

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

    
167
th.tablehead {
168

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

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

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

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

    
208
p.emphasis {
209

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

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

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

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

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

    
239

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

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

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

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

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

    
262

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

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

    
280

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

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

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

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

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

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

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

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

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

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

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

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