source: trunk/themes/default/thumbnails.css @ 5123

Last change on this file since 5123 was 5123, checked in by plg, 14 years ago

feature 1502: based on Dotclear model, P@t has reorganized the way Piwigo
manages template/theme in a simpler "theme only level" architecture. It
supports multiple level inheritance.

  • Property svn:eol-style set to LF
File size: 1.1 KB
Line 
1
2/* Thumbnails customization */
3.content UL.thumbnails SPAN.thumbLegend {
4        font-size: 90%;
5        overflow: hidden;/* oversized legend is clipped */
6}
7
8/* Thumbnail "elastic" layout */
9.content UL.thumbnails {
10        margin: 0;
11        padding: 0;
12        list-style: none;
13        text-align: center;     /* to center the whole collection in .content */
14}
15.content UL.thumbnails LI { display: inline }
16
17.content UL.thumbnails SPAN.wrap1 {
18        margin: 0 5px 5px 5px;
19        display: table-cell; display: inline-table;
20        display: inline-block;/* Why 3 display option ??? */
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 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}
Note: See TracBrowser for help on using the repository browser.