source: main/trunk/greenstone3/web/interfaces/oran/style/core.css@ 24651

Last change on this file since 24651 was 24651, checked in by sjm84, 13 years ago

Updated the core style file to make titles smaller and a few other minor modifications

File size: 10.1 KB
Line 
1html {
2 height: 100%;
3 margin-bottom: 1px;
4}
5body {
6 font-family: sans-serif;
7 padding: 20px;
8 margin: 0;
9 color: #444;
10 background-color: #eae4d9;
11}
12
13h3 {
14 margin-top:2px;
15 margin-bottom:2px;
16}
17
18p {
19 margin-top:0px;
20 margin-bottom:0.75em;
21}
22
23.sectionHeader {
24 margin-top:0px;
25 margin-bottom:0px;
26}
27
28.headerTD {
29 vertical-align: middle;
30}
31
32/* Styles for the different depths */
33.sectionHeaderDepthTitle{
34 font-size:1.4em;
35 line-height:1em;
36 font-weight:bold;
37}
38
39.sectionHeaderDepth1{
40 font-size:1.3em;
41 line-height:1em;
42 font-weight:bold;
43}
44
45.sectionHeaderDepth2{
46 font-size:1.2em;
47 line-height:1em;
48 font-weight:bold;
49 font-style:italic;
50}
51
52.sectionHeaderDepth3{
53 font-size:1.1em;
54 line-height:1em;
55 font-style:italic;
56}
57
58.sectionHeaderDepth4{
59 font-size:1em;
60 line-height:1em;
61 font-weight:italic;
62}
63
64.sectionNumberSpan{
65 /*Comment out this line to enable automatic section numbering*/
66 display:none;
67}
68
69.sectionContainer{
70 padding-top:0.5em;
71 padding-bottom:1em;
72 padding-left:1.5em;
73}
74
75.classifierContainer {
76 padding-left:1.5em;
77}
78
79.icon{
80 cursor:pointer;
81 padding:2px;
82}
83
84.emptyIcon {
85 height:16px;
86 width:16px;
87}
88
89.backToTop {
90 font-size:0.7em;
91 padding-left: 2em;
92 text-align:center;
93}
94
95.hidden{
96 display:none;
97}
98
99#prevArrowTD {
100 text-align:right;
101 width:10%;
102}
103
104#nextArrowTD {
105 text-align:left;
106 width:10%;
107}
108
109#prevTD {
110 text-align:left;
111 width:20%;
112}
113
114#nextTD {
115 text-align:right;
116 width:20%;
117}
118
119#searchResultNavTable {
120 width:100%;
121}
122
123#searchResultsStatusBar {
124 text-align:center;
125}
126
127#container {
128 position: relative;
129 margin: 0 auto 20px auto;
130 max-width: 1000px;
131 padding: 0;
132 line-height: 120%;
133 background-color: #fff;
134 border: 1px solid #c8c3b9;
135}
136
137#gs_banner {
138 /*background: transparent url('../images/gsdlhead.gif') scroll no-repeat left top;*/
139 background-color: #008800;
140 padding: 10px 20px 30px 20px;
141 min-height: 80px;
142 position: relative;
143}
144
145#gs_content {
146 padding: 1em;
147 padding-right: 2em;
148 min-height: 300px;
149 /* background-color: #ff0; */
150}
151
152.termList {
153 font-size:12px;
154 line-height:14px;
155}
156
157.noTermHighlight{
158
159}
160
161.termHighlight{
162 background:yellow;
163}
164
165.viewOptions {
166 width: 100%;
167 background:#008800;
168}
169
170.viewOptions td {
171 padding: 5px;
172}
173
174.viewOptions a:link, .viewOptions a:hover, .viewOptions a:active, .viewOptions a:visited {
175 color:white;
176 text-decoration:none;
177}
178
179#rightSidebar {
180 border: 1px solid #cdc;
181 width: 25%;
182 min-width: 180px;
183 float: right;
184 margin: 0 0 10px 20px;
185 /* background-color: #f0f; */
186}
187
188#contentsArea {
189 padding:10px;
190}
191
192#quickSearch {
193}
194
195
196#collectionLinks {
197 position: relative;
198}
199
200.collectionLink {
201 display: block;
202 float: left;
203 border: 1px solid #888;
204 margin: 0 20px 20px 0;
205 font-size: 150%;
206 color: #444;
207 text-decoration: none;
208 background: url(../images/collectionIconStripe.gif) scroll no-repeat 0 0;
209 padding: 20px;
210}
211collectionLinkImage {
212 float: left;
213}
214
215#gs_footer {
216 background: transparent url('../images/gsdlhead.gif') scroll no-repeat left top;
217 text-align: center;
218 vertical-align: middle;
219 font-size: 70%;
220 color: #fff;
221 padding-top:5px;
222 padding-bottom:5px;
223}
224
225#gs_footer a {
226 color:#FFF;
227}
228
229
230
231/* some text should not be rendered as it is just there for search engines */
232#collectionLinks a b {
233 display: none;
234}
235
236/* make sure h1s and h2s are readable on the green banner */
237#breadcrumbs, #gs_banner h2, #breadcrumbs a, #gs_banner h2 a {
238 color: #fff;
239}
240body.dAction #gs_banner h2 {
241 max-width: 600px;
242 font-size: 100;
243}
244
245#titlearea {
246 padding-left: 1em;
247 padding-right: 1em;
248 height:60px;
249 background-color: #007200;
250 width:40%;
251}
252
253#titlesearchcontainer {
254 width:100%;
255 margin: 5px 0 5px;
256}
257
258#quicksearcharea {
259 width:60%;
260 text-align:right;
261 padding: 0.4em;
262 color:white;
263 background-color:#007200;
264}
265
266#quicksearcharea table{
267 font-size:70%;
268 margin:0;
269 float: right;
270}
271
272#quicksearcharea a{
273 color:white;
274 text-transform:lowercase;
275 padding-left:10px;
276}
277
278#breadcrumbs {
279 /*margin: 0 0 10px 0;*/
280 height: 25px;
281 line-height: 15px;
282}
283
284/* css to make the tabs work */
285#nav {
286 position:absolute;
287 width: auto;
288 bottom: 0;
289 left: 0;
290 list-style: none;
291 margin:0;
292 padding: 0 0 0 20px;
293 font-size: 14px;
294}
295
296#nav li {
297 float: left;
298 color: #fff;
299 background: transparent url('../images/tab-right.png') scroll no-repeat 100% -100px;
300 margin: 0 5px 0 0;
301 padding: 0 8px 0 0;
302 text-transform: capitalize;
303}
304
305#nav a{
306
307 display: block;
308 float:left;
309 background: transparent url('../images/tab-left.png') no-repeat scroll 0 -100px;
310 margin:0;
311 padding: 5px 4px 3px 10px;
312 font-weight: bold;
313 color: #fff;
314 text-decoration: none;
315 line-height: 1;
316}
317
318#nav li:hover, #nav li.current { background-position: 100% 0; }
319#nav li:hover a, #nav li.current a { background-position: 0 0; cursor:default; }
320
321#authennavbarlist {
322 display: inline;
323 list-style-type: none;
324 padding-right: 20px;
325}
326
327/* css to make the page links work (home, help, preference) */
328#bannerLinks {
329 width: auto;
330 position: absolute;
331 list-style: none;
332 margin:0;
333 top: 7px;
334 right: 0;
335 padding: 0 15px 0 0;
336 text-transform: lowercase;
337}
338
339#bannerLinks li {
340 float: right;
341 margin: 0;
342 padding: 0 2px 0 0;
343}
344
345#bannerLinks a {
346 display: block;
347 float: left;
348 display: table-cell;
349 min-width: 1em;
350 margin:0;
351 padding: 5px 5px 3px 10px;
352 font-weight: normal;
353 text-align: center;
354 color: #fff;
355 text-decoration: none;
356 line-height: 1;
357}
358
359#bannerLinks li.current a {
360 cursor: default;
361}
362
363#bannerLinks li:hover, #bannerLinks li.current { background-position: 100% 0; }
364
365#bannerLinks li.current a { text-decoration: underline; background-position: 0 0;}
366#bannerLinks img.spacer { display: table-cell; }
367
368
369/* css to make the classifier list pretty */
370.navList {
371 margin: 0 0 10px 0;
372 padding: 0;
373 background-color: #0a0;
374}
375
376.navList ul {
377 margin: 0;
378 padding: 0;
379 list-style: none;
380}
381
382.navList td {
383 /*float: left;*/
384 padding-left: 3em;
385 padding-right: 3em;
386 text-align:center;
387 cursor: pointer;
388 color: #fff;
389}
390.navList li a, .navList li span {
391 padding: 0 1em;
392 display: block;
393 text-decoration: none;
394 color: #fff;
395}
396
397.navList td.current {
398 background-color: #efea6e;
399 color: #444;
400 cursor: default;
401}
402
403.navList li.current a, .navList li.current span {
404 color: #444;
405 cursor: default;
406}
407
408/* style the search and classifier results */
409#results {
410 line-height: 160%;
411 margin: 0;
412 padding: 0;
413 /* border: 1px solid #f00; */
414}
415
416#results ul {
417 margin: 0 0 0 20px;
418 padding: 0;
419}
420
421#results li {
422 list-style: none;
423 margin: 0 0 .2em 0;
424 /* border: 1px solid #00f; */
425}
426
427#results li a {
428 padding: 3px 3px 3px 28px;
429 background-repeat: no-repeat;
430 background-position: 0 .1em;
431}
432
433
434/*#results .document a { background-image: url('../images/book.png'); }*/
435#results .document a:visited { background-image: url('../images/book-visited.png'); color: #999; }
436#results .shelf>a { background-image: url('../images/bookshelf.png'); }
437
438/* corners of the banner */
439/*
440.corner {
441 position: absolute;
442 background-image: url('../images/layout/corners.png');
443 background-repeat: no-repeat;
444 width: 20px;
445 height: 20px;
446}
447
448#cornerTopLeft {
449 left: 0; top: 0;
450 background-position: 0 0;
451}
452#cornerTopRight {
453 right: 0; top: 0;
454 background-position: -20px 0;
455}
456#cornerBottomLeft {
457 left: 0; bottom: 0;
458 background-position: 0 -20px;
459}
460#cornerBottomRight {
461 right: 0; bottom: 0;
462 background-position: -20px -20px;
463}
464*/
465.clear {
466 clear: both;
467}
468
469
470a:link, a:hover, a:active, a:visited { color: #050; }
471
472/* bg image set in style macro */
473div.divbar {
474 clear: both;
475 background-image: url('../images/bg_green.png');
476 width: 100%;
477 text-align: center;
478 font-size:80%
479}
480
481
482/** query form style**/
483div#queryform{
484
485}
486
487/** search result style */
488div#terminfo{
489
490}
491
492div#matchdocs{
493
494}
495
496div.resultnavigation{
497 margin: 0;
498 padding:0;
499}
500
501ul#resultlist li{
502 display:block;
503}
504
505div#documentheading{
506 font-size: 16pt;
507 font-weight: bold;
508}
509
510div#documentinfo {
511 float:left;
512 padding:0;
513 margin:0;
514 width:24%;
515}
516
517div#toc{
518 float:left;
519 text-align:left;
520 width:60%;
521 padding:0;
522 margin:0;
523}
524
525ul#docbuttons li {
526 display: block;
527 font-size: 11px;
528 font-weight: bold;
529 background: #f7e7c5;
530 margin: 1px;
531 border: 1px solid #eeddbb;
532 text-align: center;
533 vertical-align: middle;
534 height: 30px; /* IE6 and NS4 treat width/height as min-width/min-height */
535 width: 110px;
536}
537
538
539ul#tocnodes li{
540 margin: 0;
541 padding: 5px 0 0 0;
542 display:block;
543}
544
545ul.tocnode {
546 margin:0;
547 padding:5px 0 0 20px;
548}
549
550ul.tocnode a{
551 margin: 0;
552 padding:0 5px 0 0;
553 }
554
555span.bold{
556 font-weight: bold;
557}
558
559div.documentarrows{
560 margin: 0 0 0 0;
561 padding: 1em 0 0 0;
562}
563
564img.lessarrow{
565 float:left;
566 border: none;
567}
568
569img.morearrow{
570 float:right;
571 border:none;
572}
573
574div.formheading{
575 font-size: 16pt;
576 font-weight: bold;
577 margin: .5em 0 0;
578 padding:0;
579}
580
581ul#presprefs li, ul#berrybasketprefs li, ul#searchprefs li{
582 display: block;
583}
584
585
586div.phrasebrowse{
587 text-align:center;
588 padding:0;
589 margin: .5em 0 .5em 0;
590}
591
592div.QuickSearch {
593 float: right;
594}
595
596#coverImage {
597 text-align: center;
598}
599
600/* ----- TABLE OF CONTENTS ------ */
601#tableOfContents {
602 margin: 0;
603 padding: 0;
604 font-size: 70%;
605}
606
607#tableOfContents li {
608 list-style: none;
609 margin: 0;
610 padding: 2px;
611 background-color: #fff;
612}
613
614#tableOfContents li a {
615 color: #444;
616}
617
618#tableOfContents li.current {
619 background-color: #090;
620}
621#tableOfContents li.current a {
622 color: #fff;
623}
624
625#tableOfContents li.current li {
626 background-color: #fff;
627}
628
629#tableOfContents li.current li a {
630 color: #444;
631}
632
633#tableOfContents ul {
634 padding: 0 0 0 0;
635}
636
637#tableOfContents ul ul{
638 padding: 0 0 0 0;
639}
640
641#tableOfContents ul ul ul{
642 padding: 0 0 0 16px;
643}
644
645/* -------- SEARCH ------- */
646.paramLabel {
647 float: left;
648 min-width: 250px;
649}
650.paramValue {
651 float: left;
652}
653
654
655table{
656 border-collapse:collapse;
657 border-spacing:0;
658}
659
660/* ------- BROWSE -------*/
661
662.childrenlist {
663 margin:0 0 0 10px;
664
665}
666.childrenlist td {
667 padding:3px 0px 0px 10px;
668}
669
670/*
671ul.childrenlist li {
672list-style-type:none;
673}
674ul#classifierlist,ul#classifiernodelist {
675 list-style-type:none;
676 margin:0;
677 padding:0
678}
679ul#classifierlist li{
680list-style:none;
681margin:0 0 5px 0;
682padding:0;display:block;
683}
684ul#classifiernodelist li{
685list-style:none;
686margin:0;
687padding:5px 0 0 0;
688display:block
689}
690ul.childrenlist{
691list-style:none;
692margin:0;
693padding:0 0 0 20px;
694display:block;
695width:100%
696}
697*/
Note: See TracBrowser for help on using the repository browser.