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

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

we now use the page title where the banner image used to be... this means
we can now remove all the images for "about" "titles a-z" etc that were
shown on the top right hand side.

  • Property svn:keywords set to Author Date Id Revision
File size: 4.3 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 bannerimage 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 image based on the page action */
47p.bannerimage {
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: 40px;
55 text-transform: lowercase;
56 background: #96c19b;
57 width: 40px;
58 text-align: right;
59}
60/* the image for the collection, shown in the banner */
61div.collectimage {
62 text-align: left;
63 height: 100%; /* for IE5/6 to make containing div the full height */
64}
65/* make sure this is shown under the other divs (which may be floating) */
66div.bannerextra {clear:both;}
67
68/* blankiconbar */
69div.section p.bar {
70 text-align: center;
71}
72
73/* bg image set in style macro */
74div.navbar {
75 min-width: 500px;
76 white-space: nowrap;
77 font-family: sans-serif, arial, helvetica;
78 font-size: 10pt;
79 font-weight: bold;
80 text-align: top;
81 text-transform: lowercase;
82 border: 0;
83 width: 100%; /* for ns4 */
84}
85
86/* bg image set in style macro */
87div.divbar { /* for "select a collection" */
88 font-family: arial;
89 font-size: 10pt;
90 font-weight: bold;
91 text-align: top;
92 border: 0;
93 width: 100%; /* for ns4 */
94}
95p.navbar { /* opt navbar text inside a divbar div */
96 text-align: center;
97}
98
99/* bg image set in style macro */
100span.navlink {
101 vertical-align: top;
102 padding: 0 10px;
103}
104
105/* bg image set in style macro */
106span.navlink_sel {
107 vertical-align: top;
108 padding: 0 10px;
109}
110
111/* bg image set in style macro */
112span.navlink:hover { }
113
114span.navlink a {
115 color: black;
116 text-decoration: none;
117}
118span.navlink a:visited {
119 color: black;
120}
121
122/* for the nav_ns4.dm macro only (for netscape4 support) */
123span.navlink_ns4 {
124 background-color: #e8d9b1;
125}
126span.navlink_sel_ns4 {
127 background-color: #96c19b;
128}
129
130/* ns4 doesn't support :hover? */
131span.navlink_ns4 a:hover {
132}
133
134span.highlight {
135 background: #ffff77;
136}
137
138/* content inside the pages */
139img.icon { border: 0; }
140
141div.queryform {
142 text-align: center;
143}
144span.textselect { white-space: nowrap; }
145
146div.document {
147 padding-top: 5px;
148}
149div.documenttext { clear: both; } /* come after any floating divs */
150
151div.warning { /* eg expanding more than 10 sections in table of contents */
152}
153div.warning div.buttons { float: right; } /* continue button */
154
155div.heading { float: left; } /* optional cover image */
156div.document div.buttons {
157 /* anything that holds buttons... toc_buttons but also continue button */
158 width: 100px; /* each button (inside its own div) can overflow this */
159}
160div#toc_buttons { /* expand/contract etc "buttons" */
161 clear: left; /* don't put next to another float on our left-hand side */
162 float: left;
163 margin-right: 5px;
164 margin-bottom: 5px;
165}
166div.button {
167 font-size: 11px;
168 font-weight: bold;
169 height: 30px; /* for IE6, it will stretch if needed */
170 text-align: center;
171 line-height: 1.2em;
172 background: #ffeecc;
173 margin: 1px;
174 border: 1px solid #eeddbb;
175}
176*>div.button { /* for other browsers - IE6 doesn't apply this */
177 height: auto;
178 min-height: 30px;
179}
180span.button { vertical-align: middle; }
181span.button a { text-decoration: none; color: black; }
182span.button a:hover { /* IE6 doesn't do :hover for things that aren't <A> */
183 background: #eeddbb;
184}
185
186div.section p {
187 text-align: justify;
188}
189
190/* for the home page - auto-generated _homeextra_ macro */
191table.collections {
192 width: 100%;
193 max-width: 800px;
194 text-align: center;
195 /* centres a block element for gecko and opera. (IE 5.5 needs parent
196 * text-align) */
197 margin-left:auto; margin-right:auto;
198}
199
200/* collections that have a logo should have a border around them */
201table.collections img {
202 border: 1px solid;
203}
204
Note: See TracBrowser for help on using the repository browser.