Project

General

Profile

1 1929 brooke
 /*
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$'
12
  *      '$Date$'
13
  *  '$Revision$'
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 1968 jones
32
/*
33
 *  import eml css:
34
 */
35
36
@import url(@style-common-path@/@eml-css@);
37
38 1929 brooke
/**
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 1968 jones
  height:   155px;
46 1929 brooke
  width:    100%;
47
  border:   0px;
48
  margin:   0px;
49
  margin-left: 10px;
50
}
51
52 1968 jones
.iframesearchboxclass { /* not used */ }
53
.iframeleftcolclass  { /* not used */ }
54
.iframerightcolclass { /* not used */ }
55
.iframefooterclass   { /* not used */ }
56 1929 brooke
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 1968 jones
  height:   155px;
87 1929 brooke
/*
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 1968 jones
  width:    0px;
99 1929 brooke
  border:   0px;
100
  padding:  0px;
101
  margin:   0px;
102
}
103
104
105
.templaterightcolclass {
106
  height:   100%;
107 1968 jones
  width:    0px;
108 1929 brooke
  border:   0px;
109
  padding:  0px;
110
  margin:   0px;
111
}
112
113
114
.templatefooterrowclass {
115 1968 jones
  height:   0px;
116 1929 brooke
/*
117
  no width allowed - uses same width as table class
118
*/
119
  border:   0px;
120
  padding:  0px;
121
  margin:   0px;
122
}
123
124 1968 jones
125 1929 brooke
/**
126 1968 jones
 *  these override styles imported from eml css
127 1929 brooke
 */
128
129
.title {
130
    font-family: Georgia, Times New Roman, Times, serif;
131 1968 jones
    color:      black;
132
    background: white;
133 1929 brooke
    font-size: 24px;
134 1968 jones
    font-weight: bold;
135
}
136 1929 brooke
137 1968 jones
.highlight  {
138
    color: #006699;
139
    background-color: #FFFFFF;
140
    font-style: italic;
141
    font-size: 1em;
142
    padding-left: 10px;
143 1929 brooke
}
144 1968 jones
145
.tablehead {
146
    color: #0040A1;
147
    background: #FFFFFF;
148
    text-align: left;
149
    font-size: 14px;
150 1929 brooke
    font-weight: bold;
151 1968 jones
    border-top: solid #ffffff 15px;
152
    border-bottom: solid #dddddd 1px;
153
    padding-left: 10px;
154
    padding-top: 0px;
155
    padding-bottom: 0px;
156
}
157
158
th.tablehead {
159
160
    text-align: center;
161
    border-bottom: solid #006666 1px;
162
    margin: 0px;
163
    padding: 0px;
164
    height:  21px;
165
}
166
167
.tablehead_lcorner {
168
    background-position: right top;
169
    background-repeat: no-repeat;
170
    padding: 0px;
171
    margin:  0px;
172
    width:   10px;
173
    height:  21px;
174
}
175 1929 brooke
176 1968 jones
.tablehead_rcorner {
177
    background-position: left top;
178
    background-repeat: no-repeat;
179
    padding: 0px;
180
    margin:  0px;
181
    width:   10px;
182
    height:  21px;
183
}
184
185
a {
186
    color: #0040A1;
187
    font-weight: bold;
188
    font-size: 12px;
189 1929 brooke
    text-decoration: none; }
190
191 1968 jones
a:hover {
192 1929 brooke
    color: #ff9933;
193
    text-decoration: underline; }
194
195 1968 jones
/**
196
 *  these are used only in the metacat pages
197
 */
198 1929 brooke
199
p.emphasis {
200
201
  font-size: 18px;
202
  color: #dd7744;
203
  font-weight: bold;
204
  font-style:  normal;
205
}
206
207
.searchresultsdivider {
208
    background-color: #dddddd;
209
}
210
211 1968 jones
/**
212
 *  these are used only in the registry skins
213
 */
214
p.searchbox {
215
    color: #0040A1;
216
    font-weight: bold;
217
    font-size: 12px;
218
    text-decoration: none;
219 1929 brooke
}
220
221 1968 jones
br {
222
    margin: 0px;
223
    padding: 0px;
224 1929 brooke
}
225
226 1982 jones
textarea {
227
   width: 80%;
228
}
229
230
.required {
231
    font-weight: bold;
232 2142 sgarg
    color: #b00000;
233 1982 jones
}
234
235
.label {
236
    font-weight: bold;
237
}