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

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

set the default DocumentText format string to be just [Text] instead of
wrapping it in a table, since it can now be controlled by CSS.
Also add a margin underneath the document navigation buttons to give
a bit of room above the document.

  • 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 margin-bottom: 5px;
153}
154div.button {
155 font-size: 11px;
156 font-weight: bold;
157 height: 30px; /* for IE6, it will stretch if needed */
158 text-align: center;
159 line-height: 1.2em;
160 background: #ffeecc;
161 margin: 1px;
162 border: 1px solid #eeddbb;
163}
164*>div.button { /* for other browsers - IE6 doesn't apply this */
165 height: auto;
166 min-height: 30px;
167}
168span.button { vertical-align: middle; }
169span.button a { text-decoration: none; color: black; }
170span.button a:hover { /* IE6 doesn't do :hover for things that aren't <A> */
171 background: #eeddbb;
172}
173
174div.section p {
175 text-align: justify;
176}
177
178/* for the home page - auto-generated _homeextra_ macro */
179table.collections {
180 width: 100%;
181 max-width: 800px;
182 text-align: center;
183 /* centres a block element for gecko and opera. (IE 5.5 needs parent
184 * text-align) */
185 margin-left:auto; margin-right:auto;
186}
187
188/* collections that have a logo should have a border around them */
189table.collections img {
190 border: 1px solid;
191}
192
Note: See TracBrowser for help on using the repository browser.