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

Last change on this file since 11745 was 11728, checked in by mdewsnip, 18 years ago

Removed the two invalid "text-align: top" instances, thanks to Richard Managh for pointing these out.

  • Property svn:keywords set to Author Date Id Revision
File size: 5.0 KB
Line 
1/* default stylesheet for greenstone. */
2
3body {
4 background: #ffffff;
5 color: #000000;
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-bottom: 5px;
36}
37/* this div contains the bannerlinks and bannertitle paragraphs */
38div.pageinfo {
39 float: right;
40 text-align: right;
41}
42
43
44/* home, help, preferences links */
45p.bannerlinks {
46 font-family: sans-serif, arial, helvetica;
47 font-size: 10pt;
48 font-weight: bold;
49}
50/* the title set by the receptionist based on the page action */
51p.bannertitle {
52 font-family: sans-serif, arial, helvetica;
53 font-size: 24px;
54 font-weight: bold;
55 padding-top: 4px;
56 padding-right: 4px;
57 padding-bottom: 10px;
58 margin-left: 10px;
59 text-transform: lowercase;
60 background: #96c19b;
61 width: 40px;
62 text-align: right;
63 white-space: nowrap;
64}
65
66
67/* the image for the collection, shown in the banner */
68div.collectimage {
69 text-align: left;
70 height: 100%; /* for IE5/6 to make containing div the full height */
71}
72/* make sure this is shown under the other divs (which may be floating) */
73div.bannerextra {
74 padding-bottom: 40px;
75}
76
77
78/* blankiconbar */
79div.section p.bar {
80 text-align: center;
81}
82
83
84
85/* bg image set in style macro */
86div.navbar {
87 min-width: 500px;
88 white-space: nowrap;
89 font-family: sans-serif, arial, helvetica;
90 font-size: 10pt;
91 font-weight: bold;
92 text-transform: lowercase;
93 border: 0;
94 width: 100%; /* for ns4 */
95}
96
97
98/* bg image set in style macro */
99div.divbar { /* for "select a collection" */
100 font-family: arial;
101 font-size: 10pt;
102 font-weight: bold;
103 border: 0;
104 width: 100%; /* for ns4 */
105}
106
107
108p.navbar { /* opt navbar text inside a divbar div */
109 text-align: center;
110 margin: 0;
111}
112
113
114/* bg image set in style macro */
115span.navlink {
116 vertical-align: top;
117 padding: 0 10px;
118}
119
120
121/* bg image set in style macro */
122span.navlink_sel {
123 vertical-align: top;
124 padding: 0 10px;
125}
126
127/* bg image set in style macro */
128span.navlink:hover { }
129
130span.navlink a {
131 color: black;
132 text-decoration: none;
133}
134span.navlink a:visited {
135 color: black;
136}
137
138/* for the nav_ns4.dm macro only (for netscape4 support) */
139span.navlink_ns4 {
140 background-color: #e8d9b1;
141}
142span.navlink_sel_ns4 {
143 background-color: #96c19b;
144}
145
146/* ns4 doesn't support :hover? */
147span.navlink_ns4 a:hover {
148}
149
150span.highlight {
151 background: #ffff77;
152}
153
154/* content inside the pages */
155img.icon { border: 0; }
156
157div.queryform {
158 text-align: center;
159}
160span.textselect { white-space: nowrap; }
161
162div.document {
163 padding-top: 5px;
164}
165div.documenttext { clear: both; } /* come after any floating divs */
166
167div.warning { /* eg expanding more than 10 sections in table of contents */
168}
169div.warning div.buttons { float: right; } /* continue button */
170
171div.heading_image { float: left; } /* optional cover image */
172div.heading_title { font-size: 14pt; } /* alternate to cover image */
173div.document div.buttons {
174 /* anything that holds buttons... toc_buttons but also continue button */
175 width: 100px; /* each button (inside its own div) can overflow this */
176}
177div#toc_buttons { /* expand/contract etc "buttons" */
178 clear: left; /* don't put next to another float on our left-hand side */
179 float: left;
180 margin-right: 5px;
181 margin-bottom: 5px;
182}
183div.button {
184 font-size: 11px;
185 font-weight: bold;
186 line-height: 1.2em;
187 /*background: #ffeecc; */
188 background: #f7e7c5;
189 margin: 1px;
190 border: 1px solid #eeddbb;
191 text-align: center;
192 vertical-align: middle;
193 height: 30px; /* IE6 and NS4 treat width/height as min-width/min-height */
194 width: 110px;
195}
196*>div.button { /* for other browsers - IE6 doesn't apply this */
197 height: auto;
198 width: auto;
199 min-height: 30px;
200 min-width: 110px;
201}
202span.button {}
203span.button a { text-decoration: none; color: black; }
204span.button a:hover { /* IE6 doesn't do :hover for things that aren't <A> */
205 background: #eeddbb;
206}
207
208div.section p {
209 text-align: justify;
210}
211
212/* for the home page - auto-generated _homeextra_ macro */
213table.collections {
214 width: 100%;
215 max-width: 800px;
216 text-align: center;
217 /* centres a block element for gecko and opera. (IE 5.5 needs parent
218 * text-align) */
219 margin-left:auto; margin-right:auto;
220}
221
222/* collections that have a logo should have a border around them */
223table.collections img {
224 border: 1px solid;
225}
226
227/* collector bar */
228table.collectorbar {
229 text-align: center;
230 vertical-align: middle;
231}
232
233td.collectorbargreen {
234 background-color: #96BE9C;
235}
236td.collectorbaryellow {
237 background-color: #EEE8AA;
238}
239td.collectorbargrey {
240 background-color: #D3D3D3;
241}
242
243table.collectorbar a {
244 color: black;
245 text-decoration: none;
246}
247
248table.collectorbar a:visited {
249 color: black;
250}
251
252
253span.date_list_year {
254 font-weight: bold;
255}
256span.date_list_month {
257 font-weight: bold;
258}
259
260
Note: See TracBrowser for help on using the repository browser.