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

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

added styles for the next and previous search result link in a document page

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