source: tags/gsdl-2_70u-distribution/gsdl/images/style.css@ 11745

Last change on this file since 11745 was 11745, checked in by (none), 18 years ago

This commit was manufactured by cvs2svn to create tag
'gsdl-2_70u-distribution'.

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