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

Last change on this file since 13522 was 13522, checked in by shaoqun, 17 years ago

modify the style of the buttons of the home page

  • Property svn:keywords set to Author Date Id Revision
File size: 5.6 KB
Line 
1/* default stylesheet for greenstone. */
2
3body {
4 background: #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 text-transform: lowercase;
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 { white-space: nowrap; }
172
173div.document {
174 padding: .2em 0 0 0;
175 clear: both;
176
177}
178
179div.documenttext { clear: both; } /* come after any floating divs */
180
181ul#searchresults{
182 list-style-type: none;
183 margin: 0 0 .2em 0;
184 padding:0;
185 overflow: hidden;
186}
187
188ul#searchresults li{
189 margin: 0;
190 padding: 2px 0 2px 0;
191 font-size: 11px;
192 font-weight: bold;
193 width: 160px;
194 background-color:#f7e7c5;
195 text-align:center;
196}
197
198li#nextresult{
199 float:right;
200}
201
202li#prevresult{
203 float:left;
204}
205
206
207ul#searchresults li a {
208 margin:0;
209 padding:0;
210 text-decoration: none;
211 color: black;
212}
213
214
215div.warning { /* eg expanding more than 10 sections in table of contents */
216}
217div.warning div.buttons { float: right; } /* continue button */
218
219div.heading_image {
220 float: left;
221
222 } /* optional cover image */
223
224div.heading_title {
225 font-size: 14pt;
226 } /* alternate to cover image */
227
228div.document div.buttons {
229 /* anything that holds buttons... toc_buttons but also continue button */
230 width: 100px; /* each button (inside its own div) can overflow this */
231}
232div#toc_buttons { /* expand/contract etc "buttons" */
233 clear: left; /* don't put next to another float on our left-hand side */
234 float: left;
235 margin: 0 15px 5px 0;
236}
237
238div.button {
239 font-size: 11px;
240 font-weight: bold;
241 background: #f7e7c5;
242 margin: 1px;
243 border: 1px solid #eeddbb;
244 text-align: center;
245 vertical-align: middle;
246 width: 110px;
247}
248
249*>div.button { /* for other browsers - IE6 doesn't apply this */
250 height: auto;
251 width: auto;
252 min-width: 110px;
253}
254
255span.button {}
256span.button a { text-decoration: none; color: black; }
257span.button a:hover { /* IE6 doesn't do :hover for things that aren't <A> */
258 background: #eeddbb;
259}
260
261div.homebutton {
262 font-size: 11px;
263 font-weight: bold;
264 background: #f7e7c5;
265 margin: 1px;
266 border: 1px solid #eeddbb;
267 text-align: center;
268 vertical-align: middle;
269 width: 110px;
270 heigh: 30px;
271}
272
273div.section p {
274 text-align: justify;
275}
276
277/* for the home page - auto-generated _homeextra_ macro */
278table.collections {
279 width: 100%;
280 max-width: 800px;
281 text-align: center;
282 /* centres a block element for gecko and opera. (IE 5.5 needs parent
283 * text-align) */
284 margin-left:auto; margin-right:auto;
285}
286
287/* collections that have a logo should have a border around them */
288table.collections img {
289 border: 1px solid;
290}
291
292/* collector bar */
293table.wizardbar {
294 text-align: center;
295 vertical-align: middle;
296}
297
298td.wizardbargreen {
299 background-color: #96BE9C;
300}
301td.wizardbaryellow {
302 background-color: #EEE8AA;
303}
304td.wizardbargrey {
305 background-color: #D3D3D3;
306}
307
308table.wizardbar a {
309 color: black;
310 text-decoration: none;
311}
312
313table.wizardbar a:visited {
314 color: black;
315}
316
317
318span.date_list_year {
319 font-weight: bold;
320}
321span.date_list_month {
322 font-weight: bold;
323}
324
325
Note: See TracBrowser for help on using the repository browser.