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