Last change
on this file since 9818 was
9818,
checked in by flop25, 13 years ago
|
captify and polaroid fully functional
|
File size:
1.6 KB
|
Line | |
---|
1 | /* from http://www.zurb.com/playground/css3-polaroids thx ! */ |
---|
2 | .content { |
---|
3 | display:block; |
---|
4 | position: relative; |
---|
5 | z-index: 1;} |
---|
6 | ul.polaroids { |
---|
7 | list-style: none; |
---|
8 | overflow: visible; |
---|
9 | width: 100%; |
---|
10 | padding-top: 20px; |
---|
11 | padding-right: 0; |
---|
12 | padding-bottom: 0; |
---|
13 | padding-left: 0; |
---|
14 | margin: 0px; |
---|
15 | } |
---|
16 | ul.polaroids li { |
---|
17 | display: inline; |
---|
18 | } |
---|
19 | ul.polaroids a { |
---|
20 | -moz-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25); |
---|
21 | -moz-transform: rotate(-2deg); |
---|
22 | background: none repeat scroll 0 0 #FFFFFF; |
---|
23 | color: #333333; |
---|
24 | display: inline; |
---|
25 | float: left; |
---|
26 | font-family: "Marker Felt",sans-serif; |
---|
27 | font-size: 18px; |
---|
28 | margin: 0 0 27px 30px; |
---|
29 | padding: 10px 10px 15px; |
---|
30 | text-align: center; |
---|
31 | text-decoration: none; |
---|
32 | width: auto; |
---|
33 | } |
---|
34 | ul.polaroids img { |
---|
35 | display: block; |
---|
36 | margin-bottom: 12px; |
---|
37 | width: 190px; |
---|
38 | } |
---|
39 | ul.polaroids a:after { |
---|
40 | content: attr(title); |
---|
41 | } |
---|
42 | ul.polaroids li:nth-child(2n) a { |
---|
43 | -moz-transform: rotate(2deg); |
---|
44 | } |
---|
45 | ul.polaroids li:nth-child(3n) a { |
---|
46 | -moz-transform: none; |
---|
47 | position: relative; |
---|
48 | top: -5px; |
---|
49 | } |
---|
50 | ul.polaroids li:nth-child(5n) a { |
---|
51 | -moz-transform: rotate(5deg); |
---|
52 | position: relative; |
---|
53 | right: 5px; |
---|
54 | } |
---|
55 | ul.polaroids li:nth-child(8n) a { |
---|
56 | position: relative; |
---|
57 | right: 5px; |
---|
58 | top: 8px; |
---|
59 | } |
---|
60 | ul.polaroids li:nth-child(11n) a { |
---|
61 | left: -5px; |
---|
62 | position: relative; |
---|
63 | top: 3px; |
---|
64 | } |
---|
65 | ul.polaroids li.messy a { |
---|
66 | -moz-transform: rotate(-5deg); |
---|
67 | margin-left: 160px; |
---|
68 | margin-top: -375px; |
---|
69 | } |
---|
70 | ul.polaroids li a:hover { |
---|
71 | -moz-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.5); |
---|
72 | -moz-transform: scale(1.25); |
---|
73 | position: relative; |
---|
74 | z-index: 5; |
---|
75 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.