source: trunk/gsdl/images/style.css@ 11800

Last change on this file since 11800 was 11800, checked in by shaoqun, 18 years ago

add navlink class for <a> tag

  • Property svn:keywords set to Author Date Id Revision
File size: 5.7 KB
Line 
1/* default stylesheet for greenstone. */
2
3body {
4 background: #ffffff;
5 color: #000000;
6}
7
8/* bg image set in style macro */
9body.bgimage { }
10
11a:link { color: #006666; }
12
13a:hover { color: #cc9900; }
14
15a:visited { color: #666633; }
16
17img.link { border: 0; }
18
19/* for unesco/human info etc logos on home page */
20img.logo {
21 border: 0;
22 float: right;
23 margin-left: 10px;
24}
25
26
27/* this contains everything - all the other divs */
28#page {
29 margin-left: 80px;
30 margin-right: 30px;
31}
32
33
34#banner {
35 margin-bottom: 5px;
36}
37/* this div contains the bannerlinks and bannertitle paragraphs */
38div.pageinfo {
39 float: right;
40 text-align: right;
41 padding: 0;
42 margin:0;
43 width: 50%;
44}
45
46/* home, help, preferences links */
47p.bannerlinks {
48 font-family: sans-serif, arial, helvetica;
49 font-size: 10pt;
50 font-weight: bold;
51}
52
53/* the title set by the receptionist based on the page action */
54p.bannertitle {
55 font-family: sans-serif, arial, helvetica;
56 font-size: 24px;
57 font-weight: bold;
58 margin-left: 20px 0 0 0;
59 text-transform: lowercase;
60 white-space: nowrap;
61}
62
63
64/* the image for the collection, shown in the banner */
65div.collectimage {
66 text-align: left;
67 #height: 100%; /* for IE5/6 to make containing div the full height */
68 float: left;
69 width: 50%;
70}
71/* make sure this is shown under the other divs (which may be floating) */
72div.bannerextra {
73 clear: both;
74}
75
76
77/* blankiconbar */
78div.section p.bar {
79 text-align: center;
80}
81
82
83
84/* bg image set in style macro */
85div.navbar {
86 min-width: 500px;
87 white-space: nowrap;
88 font-family: sans-serif, arial, helvetica;
89 font-size: 10pt;
90 font-weight: bold;
91 text-transform: lowercase;
92 border: 0;
93 width: 100%; /* for ns4 */
94}
95
96
97/* bg image set in style macro */
98div.divbar { /* for "select a collection" */
99 font-family: arial;
100 font-size: 10pt;
101 font-weight: bold;
102 border: 0;
103 width: 100%; /* for ns4 */
104}
105
106
107p.navbar { /* opt navbar text inside a divbar div */
108 text-align: center;
109 margin: 0;
110}
111
112span.collectiontitle {
113 position: relative;
114 margin: 0 0 0 -47px;
115
116}
117span.collectiontitlebackground {
118 background: #96c19b;
119 padding: 8px 4px 14px 50px;
120 margin: 0;
121
122}
123span.bannertitle{
124 position: relative;
125 padding: 8px 4px 14px 0;
126 margin: 0 -50px 0 0;
127}
128
129span.bannertitlebackground {
130 background: #96c19b;
131 padding: 8px 4px 14px 50px;
132 margin: 0;
133}
134
135/* bg image set in style macro */
136span.navlink {
137 vertical-align: top;
138 padding: 0 10px;
139}
140
141/* bg image set in style macro */
142a.navlink {
143 vertical-align: top;
144 padding: 0 10px;
145 color: black;
146 text-decoration: none;
147}
148
149/* bg image set in style macro */
150a.navlink_sel {
151 vertical-align: top;
152 padding: 0 10px;
153 color: black;
154 text-decoration: none;
155}
156
157a.navlink:visited {
158 color: black;
159}
160
161/* for the nav_ns4.dm macro only (for netscape4 support) */
162a.navlink_ns4 {
163 background-color: #e8d9b1;
164}
165
166a.navlink_sel_ns4 {
167 background-color: #96c19b;
168}
169
170
171/* bg image set in style macro */
172span.navlink_sel {
173 vertical-align: top;
174 padding: 0 10px;
175}
176
177/* bg image set in style macro */
178span.navlink:hover { }
179
180span.navlink a {
181 color: black;
182 text-decoration: none;
183}
184
185span.navlink a:visited {
186 color: black;
187}
188
189/* for the nav_ns4.dm macro only (for netscape4 support) */
190span.navlink_ns4 {
191 background-color: #e8d9b1;
192}
193span.navlink_sel_ns4 {
194 background-color: #96c19b;
195}
196
197/* ns4 doesn't support :hover? */
198span.navlink_ns4 a:hover {
199}
200
201span.highlight {
202 background: #ffff77;
203}
204
205/* content inside the pages */
206img.icon { border: 0; }
207
208div.queryform {
209 text-align: center;
210}
211span.textselect { white-space: nowrap; }
212
213div.document {
214 padding-top: 5px;
215}
216div.documenttext { clear: both; } /* come after any floating divs */
217
218div.warning { /* eg expanding more than 10 sections in table of contents */
219}
220div.warning div.buttons { float: right; } /* continue button */
221
222div.heading_image { float: left; } /* optional cover image */
223div.heading_title { font-size: 14pt; } /* alternate to cover image */
224div.document div.buttons {
225 /* anything that holds buttons... toc_buttons but also continue button */
226 width: 100px; /* each button (inside its own div) can overflow this */
227}
228div#toc_buttons { /* expand/contract etc "buttons" */
229 clear: left; /* don't put next to another float on our left-hand side */
230 float: left;
231 margin-right: 5px;
232 margin-bottom: 5px;
233}
234div.button {
235 font-size: 11px;
236 font-weight: bold;
237 line-height: 1.2em;
238 /*background: #ffeecc; */
239 background: #f7e7c5;
240 margin: 1px;
241 border: 1px solid #eeddbb;
242 text-align: center;
243 vertical-align: middle;
244 height: 30px; /* IE6 and NS4 treat width/height as min-width/min-height */
245 width: 110px;
246}
247*>div.button { /* for other browsers - IE6 doesn't apply this */
248 height: auto;
249 width: auto;
250 min-height: 30px;
251 min-width: 110px;
252}
253span.button {}
254span.button a { text-decoration: none; color: black; }
255span.button a:hover { /* IE6 doesn't do :hover for things that aren't <A> */
256 background: #eeddbb;
257}
258
259div.section p {
260 text-align: justify;
261}
262
263/* for the home page - auto-generated _homeextra_ macro */
264table.collections {
265 width: 100%;
266 max-width: 800px;
267 text-align: center;
268 /* centres a block element for gecko and opera. (IE 5.5 needs parent
269 * text-align) */
270 margin-left:auto; margin-right:auto;
271}
272
273/* collections that have a logo should have a border around them */
274table.collections img {
275 border: 1px solid;
276}
277
278/* collector bar */
279table.collectorbar {
280 text-align: center;
281 vertical-align: middle;
282}
283
284td.collectorbargreen {
285 background-color: #96BE9C;
286}
287td.collectorbaryellow {
288 background-color: #EEE8AA;
289}
290td.collectorbargrey {
291 background-color: #D3D3D3;
292}
293
294table.collectorbar a {
295 color: black;
296 text-decoration: none;
297}
298
299table.collectorbar a:visited {
300 color: black;
301}
302
303
304span.date_list_year {
305 font-weight: bold;
306}
307span.date_list_month {
308 font-weight: bold;
309}
310
311
Note: See TracBrowser for help on using the repository browser.