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: jones $'
12
  *      '$Date: 2007-09-13 14:06:02 -0700 (Thu, 13 Sep 2007) $'
13
  *  '$Revision: 3444 $'
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
@import url(@style-skins-path@/nceas/midnight.css);
38

    
39
/**
40
 *  set the correct iframe sizes to accomodate the 
41
 *  header, footer, left and right areas.
42
 *  NOTE: these styles apply only to each 
43
 *  container frame, *NOT* to the document within it!
44
 */  
45
.iframeheaderclass {
46
  height:   155px; 
47
  width:    98%;
48
  border:   0px;
49
  margin:   0px;
50
  /*margin-left: 10px;*/
51
}
52

    
53
.iframesearchboxclass { /* not used */ }
54
.iframeleftcolclass  { /* not used */ }
55
.iframerightcolclass { /* not used */ }
56
.iframefooterclass   { /* not used */ }
57

    
58
/**
59
 *  set the size and alignment etc of the top-level layout table
60
 */  
61
.templatetableclass {
62
  width:   100%; 
63
  border:   0px;
64
  padding:  0px;
65
  margin:   0px;
66
}
67

    
68

    
69
/**
70
 *  set the style of the main content area and its contents
71
 */ 
72
.templatecontentareaclass {
73
  border:   0px;
74
  padding:  0px;
75
  margin:   0px;
76
}
77

    
78

    
79
/**
80
 *  set the correct <td> sizes to accomodate the 
81
 *  header, footer, left and right iframes.
82
 *  NOTE: these styles apply only to each 
83
 *  container frame, *NOT* to the document in
84
 *  the iframe within it!
85
 */  
86
.templateheaderrowclass {
87
  height:   155px; 
88
/*
89
  no width allowed - uses same width as table class
90
*/
91
  border:   0px;
92
  padding:  0px;
93
  margin:   0px;
94
}
95

    
96

    
97
.templateleftcolclass {
98
  height:   100%; 
99
  width:    0px;
100
  border:   0px;
101
  padding:  0px;
102
  margin:   0px;
103
}
104

    
105

    
106
.templaterightcolclass {
107
  height:   100%; 
108
  width:    0px;
109
  border:   0px;
110
  padding:  0px;
111
  margin:   0px;
112
}
113

    
114

    
115
.templatefooterrowclass {
116
  height:   0px; 
117
/*
118
  no width allowed - uses same width as table class
119
*/
120
  border:   0px;
121
  padding:  0px;
122
  margin:   0px;
123
}
124

    
125

    
126
/**
127
 *  these override styles imported from eml css 
128
 */
129

    
130
/*
131
body {
132
    padding: 0px;
133
    margin: 0px;
134
    margin-top: 5px;
135
    background-color: #ffffff;
136
    font-weight: normal;
137
    font-size: 12px; 
138
    font-family: Verdana,Arial,Helvetica,sans-serif; 
139
}
140
*/
141
.sectionnames{
142
    font-weight: bold;
143
    font-size: 16px;
144
    color: #0040A1;
145
}
146
.title {
147
    font-family: Georgia, Times New Roman, Times, serif;
148
    color:      black;
149
    background: white;
150
    font-size: 24px; 
151
    font-weight: bold;
152
}
153

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

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

    
175
th.tablehead {
176

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

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

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

    
214
/**
215
 *  these are used only in the metacat pages
216
 */
217

    
218
p.emphasis {
219

    
220
  font-size: 18px;
221
  color: #dd7744; 
222
  font-weight: bold;
223
  font-style:  normal;
224
}
225

    
226
.searchresultsdivider {
227
    background-color: #dddddd;   
228
}
229

    
230
}
231

    
232
.searchresultsdividerPale {
233
   	border-color: #ff9933;  
234
	border: 4px;
235
	 
236
}
237

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

    
248
br {
249
    margin: 0px;
250
    padding: 0px;
251
}
252

    
253
.intro {
254
        width:   760px;
255
        margin-left: 15px;
256
}
257

    
258
textarea {
259
   width: 80%;
260
}
261

    
262
.required {
263
    font-weight: bold;
264
    color: #b00000;
265
}
266

    
267
.label {
268
    font-weight: bold;
269
}
270

    
271

    
272
.emphasis {
273
    font-weight: bold;
274
    font-size: 18px;
275
    color: #000000;
276
}
277

    
278
.boldlink {
279
	font-weight: bold;
280
	font-size: 12px;
281
}
282

    
283
.colorbold {
284
	font-weight: bold;
285
	color: #0040A1;
286
	font-size: 12px;
287
}
288

    
289
.redbold {
290
	font-weight: bold;
291
	color: #b00000;
292
	font-size: 12px;
293
}
294

    
295
.greenbold {
296
	font-weight: bold;
297
	color: #008000;
298
	font-size: 12px;
299
}
300

    
301
.smalltext {
302
	font-weight: bold;
303
	font-size: 10px;
304
	vertical-align: super;
305
}
306

    
307
.largetext {
308
	font-weight: bold;
309
	font-size: 16px;
310
} 
311

    
312
.italicized {
313
	font-style: italic;
314
	font-size: 12px;
315
}
316

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

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

    
347
.borderbottom {
348
        border-bottom: solid black 1px;
349
      }
350
      
351
.topbottom {
352
	border-top: 1px solid black;
353
	border-bottom: 1px solid black; 
354
	}	
355

    
356
.longwidth {
357
	width: 80%;
358
	}
359

    
360
.shortwidth {
361
	width: 35%;
362
	}
363
        
364
.rightCol {
365
       width:  24%;
366
       text-align: right;
367
    }
368

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

    
374
p + p {
375
    text-indent: 0em;
376

    
377
}
378

    
379

    
380

    
(17-17/21)