source: branches/gsdl-2_70-distribution-branch/gsdl/images/style.css@ 11726

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

fixed a typo

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