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

Last change on this file since 11116 was 11116, checked in by jrm21, 18 years ago
  • css entry added for span.highlight (for text highlighting)
  • navigation tabs if using the netscape4 macro file
  • Property svn:keywords set to Author Date Id Revision
File size: 3.1 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 div.heading {}
135/* wide enough for 2 buttons side-by-side */
136div.document div.buttons {
137 width: 200px;
138 float: left;
139}
140div.button {
141 font-size: 11px;
142 font-weight: bold;
143 width: 100px; height: 30px;
144 text-align: center;
145 line-height: 1.2em;
146 float: left;
147}
148span.button a { text-decoration: none; color: black; }
149
150div.section p {
151 text-align: justify;
152}
153
154/* for the home page - auto-generated _homeextra_ macro */
155table.collections {
156 width: 100%;
157 max-width: 800px;
158 text-align: center;
159 /* centres a block element for gecko and opera. (IE 5.5 needs parent
160 * text-align) */
161 margin-left:auto; margin-right:auto;
162}
163
164/* collections that have a logo should have a border around them */
165table.collections img {
166 border: 1px solid;
167}
168
Note: See TracBrowser for help on using the repository browser.