source: trunk/template-common/default-layout.css @ 1136

Last change on this file since 1136 was 1136, checked in by chrisaga, 18 years ago
  • Improve thumbnailCategories display : This new display looks quite good with both themes.

Handle long category description with automatic scrollbars.
Got rid of the hr.separation which mess the display sometimes.

File size: 1.2 KB
Line 
1/* $Id$ */
2
3/* Set the width of the menubar for the galery */
4#menubar {
5  width: 18em;
6}
7#content {
8  margin-left: 20em;    /* = #menubar width + 2em */
9}
10
11/* Set the width of the menubar for the admin section */
12BODY#theAdminPage #menubar {
13  width: 12em;
14}
15BODY#theAdminPage #content {
16  margin-left: 14em;
17}
18
19/* Set some sizes according to your maximum thumbnail width and height */
20#content UL.thumbnails SPAN,
21#content UL.thumbnails SPAN.wrap2 A,
22#content DIV.thumbnailCategory DIV.illustration {
23  width: 140px;                 /* max thumbnail width + 2px */
24}
25#content UL.thumbnails SPAN.wrap2,
26#content DIV.thumbnailCategory DIV.description {
27  height: 140px;                /* max thumbnail height + 2px */
28}
29#content DIV.comment BLOCKQUOTE/*,
30#content DIV.thumbnailCategory DIV.description*/ {
31  margin-left: 150px;           /*maximum thumbnail width + ~10px */
32}
33
34/* Category thumbnails on main page */
35#content UL.thumbnailCategories LI {
36  width: 49.9%; /* 49.9% for 2 per line, 33.3% for 3 per line*/
37}
38
39/* display/hide thumbnails legend */
40#content UL.thumbnails SPAN.thumbLegend {
41  display: block;               /* display: none; if you don't want legend */
42}
43
44/* Override properties with import local file */
45@import "local-layout.css";
Note: See TracBrowser for help on using the repository browser.