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

Last change on this file since 14066 was 14066, checked in by mdewsnip, 17 years ago

Fixed typo.

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