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: 2004-12-22 11:36:50 -0800 (Wed, 22 Dec 2004) $'
13
  *  '$Revision: 2350 $'
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
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

    
140
.title {
141
    font-family: Georgia, Times New Roman, Times, serif;
142
    color:      black;
143
    background: white;
144
    /*background-image: url(http://www.nceas.ucsb.edu/gifs/toolbar/bg-gradient.gif);*/
145
    font-size: 24px; 
146
    font-weight: bold;
147
}
148

    
149
.highlight  {
150
    color: #006699;
151
    background-color: #FFFFFF; 
152
    font-style: italic;
153
    font-size: 1em; 
154
    padding-left: 10px;
155
}
156

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

    
170
th.tablehead {
171

    
172
    text-align: center;
173
    border-bottom: solid #006666 1px;
174
    margin: 0px;
175
    padding: 0px;
176
    height:  21px;
177
}
178

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

    
197
a {
198
    color: #0040A1;
199
    font-weight: bold;
200
    font-size: 12px; 
201
    text-decoration: none; }
202
    
203
a:hover {
204
    color: #ff9933;
205
    text-decoration: underline; }
206

    
207
/**
208
 *  these are used only in the metacat pages
209
 */
210

    
211
p.emphasis {
212

    
213
  font-size: 18px;
214
  color: #dd7744; 
215
  font-weight: bold;
216
  font-style:  normal;
217
}
218

    
219
.searchresultsdivider {
220
    background-color: #dddddd;   
221
}
222

    
223
/**
224
 *  these are used only in the registry skins
225
 */
226
p.searchbox {
227
    color: #0040A1;
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
textarea {
239
   width: 80%;
240
}
241

    
242
.required {
243
    font-weight: bold;
244
    color: #b00000;
245
    font-size: 12px;
246
}
247

    
248
.label {
249
    font-weight: bold;
250
    font-size: 12px;
251
}
252

    
253

    
254
.emphasis {
255
    font-weight: bold;
256
    font-size: 12px;
257
}
258

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

    
264

    
265
.redbold {
266
	font-weight: bold;
267
	color: #b00000;
268
	font-size: 12px;
269
}
270

    
271
.greenbold {
272
	font-weight: bold;
273
	color: #008000;
274
	font-size: 12px;
275
}
276

    
277
.smalltext {
278
	font-weight: bold;
279
	font-size: 10px;
280
}
281

    
282
.italicized {
283
	font-style: italic;
284
	font-size: 12px;
285
}
286

    
287
.regtext {
288
	font-size: 12px;
289
}
290
	
291
.tables {
292
  width:   760;
293
  border:    0;
294
  margin:    0;
295
  padding:   9;
296
  border-spacing: 5;
297
  background-color: #c6d6e7;
298
}
299

    
300

    
301
/**
302
 *  This is add to overload the p+p function defined in eml.css.
303
 *  Refer to bug# 1306 for further details. 
304
 */
305

    
306
p + p {
307
    text-indent: 0em;
308
}
(7-7/9)