source: gsdl/trunk/web/style/style.css@ 19783

Last change on this file since 19783 was 19783, checked in by oranfry, 15 years ago

fixed the repeating background problem

  • Property svn:keywords set to Author Date Id Revision
File size: 5.7 KB
Line 
1/* default stylesheet for greenstone. */
2
3body {
4 background-color: #ffffff;
5 background-repeat: repeat-y;
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 white-space: nowrap;
76 padding: 8px 0px 12px 2px;
77 background-repeat: repeat-y;
78 background-position: top left;
79 margin:0;
80}
81
82a.collectiontitle {
83 color: black;
84 text-decoration: none;
85}
86
87/* the image for the collection, shown in the banner */
88div.collectimage {
89 text-align: left;
90 float: left;
91 width: 45%;
92 padding:0;
93 margin:0;
94}
95/* make sure this is shown under the other divs (which may be floating) */
96div.bannerextra {
97 clear: both;
98}
99
100/* blankiconbar */
101div.section p.bar {
102 text-align: center;
103}
104
105
106
107/* bg image set in style macro */
108div.navbar {
109 min-width: 500px;
110 white-space: nowrap;
111 font-family: sans-serif, arial, helvetica;
112 font-size: 10pt;
113 font-weight: bold;
114 text-transform: lowercase;
115 border: 0;
116 width: 100%; /* for ns4 */
117}
118
119
120/* bg image set in style macro */
121div.divbar { /* for "select a collection" */
122 font-family: arial;
123 font-size: 10pt;
124 font-weight: bold;
125 border: 0;
126 width: 100%; /* for ns4 */
127}
128
129
130p.navbar { /* opt navbar text inside a divbar div */
131 text-align: center;
132 margin: 0;
133}
134
135/* bg image set in style macro */
136a.navlink {
137 vertical-align: top;
138 padding: 0 10px;
139 color: black;
140 text-decoration: none;
141}
142
143/* bg image set in style macro */
144a.navlink_sel {
145 vertical-align: top;
146 padding: 0 10px;
147 color: black;
148 text-decoration: none;
149}
150
151a.navlink:visited {
152 color: black;
153}
154
155/* for the nav_ns4.dm macro only (for netscape4 support) */
156a.navlink_ns4 {
157 background-color: #e8d9b1;
158}
159
160a.navlink_sel_ns4 {
161 background-color: #96c19b;
162}
163
164span.highlight {
165 background: #ffff77;
166}
167
168/* content inside the pages */
169img.icon { border: 0; }
170
171span.textselect {
172 white-space: nowrap;
173}
174
175span.textselect select {
176 text-transform: lowercase;
177}
178
179div.document {
180 padding: .2em 0 0 0;
181 clear: both;
182}
183
184div.documenttext { clear: both; } /* come after any floating divs */
185
186ul#searchresults{
187 list-style-type: none;
188 margin: 0 0 .2em 0;
189 padding:0;
190 overflow: hidden;
191}
192
193ul#searchresults li{
194 margin: 0;
195 padding: 2px 0 2px 0;
196 font-size: 11px;
197 font-weight: bold;
198 width: 160px;
199 background-color:#f7e7c5;
200 text-align:center;
201}
202
203li#nextresult{
204 float:right;
205}
206
207li#prevresult{
208 float:left;
209}
210
211
212ul#searchresults li a {
213 margin:0;
214 padding:0;
215 text-decoration: none;
216 color: black;
217}
218
219
220div.warning { /* eg expanding more than 10 sections in table of contents */
221}
222div.warning div.buttons { float: right; } /* continue button */
223
224div.heading_image {
225 float: left;
226
227 } /* optional cover image */
228
229div.heading_title {
230 font-size: 14pt;
231 } /* alternate to cover image */
232
233div.document div.buttons {
234 /* anything that holds buttons... toc_buttons but also continue button */
235 width: 100px; /* each button (inside its own div) can overflow this */
236}
237div#toc_buttons { /* expand/contract etc "buttons" */
238 clear: left; /* don't put next to another float on our left-hand side */
239 float: left;
240 margin: 0 15px 5px 0;
241}
242
243div.button {
244 font-size: 11px;
245 font-weight: bold;
246 background: #f7e7c5;
247 margin: 1px;
248 border: 1px solid #eeddbb;
249 text-align: center;
250 vertical-align: middle;
251 width: 110px;
252}
253
254*>div.button { /* for other browsers - IE6 doesn't apply this */
255 height: auto;
256 width: auto;
257 min-width: 110px;
258}
259
260span.button {}
261span.button a { text-decoration: none; color: black; }
262span.button a:hover { /* IE6 doesn't do :hover for things that aren't <A> */
263 background: #eeddbb;
264}
265
266div.homebutton {
267 font-size: 11px;
268 font-weight: bold;
269 background: #f7e7c5;
270 margin: 1px;
271 border: 1px solid #eeddbb;
272 text-align: center;
273 vertical-align: middle;
274 width: 110px;
275 height: 30px;
276}
277
278div.section p {
279 text-align: justify;
280}
281
282/* for the home page - auto-generated _homeextra_ macro */
283table.collections {
284 width: 100%;
285 max-width: 800px;
286 text-align: center;
287 /* centres a block element for gecko and opera. (IE 5.5 needs parent
288 * text-align) */
289 margin-left:auto; margin-right:auto;
290}
291
292/* collections that have a logo should have a border around them */
293table.collections img {
294 border: 1px solid;
295}
296
297/* collector bar */
298table.wizardbar {
299 text-align: center;
300 vertical-align: middle;
301}
302
303td.wizardbargreen {
304 background-color: #96BE9C;
305}
306td.wizardbaryellow {
307 background-color: #EEE8AA;
308}
309td.wizardbargrey {
310 background-color: #D3D3D3;
311}
312
313table.wizardbar a {
314 color: black;
315 text-decoration: none;
316}
317
318table.wizardbar a:visited {
319 color: black;
320}
321
322
323span.date_list_year {
324 font-weight: bold;
325}
326span.date_list_month {
327 font-weight: bold;
328}
329
330
Note: See TracBrowser for help on using the repository browser.