Rev | Line | |
---|
[9831] | 1 | /* from http://buildinternet.com/project/mosaic thx ! */ |
---|
| 2 | |
---|
| 3 | #mosaic-content { |
---|
| 4 | margin: 10px auto; |
---|
| 5 | padding: 10px; |
---|
| 6 | text-align: center; |
---|
| 7 | } |
---|
| 8 | .mosaic-block { |
---|
| 9 | position:relative; |
---|
| 10 | overflow:hidden; |
---|
| 11 | margin:10px; |
---|
| 12 | background:#111 url(progress.gif) no-repeat center center; |
---|
| 13 | border:1px solid #fff; |
---|
| 14 | -webkit-box-shadow:0 1px 3px rgba(0,0,0,0.5); |
---|
| 15 | text-align:left; |
---|
| 16 | display:inline-block; |
---|
| 17 | } |
---|
| 18 | .mosaic-backdrop { |
---|
| 19 | display:none; |
---|
| 20 | position:absolute; |
---|
| 21 | top:0; |
---|
| 22 | height:100%; |
---|
| 23 | width:100%; |
---|
| 24 | background:#111; |
---|
| 25 | } |
---|
| 26 | .mosaic-overlay { |
---|
| 27 | display:none; |
---|
| 28 | z-index:5; |
---|
| 29 | position:absolute; |
---|
| 30 | width:100%; |
---|
| 31 | height:100%; |
---|
| 32 | background:#111; |
---|
| 33 | bottom:-50px; |
---|
| 34 | height:100px; |
---|
| 35 | opacity:0.8; |
---|
| 36 | -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)"; |
---|
| 37 | filter:alpha(opacity=80); |
---|
| 38 | } |
---|
| 39 | .mosaic-block .clearfix { |
---|
| 40 | display: block; |
---|
| 41 | height: 0; |
---|
| 42 | clear: both; |
---|
| 43 | visibility: hidden; |
---|
| 44 | } |
---|
| 45 | .mosaic-block .details { |
---|
| 46 | margin:15px 20px; |
---|
| 47 | } |
---|
| 48 | .mosaic-block h4 { |
---|
| 49 | font:300 16px 'Helvetica Neue', Helvetica, Arial, sans-serif; |
---|
| 50 | line-height:160%; |
---|
| 51 | letter-spacing:0.15em; |
---|
| 52 | color:#fff; |
---|
| 53 | text-shadow:1px 1px 0 rgb(0,0,0); |
---|
| 54 | } |
---|
| 55 | .mosaic-block p { |
---|
| 56 | font:300 12px 'Lucida Grande', Tahoma, Verdana, sans-serif; |
---|
| 57 | color:#aaa; |
---|
| 58 | text-shadow:1px 1px 0 rgb(0,0,0); |
---|
| 59 | } |
---|
| 60 | .mosaic-block a { |
---|
| 61 | text-decoration:none; |
---|
| 62 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.