Show
Ignore:
Timestamp:
09/18/08 05:53:43 (15 months ago)
Author:
kaminogoya
Message:

modified header style. and changed archive mapping of Entry Archive.

Location:
trunk/iPhoneTemplateSet
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • trunk/iPhoneTemplateSet/mt-static/themes/iphone-ui/screen.css

    r1075 r1099  
    77    -webkit-user-none: select; 
    88    -webkit-text-size-adjust: none; 
     9    word-wrap: break-word; 
    910} 
    1011 
     
    1314    min-height: 45px; 
    1415    margin: 0 -10px; 
    15     padding: 10px; 
    1616    border-top: 1px solid #cdd5df; 
    1717    border-bottom: 1px solid #2e3744; 
     
    2222#header h1,  
    2323#header p {  
    24     position: absolute; 
    25     top: 0; 
    26     left: 50%; 
    27     width: 49%; 
    28     margin: 2px 0 0 -24%; 
    29     padding: 5px 0; 
     24    width: 70%; 
     25    margin: 7px auto 0; 
     26    padding: 0; 
     27    height: 30px; 
    3028    line-height: 30px; 
    3129    overflow: hidden; 
     
    8987.entry {  
    9088    margin: 0 -10px; 
    91     padding: 10px; 
     89    padding: 10px 10px 20px; 
    9290    border-bottom: 1px solid #b4b4b4; 
    9391    background-color: white; 
     
    10199} 
    102100 
     101.entry > p, 
     102.entry > div { 
     103    margin: 0 0 1em; 
     104    line-height: 1.4; 
     105    color: black; 
     106    font-size: 14px; 
     107} 
     108 
    103109h1, h2, h3, h4, h5, h6 {  
    104     margin: 0.5em 0; 
     110    margin: 0.5em 0 0.8em; 
    105111    color: #4c566c; 
    106112    font-size: 18px; 
     
    193199} 
    194200 
    195 .entry > p, 
    196 .entry > div { 
    197     margin: 0 0 1em; 
    198     line-height: 1.3; 
    199     color: black; 
    200     font-size: 14px; 
    201     text-shadow: white 0 1px 0; 
    202 } 
    203  
    204201/* footer */ 
    205202#footer {  
     
    207204} 
    208205 
     206#footer p {  
     207    font-size: 13px; 
     208    text-shadow: white 0 1px 0; 
     209} 
     210 
  • trunk/iPhoneTemplateSet/plugins/iPhoneTemplateSet/config.yaml

    r1075 r1099  
    66author_link: http://2xup.org/ 
    77plugin_link: http://2xup.org/lab/mtplugins/templatesets/iphonetemplateset 
    8 version: 0.8 
     8version: 1.0 
    99 
    1010template_sets: 
     
    3030            entry_archive: 
    3131              archive_type: Individual 
    32               file_template: m/%f 
     32              file_template: m/%y/%m/%-f 
    3333              preferred: 0 
    3434 
  • trunk/iPhoneTemplateSet/plugins/iPhoneTemplateSet/templates/entry.mtml

    r1075 r1099  
    1515            <a rel="home" href="<$mt:BlogURL$>m/" class="navigation">Home</a> 
    1616        <mt:If name="prev_entry"> 
    17             <mt:EntryPrevious><a rel="prev" href="<$mt:BlogURL$>m/<$mt:EntryBasename$>.html" class="navigation">Prev</a></mt:EntryPrevious> 
     17            <mt:EntryPrevious><a rel="prev" href="<$mt:BlogArchiveURL$>m/<$mt:EntryDate format="%Y/%m/"$><$mt:ArchiveFile$>" class="navigation">Prev</a></mt:EntryPrevious> 
    1818        <mt:Else> 
    1919            <span rel="prev" class="navigation prev disable">Prev</span> 
    2020        </mt:If> 
    2121        <mt:If name="next_entry"> 
    22             <mt:EntryNext><a rel="next" href="<$mt:BlogURL$>m/<$mt:EntryBasename$>.html" class="navigation">Next</a></mt:EntryNext> 
     22            <mt:EntryNext><a rel="next" href="<$mt:BlogArchiveURL$>m/<$mt:EntryDate format="%Y/%m/"$><$mt:ArchiveFile$>" class="navigation">Next</a></mt:EntryNext> 
    2323        <mt:Else> 
    2424            <span rel="next" class="navigation next disable">Next</span> 
    2525        </mt:If> 
    2626        </div> 
    27      
    2827        <div id="content" class="entry"> 
    2928            <h1><$mt:EntryTitle$></h1> 
     
    3130            <$mt:EntryMore$> 
    3231        </div> 
    33      
    3432        <div id="footer"> 
    3533            <p>Powered by <a href="http://www.movabletype.com/" rel="generator"><$MTProductName$></a></p> 
  • trunk/iPhoneTemplateSet/plugins/iPhoneTemplateSet/templates/index.mtml

    r1075 r1099  
    1212            <h1><$mt:BlogName$></h1> 
    1313        </div> 
    14      
    1514        <div id="content"> 
    1615        <mt:Entries> 
     16        <mt:SetVarBlock name="MobileEntryPermalink"><$mt:BlogArchiveURL$>m/<$mt:EntryDate format="%Y/%m/"$><$mt:ArchiveFile$></mt:SetVarBlock> 
    1717        <mt:EntriesHeader> 
    1818            <ul class="index"> 
    1919        </mt:EntriesHeader> 
    20                 <li><a href="<$mt:BlogURL$>m/<$mt:EntryBasename$>.html"><$mt:EntryTitle$></a><abbr class="published" title="<$mt:EntryDate format_name="iso8601"$>"><$mt:EntryDate format="%x %X"$></abbr></li> 
     20                <li><a href="<$mt:Var name="MobileEntryPermalink"$>"><$mt:EntryTitle$></a><abbr class="published" title="<$mt:EntryDate format_name="iso8601"$>"><$mt:EntryDate format="%x %X"$></abbr></li> 
    2121        <mt:EntriesFooter> 
    2222            </ul> 
     
    2424        </mt:Entries> 
    2525        </div> 
    26      
    2726        <div id="footer"> 
    28             <p>Powered by <a href="http://www.movabletype.com/" rel="generator"><$MTProductName$></a></p> 
     27            <p>Powered by <a href="http://www.movabletype.com/" rel="generator"><$mt:ProductName$></a></p> 
    2928        <mt:BlogIfCCLicense> 
    3029            <p>This blog is licensed under a <a href="<$mt:BlogCCLicenseURL$>">Creative Commons License</a>.</p>