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: daigle $'
12
  *      '$Date: 2008-04-02 16:28:31 -0700 (Wed, 02 Apr 2008) $'
13
  *  '$Revision: 3780 $'
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/eml_xsl.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

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

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

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

    
165
th.tablehead {
166

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

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

    
192
a {
193
    color: #0040A1;
194
    font-weight: bold;
195
    font-size: 12px; 
196
    text-decoration: underline; }
197
    
198
a:hover {
199
    color: #ff9933;
200
    text-decoration: underline; }
201

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

    
206
p.emphasis {
207

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

    
214
.searchresultsdivider {
215
    background-color: transparent;
216
    border-bottom: 1px solid #dddddd;   
217
}
218

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

    
223
.intro {
224
        width:   760px;
225
        margin-left:    20px;
226
}
227
 
228

    
229
p.searchbox {
230
    color: #0040A1;
231
    font-weight: bold;
232
    font-size: 12px; 
233
    text-decoration: none; 
234
}
235

    
236
br {
237
    margin: 0px;
238
    padding: 0px;
239
}
240

    
241
textarea {
242
   width: 80%;
243
}
244

    
245
.required {
246
    font-weight: bold;
247
    color: #b00000;
248
}
249

    
250
.label {
251
    font-weight: bold;
252
}
253

    
254

    
255
.emphasis {
256
    font-weight: bold;
257
    font-size: 18px;
258
    color: #000000;
259
}
260

    
261
.boldlink {
262
	font-weight: bold;
263
	font-size: 12px;
264
}
265

    
266
.colorbold {
267
	font-weight: bold;
268
	color: #0040A1;
269
	font-size: 12px;
270
}
271

    
272
.redbold {
273
	font-weight: bold;
274
	color: #b00000;
275
	font-size: 12px;
276
}
277

    
278
.greenbold {
279
	font-weight: bold;
280
	color: #008000;
281
	font-size: 12px;
282
}
283

    
284
.smalltext {
285
	font-weight: bold;
286
	font-size: 10px;
287
	vertical-align: super;
288
}
289

    
290
.largetext {
291
	font-weight: bold;
292
	font-size: 16px;
293
} 
294

    
295
.italicized {
296
	font-style: italic;
297
	font-size: 12px;
298
}
299

    
300
.regtext {
301
	font-weight: normal;
302
	font-size: 12px;
303
}
304
.sectbody {
305
	background: #e8eef7;
306
	font-size: 12px;
307
        font-weight: bold;}
308

    
309
.sectheader {
310
	background: #B7C9E3;
311
	font-size: 12px;
312
        font-weight: bold;}
313

    
314
    
315
.tables {
316
        width:   760px;
317
        margin-left:      20px;
318
        border-top: solid black 1px;
319
        border-left: solid black 1px;
320
        border-right: solid black 1px;      
321
      }
322

    
323
	
324
.hide {
325
      display:none;
326
  }
327

    
328
.bordertop {
329
        border-top: solid black 1px;
330
      }
331
      
332
.borderbottom {
333
        border-bottom: 1px solid black;}
334
	
335
.topbottom {
336
	border-top: 1px solid black;
337
	border-bottom: 1px solid black; 
338
	}
339
.longwidth {
340
	width: 80%;
341
	}
342

    
343
.shortwidth {
344
	width: 40%;
345
	}
346

    
347

    
348
.rightCol {
349
       width:  24%;
350
       text-align: right;
351
    }
(7-7/12)