source: extensions/flop_style/mainpage_categories/polaroid.css @ 9818

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;}
6ul.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}
16ul.polaroids li {
17    display: inline;
18}
19ul.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}
34ul.polaroids img {
35    display: block;
36    margin-bottom: 12px;
37    width: 190px;
38}
39ul.polaroids a:after {
40    content: attr(title);
41}
42ul.polaroids li:nth-child(2n) a {
43    -moz-transform: rotate(2deg);
44}
45ul.polaroids li:nth-child(3n) a {
46    -moz-transform: none;
47    position: relative;
48    top: -5px;
49}
50ul.polaroids li:nth-child(5n) a {
51    -moz-transform: rotate(5deg);
52    position: relative;
53    right: 5px;
54}
55ul.polaroids li:nth-child(8n) a {
56    position: relative;
57    right: 5px;
58    top: 8px;
59}
60ul.polaroids li:nth-child(11n) a {
61    left: -5px;
62    position: relative;
63    top: 3px;
64}
65ul.polaroids li.messy a {
66    -moz-transform: rotate(-5deg);
67    margin-left: 160px;
68    margin-top: -375px;
69}
70ul.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.