| 1 |
div.document-icon{ text-align: center; } |
| 2 |
|
| 3 |
div.document-icon img{ |
| 4 |
max-width: 89px; |
| 5 |
max-height: 89px; |
| 6 |
border: none; |
| 7 |
} |
| 8 |
|
| 9 |
div.document-icon a{ |
| 10 |
font-size: 10px; |
| 11 |
line-height: 12px; |
| 12 |
} |
| 13 |
|
| 14 |
div.document-icon{ margin: 5px 0 0; } |
| 15 |
|
| 16 |
/* WITHOUT DESCRIPTION */ |
| 17 |
div.document-icon{ |
| 18 |
display: inline-block; |
| 19 |
vertical-align: top; |
| 20 |
overflow: hidden; |
| 21 |
/* percents round up in some browsers, making |
| 22 |
only 3 icons fit per line so can't use 25% */ |
| 23 |
width: 24.5%; |
| 24 |
} |
| 25 |
div.document-icon-wrapper{ |
| 26 |
width: 100%; |
| 27 |
padding: 0; |
| 28 |
text-align: center; |
| 29 |
} |
| 30 |
/* END WITHOUT DESCRIPTION */ |
| 31 |
|
| 32 |
/* WITH DESCRIPTION */ |
| 33 |
div.descriptions.document-icon-wrapper div.document-icon{ |
| 34 |
max-width: 115px; |
| 35 |
padding: 0; |
| 36 |
padding-right: 3px; |
| 37 |
float: left; |
| 38 |
} |
| 39 |
|
| 40 |
div.descriptions.document-icon-wrapper{ |
| 41 |
vertical-align: middle; |
| 42 |
text-align: inherit; |
| 43 |
} |
| 44 |
|
| 45 |
div.descriptions.document-icon-wrapper img{ |
| 46 |
max-width: 65px; |
| 47 |
max-height: 65px; |
| 48 |
} |
| 49 |
|
| 50 |
/* clearfix */ |
| 51 |
/* can't depend on theme having a clearfix class, |
| 52 |
so build it into dg css */ |
| 53 |
div.descriptions.document-icon-wrapper:before, |
| 54 |
div.descriptions.document-icon-wrapper:after{ |
| 55 |
content: ""; |
| 56 |
display: table; |
| 57 |
} |
| 58 |
|
| 59 |
div.descriptions.document-icon-wrapper:after{ |
| 60 |
clear: both; |
| 61 |
} |
| 62 |
div.descriptions.document-icon-wrapper{ |
| 63 |
zoom: 1; /* For IE 6/7 (trigger hasLayout) */ |
| 64 |
} |
| 65 |
/* END WITH DESCRIPTION */ |
| 66 |
|