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

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

put the output document text in its own div, and give it some CSS to make
sure it is shown underneath any floating divs instead of next to them.

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