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

Last change on this file since 10995 was 10919, checked in by jrm21, 19 years ago

move background-image: url() style elements into the macro file instead
of the stylesheet so that the _httpimg_ path is correct at runtime.

Also moved all css-related stuff into a new macro to make it easier to
override the css for a particular collection, by overriding the macro
_Style:cssheader_.

  • Property svn:keywords set to Author Date Id Revision
File size: 2.4 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 border: 0;
70 width: 100%; /* for ns4 */
71}
72
73/* bg image set in style macro */
74div.divbar { /* for "select a collection" */
75 font-family: arial;
76 font-size: 10pt;
77 font-weight: bold;
78 text-align: top;
79 border: 0;
80 width: 100%; /* for ns4 */
81}
82p.navbar { /* opt navbar text inside a divbar div */
83 text-align: center;
84}
85
86/* bg image set in style macro */
87span.navlink {
88 vertical-align: top;
89 padding: 0 10px;
90}
91
92/* bg image set in style macro */
93span.navlink_sel {
94 vertical-align: top;
95 padding: 0 10px;
96}
97
98/* bg image set in style macro */
99span.navlink:hover { }
100
101span.navlink a {
102 color: black;
103 text-decoration: none;
104}
105span.navlink a:visited {
106 color: black;
107}
108
109/* content inside the pages */
110img.icon { border: 0; }
111
112div.queryform {
113 text-align: center;
114}
115span.textselect { white-space: nowrap; }
116
117
118div.section p {
119 text-align: justify;
120}
121
122/* for the home page - auto-generated _homeextra_ macro */
123table.collections {
124 width: 100%;
125 max-width: 800px;
126 text-align: center;
127 /* centres a block element for gecko and opera. (IE 5.5 needs parent
128 * text-align) */
129 margin-left:auto; margin-right:auto;
130}
131
Note: See TracBrowser for help on using the repository browser.