source: main/trunk/greenstone2/web/style/style.css@ 30545

Last change on this file since 30545 was 27347, checked in by ak19, 11 years ago

Adjusting the style of the user comments form to fix font sizes and sans-serif use, so that the user comments area looks more consistent across collections.

  • Property svn:keywords set to Author Date Id Revision
File size: 6.4 KB
RevLine 
[10871]1/* default stylesheet for greenstone. */
2
3body {
[19782]4 background-color: #ffffff;
[10871]5}
6
[10919]7/* bg image set in style macro */
8body.bgimage { }
[10871]9
10a:link { color: #006666; }
11
12a:hover { color: #cc9900; }
13
14a:visited { color: #666633; }
15
16img.link { border: 0; }
17
18/* for unesco/human info etc logos on home page */
19img.logo {
20 border: 0;
21 float: right;
22 margin-left: 10px;
23}
24
[11719]25
[10871]26/* this contains everything - all the other divs */
27#page {
28 margin-left: 80px;
29 margin-right: 30px;
30}
31
[11719]32
[10871]33#banner {
[11823]34 margin: 0 0 5px 0;
35 padding:0;
36
[10871]37}
[11823]38
[11160]39/* this div contains the bannerlinks and bannertitle paragraphs */
[10871]40div.pageinfo {
[11885]41 float: right;
42 text-align: right;
[11777]43 padding: 0;
[11823]44 margin:0 0 3px 0;
[11777]45 width: 50%;
[10871]46}
[11719]47
[10871]48/* home, help, preferences links */
49p.bannerlinks {
[11152]50 font-family: sans-serif, arial, helvetica;
[10871]51 font-size: 10pt;
52 font-weight: bold;
[11823]53 margin:0;
54 padding:0;
[10871]55}
[11748]56
[11160]57/* the title set by the receptionist based on the page action */
58p.bannertitle {
[11154]59 font-family: sans-serif, arial, helvetica;
60 font-size: 24px;
61 font-weight: bold;
[11823]62 margin: 10px 0 0 0;
[11154]63 text-transform: lowercase;
64 white-space: nowrap;
[11823]65 padding: 6px 2px 10px 0px;
66 background-repeat: repeat-y;
67 background-position: top right;
[11885]68 }
[11719]69
[11823]70p.collectiontitle {
71 font-family: sans-serif, arial, helvetica;
72 font-size: 24px;
73 font-weight: bold;
74 white-space: nowrap;
75 padding: 8px 0px 12px 2px;
76 background-repeat: repeat-y;
77 background-position: top left;
78 margin:0;
79}
[11719]80
[11823]81a.collectiontitle {
[11885]82 color: black;
[11823]83 text-decoration: none;
84}
85
[10871]86/* the image for the collection, shown in the banner */
87div.collectimage {
[11885]88 text-align: left;
89 float: left;
[11809]90 width: 45%;
[11823]91 padding:0;
92 margin:0;
[10871]93}
94/* make sure this is shown under the other divs (which may be floating) */
[11719]95div.bannerextra {
[11777]96 clear: both;
[11719]97}
[10871]98
99/* blankiconbar */
100div.section p.bar {
101 text-align: center;
102}
[10919]103
[11719]104
105
[10919]106/* bg image set in style macro */
[10871]107div.navbar {
108 min-width: 500px;
109 white-space: nowrap;
[11152]110 font-family: sans-serif, arial, helvetica;
[10871]111 font-size: 10pt;
112 font-weight: bold;
[11088]113 text-transform: lowercase;
[10871]114 border: 0;
[10919]115 width: 100%; /* for ns4 */
[10871]116}
[10919]117
[11719]118
[10919]119/* bg image set in style macro */
[10871]120div.divbar { /* for "select a collection" */
121 font-family: arial;
122 font-size: 10pt;
123 font-weight: bold;
124 border: 0;
[10919]125 width: 100%; /* for ns4 */
[10871]126}
[11719]127
128
[10871]129p.navbar { /* opt navbar text inside a divbar div */
130 text-align: center;
[11237]131 margin: 0;
[10871]132}
[10919]133
134/* bg image set in style macro */
[11800]135a.navlink {
136 vertical-align: top;
137 padding: 0 10px;
138 color: black;
139 text-decoration: none;
140}
[11719]141
[10919]142/* bg image set in style macro */
[11800]143a.navlink_sel {
144 vertical-align: top;
145 padding: 0 10px;
[11831]146 color: black;
[11800]147 text-decoration: none;
148}
149
150a.navlink:visited {
151 color: black;
152}
153
154/* for the nav_ns4.dm macro only (for netscape4 support) */
155a.navlink_ns4 {
156 background-color: #e8d9b1;
157}
158
159a.navlink_sel_ns4 {
160 background-color: #96c19b;
161}
162
[11116]163span.highlight {
164 background: #ffff77;
165}
166
[10871]167/* content inside the pages */
168img.icon { border: 0; }
169
[19145]170span.textselect {
171 white-space: nowrap;
172}
[10871]173
[19145]174span.textselect select {
175 text-transform: lowercase;
176}
177
[11133]178div.document {
[13375]179 padding: .2em 0 0 0;
180 clear: both;
[11133]181}
[13375]182
[11144]183div.documenttext { clear: both; } /* come after any floating divs */
[11133]184
[13521]185ul#searchresults{
186 list-style-type: none;
187 margin: 0 0 .2em 0;
188 padding:0;
189 overflow: hidden;
[13375]190}
191
[13521]192ul#searchresults li{
193 margin: 0;
194 padding: 2px 0 2px 0;
195 font-size: 11px;
196 font-weight: bold;
197 width: 160px;
198 background-color:#f7e7c5;
199 text-align:center;
200}
201
202li#nextresult{
[13375]203 float:right;
204}
205
[13521]206li#prevresult{
207 float:left;
[13375]208}
209
210
[13521]211ul#searchresults li a {
212 margin:0;
213 padding:0;
214 text-decoration: none;
215 color: black;
216}
217
218
[11133]219div.warning { /* eg expanding more than 10 sections in table of contents */
220}
221div.warning div.buttons { float: right; } /* continue button */
222
[13375]223div.heading_image {
224 float: left;
[11878]225
[13375]226 } /* optional cover image */
227
[11878]228div.heading_title {
229 font-size: 14pt;
230 } /* alternate to cover image */
231
[11088]232div.document div.buttons {
[11133]233 /* anything that holds buttons... toc_buttons but also continue button */
234 width: 100px; /* each button (inside its own div) can overflow this */
235}
236div#toc_buttons { /* expand/contract etc "buttons" */
237 clear: left; /* don't put next to another float on our left-hand side */
[11088]238 float: left;
[11878]239 margin: 0 15px 5px 0;
[11088]240}
[11878]241
[11088]242div.button {
243 font-size: 11px;
244 font-weight: bold;
[11189]245 background: #f7e7c5;
[11133]246 margin: 1px;
247 border: 1px solid #eeddbb;
[11160]248 text-align: center;
249 vertical-align: middle;
250 width: 110px;
[11088]251}
[13522]252
[11133]253*>div.button { /* for other browsers - IE6 doesn't apply this */
254 height: auto;
[11160]255 width: auto;
256 min-width: 110px;
[11133]257}
[13522]258
[11160]259span.button {}
[11088]260span.button a { text-decoration: none; color: black; }
[11133]261span.button a:hover { /* IE6 doesn't do :hover for things that aren't <A> */
262 background: #eeddbb;
263}
[10871]264
[13522]265div.homebutton {
266 font-size: 11px;
267 font-weight: bold;
268 background: #f7e7c5;
269 margin: 1px;
270 border: 1px solid #eeddbb;
271 text-align: center;
272 vertical-align: middle;
273 width: 110px;
[14066]274 height: 30px;
[13522]275}
276
[10871]277div.section p {
278 text-align: justify;
279}
280
281/* for the home page - auto-generated _homeextra_ macro */
282table.collections {
283 width: 100%;
284 max-width: 800px;
285 text-align: center;
286 /* centres a block element for gecko and opera. (IE 5.5 needs parent
287 * text-align) */
288 margin-left:auto; margin-right:auto;
289}
290
[11095]291/* collections that have a logo should have a border around them */
292table.collections img {
293 border: 1px solid;
294}
295
[11171]296/* collector bar */
[12005]297table.wizardbar {
[11171]298 text-align: center;
299 vertical-align: middle;
300}
301
[12005]302td.wizardbargreen {
[11171]303 background-color: #96BE9C;
304}
[12005]305td.wizardbaryellow {
[11171]306 background-color: #EEE8AA;
307}
[12005]308td.wizardbargrey {
[11171]309 background-color: #D3D3D3;
310}
311
[12005]312table.wizardbar a {
[11171]313 color: black;
314 text-decoration: none;
315}
316
[12005]317table.wizardbar a:visited {
[11171]318 color: black;
319}
320
321
[11639]322span.date_list_year {
323 font-weight: bold;
324}
325span.date_list_month {
326 font-weight: bold;
327}
328
[26549]329.h_item {
330 text-transform:uppercase;
331}
[11719]332
[26549]333#toc_top.v_list {
334 text-transform:capitalize;
335}
[27294]336
[27347]337/* User comments area: display of existing user comments and display of the form and of the add user/logout links */
338
339#usercomments, #usercommentform, #usercommentlink a, #usercommentlogoutlink a {
340 font-family: sans-serif;
341 font-size: 12px;
342}
343
[27294]344#usercomments {
345 margin: 10px 0;
346}
347
348.usercommentheading {
349 font-weight: bold;
350 color: #006666;
351 border-top: solid 1px black;
352}
353
354.usercomment {
355 margin: 10px 0;
356}
357
[27297]358#usercommentlink, #usercommentlogoutlink {
[27294]359 margin: 10px 0 20px 0;
360}
361
[27297]362#usercommentlink a, #usercommentlogoutlink a {
[27294]363 text-decoration: none;
364 font-weight: bold;
365}
[27297]366#usercommentlink a:visited, #usercommentlogoutlink a:visited {
367 color: #006666;
368}
Note: See TracBrowser for help on using the repository browser.