source: trunk/template/yoga/thumbnails.css @ 2967

Last change on this file since 2967 was 2741, checked in by rvelices, 16 years ago
  • merge r2740 from branch 2.0 to trunk
  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 1.1 KB
Line 
1/* $Id: thumbnails.css 2741 2008-10-15 00:30:28Z rvelices $ */
2
3/* Thumbnails customization */
4.content UL.thumbnails SPAN.thumbLegend {
5        font-size: 90%;
6        overflow: hidden;/* oversized legend is clipped */
7}
8
9/* Thumbnail "elastic" layout */
10.content UL.thumbnails {
11        margin: 0;
12        padding: 0;
13        list-style: none;
14        text-align: center;     /* to center the whole collection in .content */
15}
16.content UL.thumbnails LI { display: inline }
17
18.content UL.thumbnails SPAN.wrap1 {
19        margin: 0 5px 5px 5px;
20        display: table-cell; display: inline-table;
21        display: inline-block;/* Why 3 display option ??? */
22        vertical-align: top;    /* OK with Opera and IE6 not Geko */
23        text-align: center;             /* to center the thumbnail and legend in Geko/Opera */
24}
25.content UL.thumbnails SPAN.wrap2 {
26        margin: 0;                      /* important reset the margins */
27        display: table-cell;/* block prevents vertical-align here */
28        vertical-align: middle;/* Ok with Opera and Geko not IE6 */
29}
30.content UL.thumbnails SPAN.wrap2 A,
31.content UL.thumbnails LABEL {
32        display: block;
33        border-bottom: none;
34}
35.content UL.thumbnails IMG {
36        margin-bottom: -4px;  /* why ??? something wrong with Geko and Opera ignored by IE6*/
37}
Note: See TracBrowser for help on using the repository browser.