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

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

don't wrap text in the title (eg for short classifiers such as "titles a-z")

  • 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: 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}
99
100/* bg image set in style macro */
101span.navlink {
102 vertical-align: top;
103 padding: 0 10px;
104}
105
106/* bg image set in style macro */
107span.navlink_sel {
108 vertical-align: top;
109 padding: 0 10px;
110}
111
112/* bg image set in style macro */
113span.navlink:hover { }
114
115span.navlink a {
116 color: black;
117 text-decoration: none;
118}
119span.navlink a:visited {
120 color: black;
121}
122
123/* for the nav_ns4.dm macro only (for netscape4 support) */
124span.navlink_ns4 {
125 background-color: #e8d9b1;
126}
127span.navlink_sel_ns4 {
128 background-color: #96c19b;
129}
130
131/* ns4 doesn't support :hover? */
132span.navlink_ns4 a:hover {
133}
134
135span.highlight {
136 background: #ffff77;
137}
138
139/* content inside the pages */
140img.icon { border: 0; }
141
142div.queryform {
143 text-align: center;
144}
145span.textselect { white-space: nowrap; }
146
147div.document {
148 padding-top: 5px;
149}
150div.documenttext { clear: both; } /* come after any floating divs */
151
152div.warning { /* eg expanding more than 10 sections in table of contents */
153}
154div.warning div.buttons { float: right; } /* continue button */
155
156div.heading { float: left; } /* optional cover image */
157div.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}
161div#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}
167div.button {
168 font-size: 11px;
169 font-weight: bold;
170 height: 30px; /* for IE6, it will stretch if needed */
171 text-align: center;
172 line-height: 1.2em;
173 background: #ffeecc;
174 margin: 1px;
175 border: 1px solid #eeddbb;
176}
177*>div.button { /* for other browsers - IE6 doesn't apply this */
178 height: auto;
179 min-height: 30px;
180}
181span.button { vertical-align: middle; }
182span.button a { text-decoration: none; color: black; }
183span.button a:hover { /* IE6 doesn't do :hover for things that aren't <A> */
184 background: #eeddbb;
185}
186
187div.section p {
188 text-align: justify;
189}
190
191/* for the home page - auto-generated _homeextra_ macro */
192table.collections {
193 width: 100%;
194 max-width: 800px;
195 text-align: center;
196 /* centres a block element for gecko and opera. (IE 5.5 needs parent
197 * text-align) */
198 margin-left:auto; margin-right:auto;
199}
200
201/* collections that have a logo should have a border around them */
202table.collections img {
203 border: 1px solid;
204}
205
Note: See TracBrowser for help on using the repository browser.