Changeset 9821 for extensions/flop_style/mainpage_categories/polaroid.css
- Timestamp:
- Mar 22, 2011, 3:30:57 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/flop_style/mainpage_categories/polaroid.css
r9818 r9821 2 2 .content { 3 3 display:block; 4 position: relative; 5 z-index: 1;} 4 position: relative; 5 z-index: 1; 6 } 6 7 ul.polaroids { 7 8 list-style: none; … … 15 16 } 16 17 ul.polaroids li { 17 18 display: inline; 18 19 } 19 20 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; 21 -moz-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25); 22 -moz-transform: rotate(-2deg); 23 -webkit-transition: -webkit-transform .15s linear; 24 -webkit-box-shadow: 0 3px 6px rgba(0,0,0,.25); 25 -webkit-transform: rotate(-2deg); 26 -o-transition: -webkit-transform .15s linear; 27 -o-box-shadow: 0 3px 6px rgba(0,0,0,.25); 28 -o-transform:rotate(-2deg); 29 box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25); 30 text-shadow: 0 1px 1px #CCC; 31 background: none repeat scroll 0 0 #FFFFFF; 32 color: #333333; 33 display: inline; 34 float: left; 35 font-family: "Marker Felt", sans-serif; 36 font-size: 18px; 37 margin: 0 0 27px 30px; 38 padding: 10px 10px 15px; 39 text-align: center; 40 text-decoration: none; 41 width: auto; 42 border:none; 33 43 } 34 44 ul.polaroids img { 35 36 37 45 display: block; 46 margin-bottom: 12px; 47 width: 190px; 38 48 } 39 49 ul.polaroids a:after { 40 50 content: attr(title); 41 51 } 42 52 ul.polaroids li:nth-child(2n) a { 43 -moz-transform: rotate(2deg); 53 -moz-transform: rotate(2deg); 54 -webkit-transform: rotate(2deg); 55 -o-transform:rotate(2deg); 44 56 } 45 57 ul.polaroids li:nth-child(3n) a { 46 -moz-transform: none; 47 position: relative; 48 top: -5px; 58 -moz-transform: none; 59 -webkit-transform: none; 60 -o-transform:none; 61 position: relative; 62 top: -5px; 49 63 } 50 64 ul.polaroids li:nth-child(5n) a { 51 -moz-transform: rotate(5deg); 52 position: relative; 53 right: 5px; 65 -moz-transform: rotate(5deg); 66 -webkit-transform: rotate(5deg); 67 -o-transform: rotate(5deg); 68 position: relative; 69 right: 5px; 54 70 } 55 71 ul.polaroids li:nth-child(8n) a { 56 57 58 72 position: relative; 73 right: 5px; 74 top: 8px; 59 75 } 60 76 ul.polaroids li:nth-child(11n) a { 61 62 63 77 left: -5px; 78 position: relative; 79 top: 3px; 64 80 } 65 81 ul.polaroids li.messy a { 66 -moz-transform: rotate(-5deg); 67 margin-left: 160px; 68 margin-top: -375px; 82 -moz-transform: rotate(-5deg); 83 -webkit-transform: rotate(-5deg); 84 -o-transform: rotate(-5deg); 85 margin-left: 160px; 86 margin-top: -375px; 69 87 } 70 88 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; 89 -moz-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.5); 90 -webkit-box-shadow: 0 3px 6px rgba(0,0,0,.5); 91 -moz-transform: scale(1.25); 92 -webkit-transform: scale(1.25); 93 -o-transform: scale(1.25); 94 position: relative; 95 z-index: 5; 96 border:none; 75 97 }
Note: See TracChangeset
for help on using the changeset viewer.