Changeset 2352 for trunk/template-common


Ignore:
Timestamp:
May 20, 2008, 2:27:26 AM (16 years ago)
Author:
patdenice
Message:

Change all #content by .content in css files.
In tpl files, id="content" stay here for backward compatibilities.
Add some plugins triggers in index.tpl and picture.tpl.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/template-common/default-layout.css

    r2243 r2352  
    55  width: 18em;
    66}
    7 #content {
     7.content {
    88  margin-left: 20em;  /* = #menubar width + 2em */
    99}
     
    2121  width: 12.5em;
    2222}
    23 BODY#theAdminPage #content {
     23BODY#theAdminPage .content {
    2424  margin-left: 14.5em;  /* = #menubar width + 2em */
    2525}
    2626
    2727/* Set some sizes according to your maximum thumbnail width and height */
    28 #content UL.thumbnails SPAN,
    29 #content UL.thumbnails SPAN.wrap2 A,
    30 #content UL.thumbnails LABEL,
    31 #content DIV.thumbnailCategory DIV.illustration {
     28.content UL.thumbnails SPAN,
     29.content UL.thumbnails SPAN.wrap2 A,
     30.content UL.thumbnails LABEL,
     31.content DIV.thumbnailCategory DIV.illustration {
    3232  width: 140px;      /* max thumbnail width + 2px */
    3333}
    34 #content UL.thumbnails SPAN.wrap2,
    35 #content DIV.thumbnailCategory DIV.description {
     34.content UL.thumbnails SPAN.wrap2,
     35.content DIV.thumbnailCategory DIV.description {
    3636  height: 140px;    /* max thumbnail height + 2px */
    3737}
    38 #content DIV.comment BLOCKQUOTE {
     38.content DIV.comment BLOCKQUOTE {
    3939  margin-left: 150px;    /*maximum thumbnail width + ~10px */
    4040}
    4141
    4242/* Category thumbnails on main page */
    43 #content UL.thumbnailCategories LI {
     43.content UL.thumbnailCategories LI {
    4444  width: 49.7%;    /* 49.7% for 2 per line, 33.2% for 3 per line*/
    4545}
    4646
    4747/* Set defaults for thumbnails legend */
    48 #content UL.thumbnails SPAN.thumbLegend {
     48.content UL.thumbnails SPAN.thumbLegend {
    4949  display: block;  /* display: none; if you don't want legend */
    5050  height: 4em;    /* legend height (don't set auto to be Gecko friendly)*/
Note: See TracChangeset for help on using the changeset viewer.