Revision 998
Added by Matt Jones over 22 years ago
lib/style/knb.css | ||
---|---|---|
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$' |
|
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 |
body { |
|
31 |
color: black; |
|
32 |
background: white; |
|
33 |
font-size: 1em; |
|
34 |
font-family: Arial,Helvetica,sans-serif; } |
|
35 |
a { |
|
36 |
color: green; |
|
37 |
text-decoration: underline; } |
|
38 |
a.toollink { |
|
39 |
color: green; |
|
40 |
text-decoration: none; } |
|
41 |
a.sitelink { |
|
42 |
color: green; |
|
43 |
text-decoration: none; |
|
44 |
font-weight: bold; } |
|
45 |
.logo { |
|
46 |
background: #ccccff; |
|
47 |
color: green; |
|
48 |
width: 3em; |
|
49 |
margin-left: 0.5em; |
|
50 |
margin-right: 0.5em; |
|
51 |
margin-top: 0.5em; |
|
52 |
margin-bottom: 0.5em; |
|
53 |
padding: 0.5em; |
|
54 |
font-size: 2em; |
|
55 |
font-weight: bold; } |
|
56 |
.tabledefault { |
|
57 |
background: white; |
|
58 |
color: black; |
|
59 |
width: 100%; |
|
60 |
font-size: 1em; |
|
61 |
left-padding: 0.25em; |
|
62 |
right-padding: 0.25em; } |
|
63 |
.tablepanel { |
|
64 |
background: #eeeeee; |
|
65 |
color: black; |
|
66 |
font-size: 1em; |
|
67 |
left-padding: 0.25em; |
|
68 |
right-padding: 0.25em; } |
|
69 |
.tablehead { |
|
70 |
background: #ccccff; |
|
71 |
vertical-align: baseline; |
|
72 |
color: black; |
|
73 |
font-size: 1em; |
|
74 |
font-weight: bold; |
|
75 |
} |
|
76 |
.tableheadcontrast { |
|
77 |
background: #dddddd; |
|
78 |
vertical-align: baseline; |
|
79 |
color: black; |
|
80 |
font-size: 1.2em; |
|
81 |
font-weight: bold; } |
|
82 |
.title { |
|
83 |
color: black; |
|
84 |
margin-top: 1em; |
|
85 |
font-size: 1.5em; |
|
86 |
font-weight: bold; } |
|
87 |
.subtitle { |
|
88 |
color: black; |
|
89 |
margin-top: 0.5em; |
|
90 |
margin-left: 3em; |
|
91 |
font-weight: bold; |
|
92 |
font-style: italic; } |
|
93 |
.pagetitle { |
|
94 |
font-family: Arial,Helvetica,sans-serif; |
|
95 |
font-size: 3em; |
|
96 |
font-weight: bold; |
|
97 |
color: green; |
|
98 |
margin-left: 0.25em; } |
|
99 |
.pagesub { |
|
100 |
font-family: Arial,Helvetica,sans-serif; |
|
101 |
font-size: 1em; |
|
102 |
font-weight: bold; |
|
103 |
color: green; |
|
104 |
margin-left: 3em; |
|
105 |
margin-top: 0.5em; |
|
106 |
margin-bottom: 2em; } |
|
107 |
.instright { |
|
108 |
color: black; |
|
109 |
text-align: right; |
|
110 |
vertical-align: middle; |
|
111 |
padding: 1em; |
|
112 |
font-size: 1em; |
|
113 |
font-weight: bold; } |
|
114 |
.instleft { |
|
115 |
color: black; |
|
116 |
text-align: left; |
|
117 |
vertical-align: middle; |
|
118 |
padding: 1em; |
|
119 |
font-size: 1em; |
|
120 |
font-weight: bold; } |
|
121 |
p { |
|
122 |
margin: 0.25em; } |
|
123 |
.required { |
|
124 |
color: red; } |
|
125 |
.emphasis { |
|
126 |
color: red; } |
|
127 |
p.label { |
|
128 |
color: black; |
|
129 |
font-weight: bold; } |
|
130 |
p.contact { |
|
131 |
color: black; |
|
132 |
padding: 1em; |
|
133 |
font-size: 0.75em; |
|
134 |
font-weight: normal; |
|
135 |
font-style: italic; } |
|
136 |
p.header { |
|
137 |
color: black; |
|
138 |
padding: 1em; |
|
139 |
font-size: 0.75em; |
|
140 |
font-weight: bold; } |
|
141 |
img.logoright { |
|
142 |
padding: 0.5em; |
|
143 |
border: none; |
|
144 |
float: right; } |
|
145 |
img.logoleft { |
|
146 |
padding: 0.25em; |
|
147 |
border: none; |
|
148 |
float: left; } |
|
149 |
.roweven { |
|
150 |
background: #c0d3e7; } |
|
151 |
.rowodd { |
|
152 |
background: white; } |
|
153 |
.highlight { |
|
154 |
background-color: #dddddd; |
|
155 |
font-size: -1; } |
|
156 |
.plaintext { |
|
157 |
color: black; |
|
158 |
font-weight: normal; |
|
159 |
font-size: 1em; |
|
160 |
} |
|
161 |
.boldtext { |
|
162 |
color: black; |
|
163 |
font-weight: bold; |
|
164 |
font-size: 1em; |
|
165 |
} |
|
0 | 166 |
Also available in: Unified diff
New stylesheet that is specific to the KNB website.