1 | /* default stylesheet for greenstone. */
|
---|
2 |
|
---|
3 | body {
|
---|
4 | background: #ffffff;
|
---|
5 | color: #000000;
|
---|
6 | }
|
---|
7 |
|
---|
8 | /* bg image set in style macro */
|
---|
9 | body.bgimage { }
|
---|
10 |
|
---|
11 | a:link { color: #006666; }
|
---|
12 |
|
---|
13 | a:hover { color: #cc9900; }
|
---|
14 |
|
---|
15 | a:visited { color: #666633; }
|
---|
16 |
|
---|
17 | img.link { border: 0; }
|
---|
18 |
|
---|
19 | /* for unesco/human info etc logos on home page */
|
---|
20 | img.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 */
|
---|
36 | div.pageinfo {
|
---|
37 | float: right;
|
---|
38 | text-align: right;
|
---|
39 | }
|
---|
40 | /* home, help, preferences links */
|
---|
41 | p.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 */
|
---|
47 | p.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 */
|
---|
62 | div.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) */
|
---|
67 | div.bannerextra {clear:both;}
|
---|
68 |
|
---|
69 | /* blankiconbar */
|
---|
70 | div.section p.bar {
|
---|
71 | text-align: center;
|
---|
72 | }
|
---|
73 |
|
---|
74 | /* bg image set in style macro */
|
---|
75 | div.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 */
|
---|
88 | div.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 | }
|
---|
96 | p.navbar { /* opt navbar text inside a divbar div */
|
---|
97 | text-align: center;
|
---|
98 | }
|
---|
99 |
|
---|
100 | /* bg image set in style macro */
|
---|
101 | span.navlink {
|
---|
102 | vertical-align: top;
|
---|
103 | padding: 0 10px;
|
---|
104 | }
|
---|
105 |
|
---|
106 | /* bg image set in style macro */
|
---|
107 | span.navlink_sel {
|
---|
108 | vertical-align: top;
|
---|
109 | padding: 0 10px;
|
---|
110 | }
|
---|
111 |
|
---|
112 | /* bg image set in style macro */
|
---|
113 | span.navlink:hover { }
|
---|
114 |
|
---|
115 | span.navlink a {
|
---|
116 | color: black;
|
---|
117 | text-decoration: none;
|
---|
118 | }
|
---|
119 | span.navlink a:visited {
|
---|
120 | color: black;
|
---|
121 | }
|
---|
122 |
|
---|
123 | /* for the nav_ns4.dm macro only (for netscape4 support) */
|
---|
124 | span.navlink_ns4 {
|
---|
125 | background-color: #e8d9b1;
|
---|
126 | }
|
---|
127 | span.navlink_sel_ns4 {
|
---|
128 | background-color: #96c19b;
|
---|
129 | }
|
---|
130 |
|
---|
131 | /* ns4 doesn't support :hover? */
|
---|
132 | span.navlink_ns4 a:hover {
|
---|
133 | }
|
---|
134 |
|
---|
135 | span.highlight {
|
---|
136 | background: #ffff77;
|
---|
137 | }
|
---|
138 |
|
---|
139 | /* content inside the pages */
|
---|
140 | img.icon { border: 0; }
|
---|
141 |
|
---|
142 | div.queryform {
|
---|
143 | text-align: center;
|
---|
144 | }
|
---|
145 | span.textselect { white-space: nowrap; }
|
---|
146 |
|
---|
147 | div.document {
|
---|
148 | padding-top: 5px;
|
---|
149 | }
|
---|
150 | div.documenttext { clear: both; } /* come after any floating divs */
|
---|
151 |
|
---|
152 | div.warning { /* eg expanding more than 10 sections in table of contents */
|
---|
153 | }
|
---|
154 | div.warning div.buttons { float: right; } /* continue button */
|
---|
155 |
|
---|
156 | div.heading { float: left; } /* optional cover image */
|
---|
157 | div.document div.buttons {
|
---|
158 | /* anything that holds buttons... toc_buttons but also continue button */
|
---|
159 | width: 100px; /* each button (inside its own div) can overflow this */
|
---|
160 | }
|
---|
161 | div#toc_buttons { /* expand/contract etc "buttons" */
|
---|
162 | clear: left; /* don't put next to another float on our left-hand side */
|
---|
163 | float: left;
|
---|
164 | margin-right: 5px;
|
---|
165 | margin-bottom: 5px;
|
---|
166 | }
|
---|
167 | div.button {
|
---|
168 | font-size: 11px;
|
---|
169 | font-weight: bold;
|
---|
170 | line-height: 1.2em;
|
---|
171 | background: #ffeecc;
|
---|
172 | margin: 1px;
|
---|
173 | border: 1px solid #eeddbb;
|
---|
174 | text-align: center;
|
---|
175 | vertical-align: middle;
|
---|
176 | height: 30px; /* IE6 and NS4 treat width/height as min-width/min-height */
|
---|
177 | width: 110px;
|
---|
178 | }
|
---|
179 | *>div.button { /* for other browsers - IE6 doesn't apply this */
|
---|
180 | height: auto;
|
---|
181 | width: auto;
|
---|
182 | min-height: 30px;
|
---|
183 | min-width: 110px;
|
---|
184 | }
|
---|
185 | span.button {}
|
---|
186 | span.button a { text-decoration: none; color: black; }
|
---|
187 | span.button a:hover { /* IE6 doesn't do :hover for things that aren't <A> */
|
---|
188 | background: #eeddbb;
|
---|
189 | }
|
---|
190 |
|
---|
191 | div.section p {
|
---|
192 | text-align: justify;
|
---|
193 | }
|
---|
194 |
|
---|
195 | /* for the home page - auto-generated _homeextra_ macro */
|
---|
196 | table.collections {
|
---|
197 | width: 100%;
|
---|
198 | max-width: 800px;
|
---|
199 | text-align: center;
|
---|
200 | /* centres a block element for gecko and opera. (IE 5.5 needs parent
|
---|
201 | * text-align) */
|
---|
202 | margin-left:auto; margin-right:auto;
|
---|
203 | }
|
---|
204 |
|
---|
205 | /* collections that have a logo should have a border around them */
|
---|
206 | table.collections img {
|
---|
207 | border: 1px solid;
|
---|
208 | }
|
---|
209 |
|
---|