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

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

got rid of the bannerextra padding, and changed the padding sizes for bannertitle

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