1 | /* |
---|
2 | CSS for all pages |
---|
3 | */ |
---|
4 | |
---|
5 | body { |
---|
6 | font: 75% "Bitstream Vera Sans", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif; |
---|
7 | margin: 0; |
---|
8 | padding: 0; |
---|
9 | } |
---|
10 | |
---|
11 | img { border: 0; } |
---|
12 | a { text-decoration: none; } |
---|
13 | hr { border: 1px #999999 solid; } |
---|
14 | |
---|
15 | h1, h2, h3 { |
---|
16 | margin: 0; |
---|
17 | padding: 0; |
---|
18 | font-size: 1em; |
---|
19 | } |
---|
20 | h1 { font-size: 1.6em; } |
---|
21 | |
---|
22 | #menuswitcher { |
---|
23 | cursor: pointer; |
---|
24 | } |
---|
25 | |
---|
26 | /* hide javascript stuff */ |
---|
27 | |
---|
28 | .js #menubar, .js #theComments > div { |
---|
29 | display: none; |
---|
30 | } |
---|
31 | |
---|
32 | /* Layout */ |
---|
33 | |
---|
34 | #the_page { |
---|
35 | width: 85%; |
---|
36 | margin: 0 auto; |
---|
37 | padding: 0; |
---|
38 | } |
---|
39 | |
---|
40 | #theHeader h1 { |
---|
41 | padding: 1em 0 0; |
---|
42 | } |
---|
43 | #theHeader p { |
---|
44 | padding: 0; |
---|
45 | margin: 0; |
---|
46 | } |
---|
47 | |
---|
48 | .titrePage { |
---|
49 | margin: 1em 0; |
---|
50 | line-height: 1.5em; |
---|
51 | } |
---|
52 | |
---|
53 | .titrePage h2 { |
---|
54 | margin: 1em 0; |
---|
55 | padding: 0; |
---|
56 | display: inline; |
---|
57 | } |
---|
58 | .subcontent h2 { |
---|
59 | margin: 0 0 1em; |
---|
60 | } |
---|
61 | |
---|
62 | .titrePage .button { |
---|
63 | float: none; |
---|
64 | } |
---|
65 | |
---|
66 | .titrePage img { |
---|
67 | float: left; |
---|
68 | max-height: 16px; |
---|
69 | margin: 0 5px; |
---|
70 | } |
---|
71 | |
---|
72 | .titrePage .categoryActions { |
---|
73 | float: right; |
---|
74 | margin: 0; |
---|
75 | padding: 0; |
---|
76 | list-style: none; |
---|
77 | width: auto; |
---|
78 | } |
---|
79 | |
---|
80 | .categoryActions li { |
---|
81 | display: inline; |
---|
82 | } |
---|
83 | |
---|
84 | #content { |
---|
85 | margin: 1em 0 0; |
---|
86 | padding: 1em; |
---|
87 | } |
---|
88 | |
---|
89 | /* tags */ |
---|
90 | |
---|
91 | .tagLevel5 { font-size: 130%; } |
---|
92 | .tagLevel4 { font-size: 120%; } |
---|
93 | .tagLevel3 { font-size: 110%; } |
---|
94 | .tagLevel2 { font-size: 100%; } |
---|
95 | .tagLevel1 { font-size: 90%; } |
---|
96 | |
---|
97 | #fullTagCloud { |
---|
98 | text-align: center; |
---|
99 | margin: 1em 2em; |
---|
100 | } |
---|
101 | |
---|
102 | #fullTagCloud span { |
---|
103 | white-space: nowrap; |
---|
104 | margin: 0 0.5em; |
---|
105 | } |
---|
106 | |
---|
107 | #fullTagCloud a { |
---|
108 | padding: 2px; |
---|
109 | } |
---|
110 | |
---|
111 | .tagLetterContent { |
---|
112 | width: 100%; |
---|
113 | } |
---|
114 | |
---|
115 | .tagSelection li { |
---|
116 | display: inline; |
---|
117 | } |
---|
118 | |
---|
119 | /* Messages */ |
---|
120 | |
---|
121 | .errors, .infos { |
---|
122 | color: #e04040; |
---|
123 | border: 1px dashed; |
---|
124 | margin: 1em; |
---|
125 | } |
---|
126 | |
---|
127 | /* Forms */ |
---|
128 | |
---|
129 | form { |
---|
130 | margin: 0; |
---|
131 | } |
---|
132 | |
---|
133 | #content form li, .subcontent form li { |
---|
134 | list-style: none; |
---|
135 | margin: 0.2em 0; |
---|
136 | } |
---|
137 | |
---|
138 | .property { |
---|
139 | display: inline-block; |
---|
140 | width: 180px; |
---|
141 | } |
---|
142 | |
---|
143 | #quicksearch { |
---|
144 | margin: 1em 0 0; |
---|
145 | } |
---|
146 | #quicksearch p { |
---|
147 | margin: 0; |
---|
148 | } |
---|
149 | #quicksearch #q { |
---|
150 | width: 150px; |
---|
151 | } |
---|
152 | |
---|
153 | /* Menubar */ |
---|
154 | |
---|
155 | #menubar { |
---|
156 | margin: 0 2em 0 0; |
---|
157 | padding: 0; |
---|
158 | float: left; |
---|
159 | width: 15%; |
---|
160 | } |
---|
161 | |
---|
162 | #menubar ul { |
---|
163 | margin: 0; |
---|
164 | padding: 1em 0 1em 2em; |
---|
165 | } |
---|
166 | #menubar dd { |
---|
167 | margin: 0; |
---|
168 | padding: 0; |
---|
169 | } |
---|
170 | |
---|
171 | #menubar ul ul { |
---|
172 | margin: 0; |
---|
173 | padding: 0 0 0 1em; |
---|
174 | } |
---|
175 | |
---|
176 | /* images thumbnails */ |
---|
177 | |
---|
178 | #thumbnails { |
---|
179 | width: auto; |
---|
180 | text-align: center; |
---|
181 | padding: 1em 0; |
---|
182 | } |
---|
183 | |
---|
184 | #thumbnails ul, .middle_block > ul { |
---|
185 | margin: 0; |
---|
186 | padding: 0; |
---|
187 | overflow: hidden; |
---|
188 | list-style: none; |
---|
189 | } |
---|
190 | |
---|
191 | #thumbnails li, .middle_block > ul li { |
---|
192 | margin: 0; |
---|
193 | padding: 0; |
---|
194 | display: inline-block; |
---|
195 | width: 200px; |
---|
196 | height: 200px; |
---|
197 | } |
---|
198 | |
---|
199 | .nb-comments, .nb-hits { |
---|
200 | font-weight: normal; |
---|
201 | display: block; |
---|
202 | } |
---|
203 | .zero { |
---|
204 | display: none; |
---|
205 | } |
---|
206 | |
---|
207 | /* categories thumbnails */ |
---|
208 | |
---|
209 | .thumbnailCategories { |
---|
210 | margin: 0; |
---|
211 | padding: 1em; |
---|
212 | overflow: hidden; |
---|
213 | list-style: none; |
---|
214 | } |
---|
215 | |
---|
216 | .thumbnailCategories li { |
---|
217 | display: inline-block; |
---|
218 | height: 160px; |
---|
219 | overflow: hidden; |
---|
220 | vertical-align: top; |
---|
221 | margin: 1em; |
---|
222 | width: 45%; |
---|
223 | } |
---|
224 | |
---|
225 | .illustration { |
---|
226 | float: left; |
---|
227 | width: 150px; |
---|
228 | } |
---|
229 | |
---|
230 | .description { |
---|
231 | overflow: auto; |
---|
232 | padding-left: 1em; |
---|
233 | } |
---|
234 | |
---|
235 | .description h3 { |
---|
236 | margin: 0; |
---|
237 | } |
---|
238 | |
---|
239 | .thumbCatDescNfoDate, .thumbCatDescNbImg { |
---|
240 | margin: 0; |
---|
241 | font-size: 80%; |
---|
242 | } |
---|
243 | |
---|
244 | .thumbCatDesc { |
---|
245 | margin: 0; |
---|
246 | padding-top: 4px; |
---|
247 | word-wrap: break-word; |
---|
248 | } |
---|
249 | |
---|
250 | /* page : title bar */ |
---|
251 | |
---|
252 | #additional_info { |
---|
253 | margin: 1em 5em; |
---|
254 | } |
---|
255 | |
---|
256 | .navigationBar { |
---|
257 | padding: 0.5em; |
---|
258 | text-align: right; |
---|
259 | } |
---|
260 | |
---|
261 | /* pictures pages */ |
---|
262 | |
---|
263 | #thePicturePage #theHeader { |
---|
264 | display: none; |
---|
265 | } |
---|
266 | #thePicturePage #content { |
---|
267 | padding: 1em 0 0; |
---|
268 | } |
---|
269 | |
---|
270 | .imageNumber { |
---|
271 | float: right; |
---|
272 | padding: 0 3px; |
---|
273 | font-size: 0.9em; |
---|
274 | } |
---|
275 | |
---|
276 | .navButtons { |
---|
277 | font-size: 1.5em; |
---|
278 | text-align: center; |
---|
279 | } |
---|
280 | |
---|
281 | #navThumbPrev, #navThumbNext { |
---|
282 | text-align: center; |
---|
283 | margin: 1em auto; |
---|
284 | } |
---|
285 | |
---|
286 | #imageToolBar { |
---|
287 | height: 25px; |
---|
288 | } |
---|
289 | |
---|
290 | #imageInfoBar { |
---|
291 | float: right; |
---|
292 | clear: right; |
---|
293 | width: 25%; |
---|
294 | } |
---|
295 | |
---|
296 | #randomButtons ul { |
---|
297 | padding: 0; |
---|
298 | list-style-type: none; |
---|
299 | } |
---|
300 | |
---|
301 | #imageInfos dt, #imageMeta dt { |
---|
302 | font-weight: bold; |
---|
303 | } |
---|
304 | #imageInfos dd, #imageMeta dd { |
---|
305 | margin-left: 1em; |
---|
306 | overflow: hidden; |
---|
307 | } |
---|
308 | |
---|
309 | #theImage { |
---|
310 | float: left; |
---|
311 | width: 75%; |
---|
312 | text-align: center; |
---|
313 | padding: 1em 0 2em; |
---|
314 | margin: auto; |
---|
315 | overflow: hidden; |
---|
316 | } |
---|
317 | |
---|
318 | #rateForm { |
---|
319 | margin: 0; |
---|
320 | } |
---|
321 | #rateForm input, #rateForm input:active { |
---|
322 | cursor: pointer; |
---|
323 | border: none; |
---|
324 | padding: 0; |
---|
325 | } |
---|
326 | #rateForm input.rateButtonStarFull { |
---|
327 | background: url('icon/rating-stars.png') no-repeat scroll -16px center; |
---|
328 | width: 16px; |
---|
329 | } |
---|
330 | #rateForm input.rateButtonStarEmpty { |
---|
331 | background: url('icon/rating-stars.png') no-repeat scroll 0 center; |
---|
332 | width: 16px; |
---|
333 | } |
---|
334 | |
---|
335 | /* slideshow */ |
---|
336 | |
---|
337 | #slideshow { |
---|
338 | width: 656px; |
---|
339 | margin: 1em auto 0; |
---|
340 | } |
---|
341 | |
---|
342 | #slideshow .navButtons { |
---|
343 | display: inline; |
---|
344 | font-size: 1em; |
---|
345 | float: right; |
---|
346 | margin-right: 1em; |
---|
347 | } |
---|
348 | |
---|
349 | /* comments */ |
---|
350 | |
---|
351 | #theComments h3 { |
---|
352 | height: 25px; |
---|
353 | line-height: 25px; |
---|
354 | padding-left: 1em; |
---|
355 | cursor: pointer; |
---|
356 | } |
---|
357 | |
---|
358 | #commentAdd, #commentList { |
---|
359 | width: 48%; |
---|
360 | padding: 1%; |
---|
361 | } |
---|
362 | #commentAdd { float: left; } |
---|
363 | #commentList { float: right; } |
---|
364 | |
---|
365 | #commentAdd input[type="text"], #commentAdd textarea { |
---|
366 | width: 400px; |
---|
367 | } |
---|
368 | |
---|
369 | #commentList ul { |
---|
370 | list-style: none; |
---|
371 | padding: 0; |
---|
372 | } |
---|
373 | #commentList li { |
---|
374 | clear: both; |
---|
375 | display: block; |
---|
376 | border-top: 1px dotted #606060; |
---|
377 | padding: 0.5em 0; |
---|
378 | } |
---|
379 | #commentList li ul { |
---|
380 | list-style-type: none; |
---|
381 | padding: 4px; |
---|
382 | } |
---|
383 | |
---|
384 | ul.actions { |
---|
385 | float: right; |
---|
386 | } |
---|
387 | |
---|
388 | #commentList .author { |
---|
389 | font-weight: bold; |
---|
390 | font-variant: small-caps; |
---|
391 | } |
---|
392 | #commentList .date { |
---|
393 | font-style: italic; |
---|
394 | } |
---|
395 | |
---|
396 | #theCommentsPage #comments li { |
---|
397 | list-style: none; |
---|
398 | display: table-row; |
---|
399 | } |
---|
400 | |
---|
401 | #theCommentsPage form label { |
---|
402 | display: inline-block; |
---|
403 | line-height: 25px; |
---|
404 | } |
---|
405 | |
---|
406 | #comments .description { |
---|
407 | vertical-align: top; |
---|
408 | display: inline-block; |
---|
409 | } |
---|
410 | #comments .illustration { |
---|
411 | width: auto; |
---|
412 | } |
---|
413 | |
---|
414 | /* calendar */ |
---|
415 | |
---|
416 | .calendarViews, .calendarCalBar { |
---|
417 | margin: 1em 0; |
---|
418 | } |
---|
419 | |
---|
420 | .calCalHead { |
---|
421 | font-size: 1.1em; |
---|
422 | font-weight: bold; |
---|
423 | } |
---|
424 | |
---|
425 | .calMonth { |
---|
426 | width: 80%; |
---|
427 | margin: 1em auto; |
---|
428 | } |
---|
429 | |
---|
430 | .calendarBar { |
---|
431 | text-align: center; |
---|
432 | } |
---|
433 | .calendarBar span { |
---|
434 | margin: 0 0.5em; |
---|
435 | } |
---|
436 | |
---|
437 | /* Footer */ |
---|
438 | |
---|
439 | #copyright { |
---|
440 | padding: 2px; |
---|
441 | clear: both; |
---|
442 | } |
---|
443 | |
---|
444 | /* PWG stuff */ |
---|
445 | |
---|
446 | .personal_block { padding: 0 !important; } |
---|
447 | |
---|
448 | |
---|
449 | /* */ |
---|
450 | |
---|
451 | @media only screen and (max-width: 957px) { |
---|
452 | #the_page { |
---|
453 | width: 100%; |
---|
454 | margin: 0; |
---|
455 | } |
---|
456 | |
---|
457 | #thePicturePage #content { |
---|
458 | position: relative; |
---|
459 | } |
---|
460 | |
---|
461 | #theHeader { margin: 0 1em; } |
---|
462 | .titrePage { margin: 1em; } |
---|
463 | |
---|
464 | #theImage { |
---|
465 | width: 100%; |
---|
466 | float: none; |
---|
467 | } |
---|
468 | |
---|
469 | #imageInfoBar { |
---|
470 | float: none; |
---|
471 | clear: both; |
---|
472 | width: 100%; |
---|
473 | margin: 0 10px; |
---|
474 | } |
---|
475 | #navThumbPrev, #navThumbNext { |
---|
476 | float: left; |
---|
477 | margin: 1em; |
---|
478 | } |
---|
479 | } |
---|
480 | |
---|