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

Last change on this file since 12705 was 12005, checked in by davidb, 18 years ago

Style sheet support for first cut at 'The Depository' -- Greenstone's runtime
action for institutional repository support.

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