Ignore:
Timestamp:
Dec 3, 2005, 6:33:38 PM (18 years ago)
Author:
chrisaga
Message:

improve template : split theme from template itself

rest of the job : template (yoga), themes (clear dark), and php to handle them

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/template/yoga/content.css

    r952 r960  
    11/* $Id$ */
    22#content {
    3     margin-left: 24em;
    43    margin-right: 1em;
    54    margin-bottom: 1em; /* when it's longer than menu bar */
    6 }
    7 BODY#theAdminPage #content {
    8     margin-left: 14em;
    95}
    106
     
    2218}
    2319
    24 #content H2 {
     20#content H2, H3 {
    2521    margin-bottom: 1ex;
    2622}
    2723
    2824#content H3 {
    29     margin-bottom: 1ex;
     25    text-align: center;
    3026}
    3127
    3228/* Thumbnails customization */
    33 #content UL.thumbnails SPAN, #content UL.thumbnails SPAN.wrap2 A {
    34   width: 140px;                 /* max thumbnail width + 2px */
    35 }
    36 #content UL.thumbnails SPAN.wrap2 {
    37   height: 140px;                /* max thumbnail height + 2px */
    38 }
    39 #content UL.thumbnails SPAN.wrap2 {
    40   border: 1px solid #aaaaaa;    /* thumbnails border color and style */
    41   -moz-border-radius: 4px;      /* round corners with Geko */
    42   border-radius: 4px 4px;       /* round corners with CSS3 compliant browsers */
    43 }
    44 #content UL.thumbnails SPAN.wrap2:hover {
    45   border-color: yellow;         /* thumbnails border color when mouse cursor is over it */
    46 }
    4729#content UL.thumbnails SPAN.thumbLegend {
    4830  font-size: 80%;               /* font size */
    4931  height: 3em;                  /* max legend height (don't set auto to be Geko friendly)*/
    50   display: block;               /* display: none; if you don't want legend */
    5132  overflow: hidden;             /* oversized legend is clipped */
    5233}
     
    180161
    181162#content DIV.comment BLOCKQUOTE {
    182   margin: 1em 0.5em 0.5em 150px; /* margin-left corresponds to maximum thumbnail width + ~10px */
     163  margin-top: 1em;
     164  margin-right: 0.5em;
     165  margin-bottom: 150px;
    183166  padding: 0.5em;
    184167}
Note: See TracChangeset for help on using the changeset viewer.