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

Last change on this file since 12996 was 12777, checked in by kjdon, 18 years ago

removed the centering for the query form

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