source: documentation/trunk/tutorial_sample_files/custom/style-blue.css@ 23498

Last change on this file since 23498 was 19995, checked in by davidb, 15 years ago

style-blue.css was originall based on style.css, however there have been numerous updates to style.css and style-blue.css has fallen behind. Committing a new, updated version.

File size: 6.9 KB
Line 
1
2/* Bluish colour theme - Alternate stylesheet for greenstone.
3 Written by John McPherson, 2006. Feel free to copy/modify this for
4 any purpose.
5*/
6
7/* Based on the standard default style file for Greenstone
8 Edited elements are given first.
9*/
10
11
12body {
13 background: #80a0fb; /* light blue */
14 color: #000000;
15}
16
17a:link { color: #006666; }
18
19a:hover { color: #000066; }
20
21a:visited { color: #666633; }
22
23/* link for collection name - will have text if there is no image */
24div.collectimage a {
25 text-decoration: none;
26 color: #666666;
27}
28
29div.navbar {
30 background: #39657b;
31 white-space: nowrap;
32 border-left: 1px solid white;
33 border-top: 1px solid white;
34 border-bottom: 1px solid black;
35 border-right: 1px solid black;
36 margin: 0px;
37 min-width: 500px; /* stop it wrapping in skinny windows */
38 font-family: sans-serif, arial, helvetica;
39 font-weight: bold;
40 font-size: 10pt;
41 text-transform: lowercase;
42 width: 100%; /* for ns4 */
43}
44
45a.navlink {
46 vertical-align: top;
47 padding: 0 10px;
48 background: #508090;
49 color: black;
50 text-decoration: none;
51}
52
53a.navlink:hover {
54 background: #6090a0;
55}
56
57/* document content after nav bar */
58div.document {
59 border: 5px #cccccc solid;
60 padding: .2em 0 0 0;
61 clear: both;
62 background: #aae;
63 margin-top: 5px;
64}
65
66
67/* ----------------------------------------------------------------- */
68/* From here down is the remainder of standard Greenstone stylesheet */
69/* ----------------------------------------------------------------- */
70
71/* bg image set in style macro */
72body.bgimage { }
73
74
75/* for unesco/human info etc logos on home page */
76img.logo {
77 border: 0;
78 float: right;
79 margin-left: 10px;
80}
81
82
83/* this contains everything - all the other divs */
84#page {
85 margin-left: 80px;
86 margin-right: 30px;
87}
88
89
90#banner {
91 margin: 0 0 5px 0;
92 padding:0;
93
94}
95
96/* this div contains the bannerlinks and bannertitle paragraphs */
97div.pageinfo {
98 float: right;
99 text-align: right;
100 padding: 0;
101 margin:0 0 3px 0;
102 width: 50%;
103}
104
105/* home, help, preferences links */
106p.bannerlinks {
107 font-family: sans-serif, arial, helvetica;
108 font-size: 10pt;
109 font-weight: bold;
110 margin:0;
111 padding:0;
112}
113
114/* the title set by the receptionist based on the page action */
115p.bannertitle {
116 font-family: sans-serif, arial, helvetica;
117 font-size: 24px;
118 font-weight: bold;
119 margin: 10px 0 0 0;
120 text-transform: lowercase;
121 white-space: nowrap;
122 padding: 6px 2px 10px 0px;
123 background-repeat: repeat-y;
124 background-position: top right;
125 }
126
127p.collectiontitle {
128 font-family: sans-serif, arial, helvetica;
129 font-size: 24px;
130 font-weight: bold;
131 white-space: nowrap;
132 padding: 8px 0px 12px 2px;
133 background-repeat: repeat-y;
134 background-position: top left;
135 margin:0;
136}
137
138a.collectiontitle {
139 color: black;
140 text-decoration: none;
141}
142
143/* the image for the collection, shown in the banner */
144div.collectimage {
145 text-align: left;
146 float: left;
147 width: 45%;
148 padding:0;
149 margin:0;
150}
151/* make sure this is shown under the other divs (which may be floating) */
152div.bannerextra {
153 clear: both;
154}
155
156/* blankiconbar */
157div.section p.bar {
158 text-align: center;
159}
160
161
162
163
164/* bg image set in style macro */
165div.divbar { /* for "select a collection" */
166 font-family: arial;
167 font-size: 10pt;
168 font-weight: bold;
169 border: 0;
170 width: 100%; /* for ns4 */
171}
172
173
174p.navbar { /* opt navbar text inside a divbar div */
175 text-align: center;
176 margin: 0;
177}
178
179/* bg image set in style macro */
180a.navlink_sel {
181 vertical-align: top;
182 padding: 0 10px;
183 color: black;
184 text-decoration: none;
185}
186
187a.navlink:visited {
188 color: black;
189}
190
191/* for the nav_ns4.dm macro only (for netscape4 support) */
192a.navlink_ns4 {
193 background-color: #e8d9b1;
194}
195
196a.navlink_sel_ns4 {
197 background-color: #96c19b;
198}
199
200span.highlight {
201 background: #ffff77;
202}
203
204/* content inside the pages */
205img.icon { border: 0; }
206
207span.textselect {
208 white-space: nowrap;
209}
210
211span.textselect select {
212 text-transform: lowercase;
213}
214
215
216div.documenttext { clear: both; } /* come after any floating divs */
217
218ul#searchresults{
219 list-style-type: none;
220 margin: 0 0 .2em 0;
221 padding:0;
222 overflow: hidden;
223}
224
225ul#searchresults li{
226 margin: 0;
227 padding: 2px 0 2px 0;
228 font-size: 11px;
229 font-weight: bold;
230 width: 160px;
231 background-color:#f7e7c5;
232 text-align:center;
233}
234
235li#nextresult{
236 float:right;
237}
238
239li#prevresult{
240 float:left;
241}
242
243
244ul#searchresults li a {
245 margin:0;
246 padding:0;
247 text-decoration: none;
248 color: black;
249}
250
251
252div.warning { /* eg expanding more than 10 sections in table of contents */
253}
254div.warning div.buttons { float: right; } /* continue button */
255
256div.heading_image {
257 float: left;
258
259 } /* optional cover image */
260
261div.heading_title {
262 font-size: 14pt;
263 } /* alternate to cover image */
264
265div.document div.buttons {
266 /* anything that holds buttons... toc_buttons but also continue button */
267 width: 100px; /* each button (inside its own div) can overflow this */
268}
269div#toc_buttons { /* expand/contract etc "buttons" */
270 clear: left; /* don't put next to another float on our left-hand side */
271 float: left;
272 margin: 0 15px 5px 0;
273}
274
275div.button {
276 font-size: 11px;
277 font-weight: bold;
278 background: #f7e7c5;
279 margin: 1px;
280 border: 1px solid #eeddbb;
281 text-align: center;
282 vertical-align: middle;
283 width: 110px;
284}
285
286*>div.button { /* for other browsers - IE6 doesn't apply this */
287 height: auto;
288 width: auto;
289 min-width: 110px;
290}
291
292span.button {}
293span.button a { text-decoration: none; color: black; }
294span.button a:hover { /* IE6 doesn't do :hover for things that aren't <A> */
295 background: #eeddbb;
296}
297
298div.homebutton {
299 font-size: 11px;
300 font-weight: bold;
301 background: #f7e7c5;
302 margin: 1px;
303 border: 1px solid #eeddbb;
304 text-align: center;
305 vertical-align: middle;
306 width: 110px;
307 height: 30px;
308}
309
310div.section p {
311 text-align: justify;
312}
313
314/* for the home page - auto-generated _homeextra_ macro */
315table.collections {
316 width: 100%;
317 max-width: 800px;
318 text-align: center;
319 /* centres a block element for gecko and opera. (IE 5.5 needs parent
320 * text-align) */
321 margin-left:auto; margin-right:auto;
322}
323
324/* collections that have a logo should have a border around them */
325table.collections img {
326 border: 1px solid;
327}
328
329/* collector bar */
330table.wizardbar {
331 text-align: center;
332 vertical-align: middle;
333}
334
335td.wizardbargreen {
336 background-color: #96BE9C;
337}
338td.wizardbaryellow {
339 background-color: #EEE8AA;
340}
341td.wizardbargrey {
342 background-color: #D3D3D3;
343}
344
345table.wizardbar a {
346 color: black;
347 text-decoration: none;
348}
349
350table.wizardbar a:visited {
351 color: black;
352}
353
354
355span.date_list_year {
356 font-weight: bold;
357}
358span.date_list_month {
359 font-weight: bold;
360}
361
362
Note: See TracBrowser for help on using the repository browser.