source: branches/1.6/template/yoga/thumbnails.css @ 16715

Last change on this file since 16715 was 1387, checked in by chrisaga, 18 years ago
  • Property svn:keywords set to Author Date Id Revision
File size: 1.3 KB
Line 
1/* $Id: thumbnails.css 1387 2006-06-24 09:20:43Z chrisaga $ */
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; display: inline-block;
21  vertical-align: top;          /* OK with Opera and IE6 not Geko */
22  text-align: center;           /* to center the thumbnail and legend in Geko/Opera */
23}
24#content UL.thumbnails SPAN.wrap2 {
25  margin: 0;                    /* important reset the margins */
26  display: table-cell;          /* block prevents vertical-align here */
27  vertical-align: middle;       /* Ok with Opera and Geko not IE6 */
28}
29#content UL.thumbnails SPAN.wrap2 A,
30#content UL.thumbnails SPAN.wrap2 LABEL {
31  display: block;
32  border-bottom: none;
33}
34#content UL.thumbnails IMG {
35  margin-bottom: -4px;  /* why ??? something wrong with Geko and Opera ignored by IE6*/
36}
37
38/* label and input used for caddie in admin section */
39#content UL.thumbnails SPAN.wrap2 LABEL {
40  position: relative;
41}
42:root #content UL.thumbnails SPAN.wrap2 INPUT { /* hide from Opera */
43  position: absolute;
44  left: 0;
45  top: 0;
46}
47 
Note: See TracBrowser for help on using the repository browser.