Dotclear

Changeset 701:6f231efd5d58 for themes


Ignore:
Timestamp:
08/17/11 09:35:45 (14 years ago)
Author:
kozlika
Branch:
default
Message:

Ductile : sprite post-info, remise en format ul/li des tags (suite)

Location:
themes/ductile
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • themes/ductile/style.css

    r699 r701  
    333333     padding: 0 .66em 0 0; 
    334334     } 
    335 .post-info span + span { 
    336      padding-right: .5em; 
     335.post-date, .post-attr a { 
     336     white-space: nowrap; 
    337337     } 
    338338.post-cat { 
    339339     padding-left: 24px; 
    340      background: transparent no-repeat left center url(img/category.png); 
     340     background: transparent no-repeat -62px center url(img/post-info.png); 
    341341     } 
    342342.permalink a { 
    343343     padding-left: 20px; 
    344      background: transparent no-repeat left center url(img/link.png); 
    345      } 
    346 .post-tags a { 
    347      padding-right: 1em; 
    348      padding-left: 14px; 
    349      background: transparent no-repeat left center url(img/tag.png); 
     344     background: transparent no-repeat left bottom url(img/post-info.png); 
     345     } 
     346.post-tags li:first-child { 
     347     padding-left: 20px; 
     348     background: transparent no-repeat -124px top url(img/post-info.png); 
    350349     } 
    351350.post-tags li { 
    352351     display: inline; 
    353352     } 
     353.post-tags li:after { 
     354     content: ", "; 
     355 } 
     356.post-tags li:last-child:after { 
     357     content:""; 
     358     } 
    354359.post-content { 
    355360     padding-bottom: 9px; 
    356361     } 
    357 .post ul { 
     362.post-content ul, .post-excerpt ul { 
    358363     list-style-type: square; 
    359364     margin-left: 1em; 
     
    10671072     clear:both; 
    10681073     } 
     1074 
     1075 
     1076.post { 
     1077     position: relative; 
     1078     padding-bottom: 1.5em; 
     1079} 
     1080.post-info-co { 
     1081     position: absolute; 
     1082     bottom: 0; 
     1083} 
  • themes/ductile/tpl/_entry-full.html

    r694 r701  
    1818          <tpl:EntryTags> 
    1919               <tpl:TagsHeader> 
    20                     <p class="post-tags"> 
     20                    <ul class="post-tags"> 
    2121               </tpl:TagsHeader> 
    22                          <a href="{{tpl:TagURL}}">{{tpl:TagID}} </a> 
     22                    <li><a href="{{tpl:TagURL}}">{{tpl:TagID}}</a></li>  
    2323               <tpl:TagsFooter> 
    24                     </p> 
     24                    </ul> 
    2525               </tpl:TagsFooter> 
    2626          </tpl:EntryTags> 
  • themes/ductile/tpl/_entry-short.html

    r694 r701  
    1818          <tpl:EntryTags> 
    1919               <tpl:TagsHeader> 
    20                     <p class="post-tags"> 
     20                    <ul class="post-tags"> 
    2121               </tpl:TagsHeader> 
    22                          <a href="{{tpl:TagURL}}">{{tpl:TagID}}</a> 
     22                    <li><a href="{{tpl:TagURL}}">{{tpl:TagID}}</a></li>  
    2323               <tpl:TagsFooter> 
    24                     </p> 
     24                    </ul> 
    2525               </tpl:TagsFooter> 
    2626          </tpl:EntryTags> 
  • themes/ductile/tpl/_simple-entry.html

    r694 r701  
    1616          <tpl:EntryTags> 
    1717               <tpl:TagsHeader> 
    18                     <p class="post-tags"> 
     18                    <ul class="post-tags"> 
    1919               </tpl:TagsHeader> 
    20                          <a href="{{tpl:TagURL}}">{{tpl:TagID}} </a> 
     20                    <li><a href="{{tpl:TagURL}}">{{tpl:TagID}}</a></li>  
    2121               <tpl:TagsFooter> 
    22                     </p> 
     22                    </ul> 
    2323               </tpl:TagsFooter> 
    2424          </tpl:EntryTags> 
Note: See TracChangeset for help on using the changeset viewer.

Sites map