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

Last change on this file since 18375 was 17990, checked in by kjdon, 15 years ago

removed the text-transform from p.collectiontitle. why were we lower casing them? If I wanted my title to be lower case I would have made it lower case in the first place

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