source: branches/2.0/template/yoga/thumbnails.css @ 2703

Last change on this file since 2703 was 2593, checked in by rvelices, 16 years ago
  • removed 3 unused rules from thumbnails.css
  • changed default font-family to Arial,Helvetica,sans-serif because it is widely used, available on most platforms with a very good utf-8 coverage while Univers, Helvetica, Optima, "Bitstream Vera Sans" were not even all sans serif
  • 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 2593 2008-09-26 01:21:37Z rvelices $ */
2
3/* Thumbnails customization */
4.content UL.thumbnails SPAN.thumbLegend {
5        font-size: 80%;  /* font size */
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.