1 | /* brick-red colour theme - Alternate stylesheet for greenstone.
|
---|
2 | Written by John McPherson, 2006. Feel free to copy/modify this for
|
---|
3 | any purpose.
|
---|
4 | */
|
---|
5 |
|
---|
6 | body {
|
---|
7 | background: #770000;
|
---|
8 | color: #000000;
|
---|
9 | height: 100%;
|
---|
10 | }
|
---|
11 |
|
---|
12 | /* this is only used by the CSS demo collection */
|
---|
13 | p.choose_style { color: white; }
|
---|
14 | p.choose_style a:link { color: #f99; }
|
---|
15 | p.choose_style a:visited { color: #f99; }
|
---|
16 |
|
---|
17 |
|
---|
18 | a:link { color: #f00; text-decoration: none; }
|
---|
19 |
|
---|
20 | a:hover { color: black; background-color: #a77; }
|
---|
21 |
|
---|
22 | a:visited { text-decoration: none; }
|
---|
23 |
|
---|
24 | img.link { border: 0; }
|
---|
25 |
|
---|
26 | /* for unesco/human info etc logos on home page */
|
---|
27 | img.logo {
|
---|
28 | border: 0;
|
---|
29 | float: right;
|
---|
30 | margin-left: 10px;
|
---|
31 | }
|
---|
32 |
|
---|
33 | div.v_list {
|
---|
34 | padding: 10px;
|
---|
35 | font-size: smaller;
|
---|
36 | }
|
---|
37 | /* specific columns, named in the format string */
|
---|
38 | div.vlist_entry {
|
---|
39 | clear: both; /* comes after any previous floating divs */
|
---|
40 | border-bottom: 1px grey solid;
|
---|
41 | margin-top: 10px;
|
---|
42 | margin-bottom: 5px;
|
---|
43 | }
|
---|
44 | div.vlist_entry div {
|
---|
45 | width: 15%;
|
---|
46 | padding-left: 1%;
|
---|
47 | padding-right: 1%;
|
---|
48 | float: left;
|
---|
49 | }
|
---|
50 |
|
---|
51 | div.vlist_entry div.descr { width: 45% }
|
---|
52 |
|
---|
53 | /* this div contains the pageinfo div and the collectimage div */
|
---|
54 | #banner {
|
---|
55 | margin-bottom: 5px;
|
---|
56 | }
|
---|
57 | /* this div contains the bannerlinks and bannertitle paragraphs */
|
---|
58 | div.pageinfo {
|
---|
59 | float: left;
|
---|
60 | width: 15%;
|
---|
61 | }
|
---|
62 | /* home, help, preferences links */
|
---|
63 | p.bannerlinks {
|
---|
64 | font-family: arial;
|
---|
65 | font-size: 10pt;
|
---|
66 | font-weight: bold;
|
---|
67 | }
|
---|
68 | /* the title set by the receptionist based on the page action */
|
---|
69 | p.bannertitle {
|
---|
70 | color: white;
|
---|
71 | text-weight: bold;
|
---|
72 | border-top: 1px solid white;
|
---|
73 | border-bottom: 1px solid white;
|
---|
74 | text-align: center;
|
---|
75 | width: 10em;
|
---|
76 | }
|
---|
77 | /* the image (or text) for the collection, shown in the banner */
|
---|
78 | div.collectimage {
|
---|
79 | float: right;
|
---|
80 | margin: 0;
|
---|
81 | padding: 0;
|
---|
82 | width: 80%;
|
---|
83 | font-size: 30px;
|
---|
84 | font-weight: bold;
|
---|
85 | text-align: right;
|
---|
86 | color: #ccf;
|
---|
87 | }
|
---|
88 | /* link for collection name - will have text if there is no image */
|
---|
89 | div.collectimage h2 {
|
---|
90 | margin: 0;
|
---|
91 | padding: 0;
|
---|
92 | text-align: right;
|
---|
93 | color: #ccf;
|
---|
94 | }
|
---|
95 | /* the link inside the h2 tag, if there is no image */
|
---|
96 | div.collectimage a {
|
---|
97 | text-decoration: none;
|
---|
98 | color: #fcc;
|
---|
99 | -moz-border-radius: 10px;
|
---|
100 | background: #822;
|
---|
101 | padding-left: 8px;
|
---|
102 | padding-right: 8px;
|
---|
103 | }
|
---|
104 |
|
---|
105 | div.collectimage a:hover {
|
---|
106 | color: white;
|
---|
107 | background: #a77;
|
---|
108 | }
|
---|
109 |
|
---|
110 | /* make sure this is shown under the other divs (which may be floating) */
|
---|
111 | div.bannerextra {clear:both;}
|
---|
112 |
|
---|
113 | /* blankiconbar */
|
---|
114 | div.section p.bar {
|
---|
115 | text-align: center;
|
---|
116 | }
|
---|
117 |
|
---|
118 | div.navbar {
|
---|
119 | background: #772222;
|
---|
120 | white-space: nowrap; /* so 'buttons' don't wrap */
|
---|
121 | border: 1px solid black;
|
---|
122 | margin: 4px 10px 10px 2px;
|
---|
123 | padding: 5px 5px 5px 5px; /* internal */
|
---|
124 | float: left;
|
---|
125 | font-size: 12pt;
|
---|
126 | width: 20%;
|
---|
127 |
|
---|
128 | }
|
---|
129 |
|
---|
130 | p.navbar { /* opt navbar text inside a divbar div */
|
---|
131 | text-align: center;
|
---|
132 | margin: 0px;
|
---|
133 | }
|
---|
134 | /* each link inside the navigation bar, and home/help/preferences links */
|
---|
135 | a.navlink {
|
---|
136 | background: #a77;
|
---|
137 | border-right: 2px solid #400;
|
---|
138 | border-bottom: 2px solid #400;
|
---|
139 | /* this only works in mozilla/firefox-based browsers */
|
---|
140 | -moz-border-radius: 10px;
|
---|
141 | text-align: center; /* for home/help/prefs buttons */
|
---|
142 | display: block; /* so we can set a width */
|
---|
143 | max-width: 12em;
|
---|
144 | width: 12em;
|
---|
145 | margin: auto; /* horizontally centre */
|
---|
146 | padding: 0;
|
---|
147 | color: white;
|
---|
148 | text-decoration: none;
|
---|
149 | /* make the a wider so that the whole 'button' is clickable */
|
---|
150 | display: block; /* so we can give it a fixed width */
|
---|
151 | }
|
---|
152 |
|
---|
153 | /* for the selected link */
|
---|
154 | a.navlink_sel {
|
---|
155 | display: block;
|
---|
156 | max-width: 12em;
|
---|
157 | width: 12em; /* needed for MSIE6 */
|
---|
158 | margin-left: auto;
|
---|
159 | margin-right: auto;
|
---|
160 | color: white;
|
---|
161 | text-weight: bold;
|
---|
162 | }
|
---|
163 |
|
---|
164 | a.navlink{
|
---|
165 |
|
---|
166 | }
|
---|
167 | a.navlink:visited {
|
---|
168 | color: white;
|
---|
169 | /* use the parent object's background instead of the default <a> background */
|
---|
170 | }
|
---|
171 | a.navlink:hover {
|
---|
172 | background-color: #c67; /* #6090a0; */
|
---|
173 | }
|
---|
174 |
|
---|
175 | div.divbar { /* for "select a collection" */
|
---|
176 | font-family: arial;
|
---|
177 | font-size: 10pt;
|
---|
178 | font-weight: bold;
|
---|
179 | text-align: top;
|
---|
180 | border: 0;
|
---|
181 | }
|
---|
182 | /* content inside the pages */
|
---|
183 | /* this contains everything - all the other divs */
|
---|
184 | div#page {}
|
---|
185 |
|
---|
186 | /* document content after nav bar */
|
---|
187 | div.document {
|
---|
188 | border: 5px #cccccc solid;
|
---|
189 | padding:0 0 0 0;
|
---|
190 | background: #fdd;
|
---|
191 | margin: 0px 0 0 0;
|
---|
192 | }
|
---|
193 | div.documenttext {
|
---|
194 | clear: left; /* so we are under the floating navigation bar */
|
---|
195 | }
|
---|
196 |
|
---|
197 | img.icon { border: 0; }
|
---|
198 |
|
---|
199 | div.queryform {
|
---|
200 | text-align: center;
|
---|
201 | }
|
---|
202 | span.textselect { white-space: nowrap; }
|
---|
203 |
|
---|
204 | div.section p {
|
---|
205 | text-align: justify;
|
---|
206 | }
|
---|
207 |
|
---|
208 | div.h_list {
|
---|
209 | text-align: right;
|
---|
210 | padding: 5px;
|
---|
211 | background: #637d7d;
|
---|
212 | }
|
---|
213 |
|
---|
214 | /* A-Z entries other than the current one */
|
---|
215 | span.h_item a {
|
---|
216 | text-decoration: none;
|
---|
217 | color: #cccccc;
|
---|
218 | }
|
---|
219 | span.h_item a:hover {
|
---|
220 | text-decoration: none;
|
---|
221 | color: red;
|
---|
222 | }
|
---|
223 |
|
---|
224 | /* for the home page - auto-generated _homeextra_ macro */
|
---|
225 | table.collections {
|
---|
226 | width: 100%;
|
---|
227 | max-width: 800px;
|
---|
228 | text-align: center;
|
---|
229 | /* centres a block element for gecko and opera. (IE 5.5 needs parent
|
---|
230 | * text-align) */
|
---|
231 | margin-left:auto; margin-right:auto;
|
---|
232 | }
|
---|
233 |
|
---|