Last change
on this file since 9821 was
9821,
checked in by flop25, 13 years ago
|
polaroid for thumbnails
polaroid comp. for opera and webkit browsers
medium centered
|
File size:
1.3 KB
|
Line | |
---|
1 | /*catégories*/ |
---|
2 | #content .thumbnailCategories { |
---|
3 | padding-left:auto; |
---|
4 | padding-right:auto; |
---|
5 | padding: 5px; |
---|
6 | list-style: none outside none; |
---|
7 | text-align: center; |
---|
8 | } |
---|
9 | #content .thumbnailCategories li { |
---|
10 | width: auto; |
---|
11 | float: none; |
---|
12 | display:inline; |
---|
13 | text-align:center; |
---|
14 | margin-left:10px; |
---|
15 | margin: 5px; |
---|
16 | padding: 5px; |
---|
17 | } |
---|
18 | |
---|
19 | |
---|
20 | #content div.thumbnailCategory { |
---|
21 | text-align:center; |
---|
22 | width:100%; |
---|
23 | height:100%; |
---|
24 | margin: 0 auto; |
---|
25 | padding: 0; |
---|
26 | vertical-align:middle; |
---|
27 | } |
---|
28 | |
---|
29 | #content div.thumbnailCategory div.illustration { |
---|
30 | width:auto; |
---|
31 | height:auto; |
---|
32 | /*height:135px;*/ |
---|
33 | text-align:center; |
---|
34 | overflow: inherit; |
---|
35 | float:none; |
---|
36 | margin: 0; |
---|
37 | padding: 0; |
---|
38 | } |
---|
39 | #content div.thumbnailCategory div.description { |
---|
40 | width:auto; |
---|
41 | height:auto; |
---|
42 | text-align:center; |
---|
43 | overflow:inherit; |
---|
44 | float:none; |
---|
45 | overflow: auto; |
---|
46 | |
---|
47 | } |
---|
48 | /* --------------Hack-------------*/ |
---|
49 | #content div.thumbnailCategory { |
---|
50 | display: table-cell; |
---|
51 | text-align: center; |
---|
52 | vertical-align: middle; |
---|
53 | width:160px; |
---|
54 | height:205px; |
---|
55 | } |
---|
56 | #content div.thumbnailCategory * { |
---|
57 | vertical-align: middle; |
---|
58 | } |
---|
59 | /*\*//*/ |
---|
60 | .wraptocenter { |
---|
61 | display: block; |
---|
62 | } |
---|
63 | .wraptocenter span { |
---|
64 | display: inline-block; |
---|
65 | height: 100%; |
---|
66 | width: 1px; |
---|
67 | } |
---|
68 | /**/ |
---|
69 | /* --------------fin Hack-------------*/ |
---|
70 | |
---|
71 | #content div.thumbnailCategory div.description h3 { |
---|
72 | text-align:center; |
---|
73 | } |
---|
74 | |
---|
75 | #content div.thumbnailCategory div.illustration img { |
---|
76 | height: 96px; |
---|
77 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.