Changeset 734

Show
Ignore:
Timestamp:
02/08/11 16:14:05 (16 months ago)
Author:
mgalloy
Message:

Styling index entries to look a bit nicer.

Location:
trunk/src
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/resources/main.css

    r679 r734  
    112112 
    113113/* index styles */ 
    114 span.index_type { margin-left: 1em; font-size: smaller; } 
    115 dl.index_listing dd { margin-bottom: 0.5em; margin-left: 1em; } 
     114span.index_type { margin-left: 1em; } 
     115dl.index_listing dd { margin-bottom: 0.5em; margin-left: 2em; } 
    116116dl.index_listing dd p { margin-top: 0.2em; margin-bottom: 0em; } 
    117117 
  • trunk/src/templates/index-entries.tt

    r645 r734  
    4343          <dl class="index_listing"> 
    4444          [% FOREACH item IN system->getIndexEntries(letter) %][% SCOPE item %] 
    45             <dt><a href="[% index_url %]">[% index_name %]</a> <span class="index_type">[% index_type %]</span><dt> 
    46             <dd class="small">[% IF has_comments %][% comments_first_line %][% END %]</dd> 
     45            <dt><a href="[% index_url %]">[% index_name %]</a> <span class="index_type smaller">[% index_type %]</span><dt> 
     46            <dd class="smaller">[% IF has_comments %][% comments_first_line %][% END %]</dd> 
    4747          [% END %][% END %] 
    4848          </dl>