2
|
1 /* MPIWG website style sheet
|
|
2 *
|
|
3 * (c) 2013 Robert Casties
|
|
4 */
|
|
5
|
|
6
|
|
7
|
|
8 body {
|
|
9 margin: 0;
|
|
10 font-family: Verdana, Arial, sans-serif;
|
|
11 background-color: #fdf8ef;
|
|
12 font-size: 12px;
|
|
13 }
|
|
14
|
|
15 /*
|
|
16 * global styles
|
|
17 */
|
|
18
|
|
19 img {
|
|
20 border: none;
|
|
21 }
|
|
22
|
|
23 a {
|
4
|
24 color: #d45a00;
|
2
|
25 text-decoration: none;
|
|
26 }
|
|
27
|
|
28 a:hover {
|
|
29 text-decoration: underline;
|
|
30 }
|
|
31
|
|
32 /* new link-classes (with icons) */
|
|
33
|
|
34 a.internal {
|
|
35 background: url(../images/arr_more.gif) no-repeat;
|
|
36 padding-left: 12px;
|
|
37 padding-top: 1px;
|
|
38 }
|
|
39
|
|
40 a.download {
|
|
41 background: url(../images/download.gif) no-repeat;
|
|
42 padding-left: 17px;
|
|
43 /* padding-top:1px; */
|
|
44 }
|
|
45
|
|
46 a.external {
|
|
47 background: url(../images/external.gif) no-repeat;
|
|
48 padding-left: 15px;
|
|
49 /* padding-top:1px; */
|
|
50 }
|
|
51 a.pdf {
|
|
52 background: url(../images/pdf.gif) no-repeat;
|
|
53 padding-left: 15px;
|
|
54 /* padding-top:1px; */
|
|
55 }
|
|
56
|
|
57 a.audio {
|
|
58 background: url(../images/audio.gif) no-repeat;
|
|
59 padding-left: 15px;
|
|
60 /* padding-top:1px; */
|
|
61 }
|
|
62
|
|
63 a.book {
|
|
64 background: url(../images/book.gif) no-repeat;
|
|
65 padding-left: 20px;
|
|
66 margin-left: -5px;
|
|
67 margin-top: -1px;
|
|
68 }
|
|
69
|
|
70 a.maillink {
|
4
|
71 color: #3b4186 !important;
|
|
72 }
|
|
73
|
|
74 h1 {
|
|
75 color: #3b4186;
|
5
|
76 font-size: 16px;
|
4
|
77 font-weight: bold;
|
6
|
78 margin: 10px 0 10px 0;
|
2
|
79 }
|
|
80
|
4
|
81 h2 {
|
|
82 color: #3b4186;
|
5
|
83 font-size: 16px;
|
4
|
84 font-weight: normal;
|
6
|
85 margin: 0;
|
4
|
86 }
|
|
87
|
|
88 h3 {
|
|
89 color: #3b4186;
|
5
|
90 font-size: 14px;
|
4
|
91 font-weight: normal;
|
6
|
92 margin: 0;
|
4
|
93 }
|
|
94
|
2
|
95 h1 a {
|
|
96 /* a header with a link looks like a header */
|
|
97 color: inherit;
|
|
98 font-weight: inherit;
|
|
99 text-decoration: none;
|
|
100 }
|
|
101
|
7
|
102 p {
|
|
103 margin: 0;
|
|
104 }
|
2
|
105
|
|
106 /*
|
|
107 * header and wrapper
|
|
108 */
|
|
109
|
|
110 #wrapper {
|
4
|
111 width: 900px;
|
2
|
112 margin: 0 auto;
|
4
|
113 padding: 10px 40px 10px 20px;
|
2
|
114 background-color: #fcf2df;
|
4
|
115 box-shadow: 0 0 5px 3px #d0d0d0;
|
2
|
116 }
|
|
117
|
|
118 #header {
|
4
|
119 position: relative;
|
2
|
120 width: 900px;
|
4
|
121 height: 90px;
|
2
|
122 margin: 0 0 10px 0;
|
|
123 }
|
|
124
|
|
125 #header div.title {
|
|
126 display: inline;
|
4
|
127 position: absolute;
|
|
128 left: 0;
|
|
129 top: 20px;
|
|
130 width: 661px;
|
2
|
131 height: 40px;
|
|
132 }
|
|
133
|
|
134 #header div.logo {
|
|
135 display: inline;
|
4
|
136 position: absolute;
|
|
137 right: 0;
|
2
|
138 width: 87px;
|
|
139 height: 88px;
|
|
140 }
|
|
141
|
6
|
142 /*
|
|
143 * Main Navigation
|
|
144 */
|
2
|
145 #mainnav {
|
4
|
146 position: relative;
|
2
|
147 width: 900px;
|
4
|
148 font-family: Verdana, Arial, sans-serif;
|
|
149 font-size: 12px;
|
2
|
150 border-top: 8px solid #fab775;
|
6
|
151 padding-top: 5px;
|
|
152 margin-bottom: 40px;
|
|
153 }
|
|
154 #mainnav ul {
|
|
155 padding: 0;
|
|
156 margin: 0;
|
|
157 }
|
|
158 #mainnav li.sec {
|
|
159 display: inline;
|
|
160 border-top: 8px solid #fab775;
|
|
161 margin: 0 35px 0 0;
|
2
|
162 padding-top: 5px;
|
|
163 }
|
|
164
|
6
|
165 #mainnav li.sec:hover {
|
2
|
166 border-top: 8px solid #ea8500;
|
|
167 }
|
|
168
|
|
169 #mainnav a {
|
4
|
170 color: #696968;
|
2
|
171 outline: none;
|
|
172 }
|
|
173
|
|
174 #mainnav a:hover {
|
|
175 color: #000000;
|
|
176 text-decoration: none;
|
|
177 }
|
|
178
|
6
|
179 #mainnav li.sec.on {
|
2
|
180 border-top: 8px solid #ea8500;
|
|
181 }
|
|
182
|
6
|
183 #mainnav li.sec.on a {
|
2
|
184 color: #ea8500;
|
|
185 outline: none;
|
|
186 font-weight: bold;
|
|
187 }
|
|
188
|
6
|
189 #mainnav li.sec.lang {
|
4
|
190 position: absolute;
|
|
191 right: 0;
|
|
192 top: -8px;
|
2
|
193 margin-right: 0;
|
|
194 }
|
|
195
|
|
196 /*
|
|
197 * subnavigation
|
|
198 */
|
|
199
|
|
200 div.leftbox {
|
4
|
201 /* float: left; */
|
2
|
202 width: 170px;
|
|
203 }
|
|
204
|
|
205 div.subnav {
|
4
|
206 /* float: left; */
|
2
|
207 width: 170px;
|
|
208 font-size: 11px;
|
|
209 }
|
|
210
|
|
211 div.subnav .sn_off, .subnavbox .sn_off {
|
4
|
212 /* float: left; */
|
2
|
213 width: 164px;
|
|
214 border-bottom: 1px solid #dccbae;
|
|
215 padding: 3px 6px 6px 0;
|
|
216 }
|
|
217
|
|
218 div.subnav .sn_on {
|
4
|
219 /* float: left; */
|
2
|
220 width: 158px;
|
|
221 border-bottom: 1px solid #dccbae;
|
|
222 padding: 3px 6px 6px 6px;
|
|
223 background: #EA8500;
|
|
224 }
|
|
225
|
|
226 div.subnav .sn_on a {
|
|
227 color: #FCF2DF;
|
|
228 font-weight: bold;
|
|
229 }
|
|
230
|
|
231 div.subnav .sn_off .dept {
|
|
232 font-style: italic;
|
|
233 color: #b69f7b;
|
|
234 }
|
|
235
|
|
236 div.subnav .sn_on .dept {
|
|
237 font-style: italic;
|
|
238 color: #f9f4e1;
|
|
239 }
|
|
240
|
|
241 div.subnavbox {
|
|
242 /* navigation below e.g. research projects */
|
4
|
243 /* float: left; */
|
2
|
244 width: 170px;
|
|
245 font-size: 11px;
|
|
246 margin-top: 30px;
|
|
247 }
|
|
248
|
|
249 div.subnavbox h2 {
|
4
|
250 /* float: left; */
|
2
|
251 width: 170px;
|
|
252 height: 20px;
|
|
253 font-size: 11px;
|
|
254 color: #b69f7b;
|
|
255 margin-bottom: 0px;
|
|
256 padding-bottom: 3px;
|
|
257 margin-top: 20px;
|
|
258 background: transparent url(../images/side.gif) repeat-x;
|
|
259 }
|
|
260
|
|
261 /*
|
6
|
262 * main section
|
2
|
263 */
|
|
264
|
6
|
265 div.main {
|
2
|
266 }
|
|
267
|
6
|
268 div.row {
|
|
269 /* set font-size to ignore whitespace */
|
|
270 font-size: 0;
|
2
|
271 }
|
|
272
|
6
|
273 div.row div.block {
|
|
274 display: inline-block;
|
|
275 vertical-align: top;
|
|
276 /* reset font-size */
|
|
277 font-size: 12px;
|
2
|
278 }
|
6
|
279 div.row div.block:first-child {
|
|
280 /* first block has no left margin */
|
|
281 margin-left: 0 !important;
|
2
|
282 }
|
|
283
|
6
|
284 div.row.triple div.block {
|
|
285 width: 31.7%;
|
|
286 margin-left: 2.4%;
|
2
|
287 }
|
|
288
|
6
|
289 div.row div.block h2 {
|
|
290 margin-top: 35px;
|
7
|
291 padding-bottom: 3px;
|
6
|
292 border-bottom: 3px solid #dccbae;
|
2
|
293 }
|
|
294
|
6
|
295 div.row div.block div.item {
|
|
296 padding-top: 5px;
|
7
|
297 padding-bottom: 5px;
|
6
|
298 border-bottom: 1px solid #dccbae;
|
7
|
299 line-height: 1.5;
|
2
|
300 }
|
|
301
|
|
302
|
6
|
303 /* frontpage version */
|
2
|
304
|
6
|
305 div.main.home div.row div.block b {
|
|
306 /* bold is blue */
|
|
307 color: #3b4186;
|
2
|
308 }
|
6
|
309 div.main.home div.row div.block h2 {
|
|
310 /* more-links in title are right */
|
|
311 position: relative;
|
2
|
312 }
|
6
|
313 div.main.home div.row div.block h2 a:link {
|
|
314 /* more-links in title are right */
|
|
315 position: absolute;
|
|
316 right: 0;
|
|
317 top: 3px;
|
|
318 /* more-links in title are small */
|
|
319 font-size: 12px;
|
2
|
320 }
|
|
321
|
|
322 /*
|
6
|
323 * Front page feature
|
2
|
324 */
|
|
325
|
6
|
326 div.row.feature {
|
|
327 background-color: #f4e0c7;
|
2
|
328 }
|
|
329
|
6
|
330 div.row.feature div.block.teaser_image {
|
|
331 position: relative;
|
|
332 width: 593px;
|
|
333 height: 351px;
|
2
|
334 }
|
|
335
|
6
|
336 div.row.feature div.teaser_image div.caption {
|
|
337 position: absolute;
|
|
338 bottom: 0;
|
|
339 padding: 3px;
|
|
340 text-align: right;
|
|
341 color: white;
|
2
|
342 font-size: 10px;
|
6
|
343 opacity: 0.8;
|
|
344 background-color: gray;
|
|
345 /* background-color: rgba(80,80,80,0.6); */
|
2
|
346 }
|
|
347
|
6
|
348 div.row.feature div.block.teaser_text {
|
|
349 position: relative;
|
|
350 width: 265px;
|
|
351 margin-left: 21px;
|
|
352 padding-right: 21px;
|
2
|
353 }
|
|
354
|
6
|
355 div.row.feature div.block.teaser_text div.feature_number {
|
|
356 position: absolute;
|
|
357 right: 14px;
|
|
358 top: 5px;
|
|
359 font-family: Georgia, Times, serif;
|
|
360 font-size: 26px;
|
|
361 color: #887163;
|
2
|
362 }
|
6
|
363 /* title */
|
|
364 div.row.feature div.block.teaser_text h1 {
|
|
365 font-size: 16px;
|
|
366 font-weight: normal;
|
|
367 margin-top: 0;
|
2
|
368 }
|
6
|
369 /* "current research topic */
|
|
370 div.row.feature div.block.teaser_text h2 {
|
|
371 font-size: 14px;
|
|
372 color: #887163;
|
|
373 margin-bottom: 0;
|
7
|
374 margin-top: 15px;
|
|
375 border-bottom: 0;
|
2
|
376 }
|
6
|
377 /* feature date */
|
|
378 div.row.feature div.block.teaser_text h3 {
|
|
379 margin-top: 20px;
|
|
380 margin-bottom: 20px;
|
7
|
381 font-size: 12px;
|
2
|
382 }
|
7
|
383 div.row.feature div.block.teaser_text p {
|
|
384 line-height: 1.5;
|
|
385 margin: 0;
|
|
386 }
|
2
|
387
|
|
388 /*
|
|
389 * footer
|
|
390 */
|
|
391
|
6
|
392 div.footer {
|
|
393 position: relative;
|
2
|
394 width: 900px;
|
6
|
395 height: 50px;
|
2
|
396 border-top: 1px solid #dccbae;
|
6
|
397 padding-top: 8px;
|
|
398 margin-top: 45px;
|
2
|
399 }
|
|
400
|
6
|
401 div.footer div.text {
|
|
402 display: inline-block;
|
|
403 color: #d45a00;
|
|
404 font-size: 11px;
|
2
|
405 }
|
|
406
|
6
|
407 div.footer div.logo {
|
|
408 display: inline-block;
|
|
409 position: absolute;
|
|
410 right: 0;
|
2
|
411 }
|
|
412
|
6
|
413 div.footer div.logo img {
|
|
414 width: 204px;
|
|
415 height: 41px;
|
2
|
416 }
|