6cdc153757
git-svn-id: http://piwigo.org/svn/trunk@1323 68402e56-0260-453c-a942-63ccdbb3a9ee
50 lines
1.3 KiB
CSS
50 lines
1.3 KiB
CSS
/* $Id:$ */
|
|
|
|
/* Set the width of the menubar for the galery */
|
|
#menubar {
|
|
width: 18em;
|
|
}
|
|
#content {
|
|
margin-left: 20em; /* = #menubar width + 2em */
|
|
}
|
|
/* Set minimum width of the page before getting a scrollbar */
|
|
/* IE5 and IE6 don't get that */
|
|
BODY {
|
|
min-width: 60em; /* ~ 3* #menubar width */
|
|
}
|
|
BODY#thePopuphelpPage {
|
|
min-width: 0;
|
|
}
|
|
|
|
/* Set the width of the menubar for the admin section */
|
|
BODY#theAdminPage #menubar {
|
|
width: 12em;
|
|
}
|
|
BODY#theAdminPage #content {
|
|
margin-left: 14em;
|
|
}
|
|
|
|
/* Set some sizes according to your maximum thumbnail width and height */
|
|
#content UL.thumbnails SPAN,
|
|
#content UL.thumbnails SPAN.wrap2 A,
|
|
#content UL.thumbnails SPAN.wrap2 LABEL,
|
|
#content DIV.thumbnailCategory DIV.illustration {
|
|
width: 140px; /* max thumbnail width + 2px */
|
|
}
|
|
#content UL.thumbnails SPAN.wrap2,
|
|
#content DIV.thumbnailCategory DIV.description {
|
|
height: 140px; /* max thumbnail height + 2px */
|
|
}
|
|
#content DIV.comment BLOCKQUOTE {
|
|
margin-left: 150px; /*maximum thumbnail width + ~10px */
|
|
}
|
|
|
|
/* Category thumbnails on main page */
|
|
#content UL.thumbnailCategories LI {
|
|
width: 49.9%; /* 49.9% for 2 per line, 33.3% for 3 per line*/
|
|
}
|
|
|
|
/* display/hide thumbnails legend */
|
|
#content UL.thumbnails SPAN.thumbLegend {
|
|
display: block; /* display: none; if you don't want legend */
|
|
}
|