Dotclear

Changeset 470:6fc5429874d6 for themes


Ignore:
Timestamp:
07/01/11 18:51:25 (14 years ago)
Author:
kozlika
Branch:
themes
Message:

[Ductile] Archive page, first step (something like multiple sitemaps)

Location:
themes/ductile
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • themes/ductile/mediaqueries.css

    r446 r470  
    118118          right: 0; 
    119119          padding-right: 3%; 
    120           font-size: .875em; 
     120          font-size: .75em; 
    121121          } 
    122122     #stickers li { 
     
    137137          } 
    138138     #stickers a:hover, #stickers a:focus { 
    139           color: #000; 
     139          color: #666; 
    140140          background: #fff; 
    141141          } 
  • themes/ductile/style.css

    r446 r470  
    193193 
    194194/* ------------------------------------------------------- pagination, navlinks */ 
    195 #navlinks,  
     195.navlinks,  
    196196.pagination { 
    197197     margin: 2em 0 1em 0; 
     
    214214     border-bottom: 1px solid #ccc; 
    215215     } 
    216 #navlinks { 
     216.navlinks { 
    217217     margin-top: 4em; 
    218218     } 
    219 #navlinks a,  
     219.navlinks a,  
    220220.pagination a { 
    221221     padding: 0 1em; 
     
    244244.post h3,  
    245245.post h4,  
    246 .post h5 
     246.post h5, 
    247247.post h6 { 
    248248     font-variant: small-caps; 
     
    706706.dc-post { } 
    707707.dc-category { } 
    708 .dc-archive { } 
     708 
     709.dc-archive #content { 
     710     margin-left: 0; 
     711     } 
     712.arch-block { 
     713     float: left; 
     714     display: inline; 
     715     margin-right: 4em; 
     716     margin-bottom: 3em; 
     717     } 
     718.arch-block h3, .dc-archive #blogextra h2 { 
     719     font-size: 1.2em; 
     720     font-style: italic; 
     721     font-weight: normal; 
     722     margin-bottom: 2em; 
     723     } 
     724.arch-block ul { 
     725     list-style-type: none; 
     726     margin: 0; 
     727     padding: 0; 
     728     } 
     729 
    709730.dc-archive-month h2.post-title { 
    710731     font-size: 1.3em; 
    711732     } 
    712 .dc-archive { } 
     733 
    713734.dc-tags { } 
    714735.dc-tag { } 
  • themes/ductile/tpl/archive_month.html

    r442 r470  
    4646  <div id="content"> 
    4747   
    48   <p id="navlinks"> 
    49   <tpl:ArchivePrevious><a href="{{tpl:ArchiveURL}}" class="prev">&#171; {{tpl:ArchiveDate encode_html="1"}}</a> 
    50   - </tpl:ArchivePrevious> 
    51   <a href="{{tpl:BlogArchiveURL}}">{{tpl:lang Archives}}</a> 
    52   <tpl:ArchiveNext> - <a href="{{tpl:ArchiveURL}}" class="next">{{tpl:ArchiveDate encode_html="1"}} &#187;</a></tpl:ArchiveNext> 
    53   </p> 
     48       <p class="navlinks"> 
     49            <tpl:ArchivePrevious><a href="{{tpl:ArchiveURL}}" class="prev">&#171; {{tpl:ArchiveDate encode_html="1"}}</a> - </tpl:ArchivePrevious> 
     50            {{tpl:ArchiveDate}} 
     51            <tpl:ArchiveNext> - <a href="{{tpl:ArchiveURL}}" class="next">{{tpl:ArchiveDate encode_html="1"}} &#187;</a></tpl:ArchiveNext> 
     52       </p> 
    5453   
    55   <div id="content-info"> 
    56     <h2>{{tpl:ArchiveDate}}</h2> 
    57   </div> 
     54       <div id="content-info"> 
     55         <h2>{{tpl:ArchiveDate}} <span>({{tpl:ArchiveEntriesCount}})</span></h2> 
     56       </div> 
    5857   
    59   <div class="content-inner"> 
    60   <tpl:Entries no_content="1"> 
    61       
    62           {{tpl:include src="_entry-title.html"}} 
     58       <div class="content-inner"> 
     59          <tpl:Entries no_content="1"> 
     60                    {{tpl:include src="_entry-title.html"}} 
     61            </tpl:Entries> 
     62       </div> 
    6363 
    64   </tpl:Entries> 
    65   </div> 
     64       <p class="navlinks"> 
     65            <tpl:ArchivePrevious><a href="{{tpl:ArchiveURL}}" class="prev">&#171; {{tpl:ArchiveDate encode_html="1"}}</a> - </tpl:ArchivePrevious> 
     66            {{tpl:ArchiveDate}} 
     67            <tpl:ArchiveNext> - <a href="{{tpl:ArchiveURL}}" class="next">{{tpl:ArchiveDate encode_html="1"}} &#187;</a></tpl:ArchiveNext> 
     68       </p> 
     69   
    6670  </div> 
    6771</div> <!-- End #main --> 
  • themes/ductile/tpl/home.html

    r459 r470  
    6161  <tpl:Entries> 
    6262 
     63          <!-- First page --> 
    6364          <tpl:SysIf current_mode="default"> 
    6465               <tpl:LoopPosition start="1" length="1"> 
     
    7172     </tpl:SysIf> 
    7273      
     74          <!-- Next pages --> 
    7375          <tpl:SysIf current_mode="!default"> 
    7476          {{tpl:include src="_entry-short.html"}} 
    7577     </tpl:SysIf>    
    7678     
     79          <!-- Pagination --> 
    7780    <tpl:EntriesFooter> 
    7881               {{tpl:include src="_pagination.html"}} 
Note: See TracChangeset for help on using the changeset viewer.

Sites map