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

Last change on this file since 13164 was 13164, checked in by kjdon, 18 years ago

removed two 'commented out' bits which were invalid css cos used # for comment rather than /* */

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