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

Last change on this file since 11416 was 11237, checked in by jrm21, 18 years ago

add a margin:0 to the paragraph inside the navbar in case anyone wants to
customise the navbar with a border. (otherwise it expands)

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