source: main/trunk/greenstone2/web/style/style.css@ 31949

Last change on this file since 31949 was 31949, checked in by kjdon, 7 years ago

capitalize the headings for gsdl page table

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