]> git.mjollnir.org Git - s9y.git/commitdiff
fixes to make the template validate through w3c validator, see also: http://www.s9y...
authorzorankovacevic <zorankovacevic>
Thu, 24 Nov 2005 20:13:45 +0000 (20:13 +0000)
committerzorankovacevic <zorankovacevic>
Thu, 24 Nov 2005 20:13:45 +0000 (20:13 +0000)
templates/kubrick/comments.tpl
templates/kubrick/entries.tpl
templates/kubrick/style.css
templates/kubrick/trackbacks.tpl

index b82bc5f640812ae293d730146c0e8d96c26521a3..97375e5c045ec2b4f2c3f8adab7b459f68857d33 100644 (file)
@@ -6,7 +6,7 @@
             {else}
                 {$comment.author|@default:$CONST.ANONYMOUS}
             {/if}</cite> {$CONST.SAYS}:<br />
-        <small class="commentmetadata">
+        <div class="commentmetadata">
             <a href="#c{$comment.id}" title="{$CONST.LINK_TO_COMMENT|sprintf:$comment.trace}">#{$comment.trace}</a>
             {$comment.timestamp|@formatTime:$CONST.DATE_FORMAT_SHORT}
             {if $entry.is_entry_owner}
@@ -15,7 +15,7 @@
             {if $entry.allow_comments}
                 (<a href="#serendipity_CommentForm" onclick="document.getElementById('serendipity_replyTo').value='{$comment.id}';">{$CONST.REPLY}</a>)
             {/if}
-        </small>
+        </div>
         <p>{$comment.body}</p>
     </li>
 {foreachelse}
index f6bd84d162653c655b1366450cc63089dab8ee8e..32239e6ffbaf44b9155c075dcfadf4091552824c 100644 (file)
@@ -5,7 +5,7 @@
         {foreach from=$dategroup.entries item="entry"}
         <div class="post">
             <h2 id="post-{$entry.id}"><a href="{$entry.link}">{$entry.title}</a></h2>
-            {if !$is_single_entry}<small>{$entry.timestamp|@formatTime:DATE_FORMAT_ENTRY}</small>{/if}
+            {if !$is_single_entry}<div class="small">{$entry.timestamp|@formatTime:DATE_FORMAT_ENTRY}</div>{/if}
 
             {if $entry.categories}
             <span class="categoryIcon">
@@ -29,8 +29,7 @@
                 <br /><a href="{$entry.link}#extended">{$CONST.VIEW_EXTENDED_ENTRY|@sprintf:$entry.title}</a><br /><br />
                 {/if}
 
-            <p class="postmetadata{if $is_single_entry} graybox{/if}">
-                <small>
+            <div class="postmetadata{if $is_single_entry} graybox{/if}">
                 {if $is_single_entry}
 
                                {$CONST.ENTRY_POSTED_BY} <a href="{$entry.link_author}">{$entry.author}</a> {$CONST.ON} {$entry.timestamp|@formatTime:DATE_FORMAT_ENTRY} {$CONST.AT} {$entry.timestamp|@formatTime:"%H:%M"}.
@@ -79,8 +78,7 @@
                 {/if}
                 {/if}
                 {$entry.add_footer}
-                </small>
-            </p>
+               </div>
             </div>
         </div>
         <!--
index 6632673703b5016c419c369fc65c66f6e2e03297..a1bbb77a7496c0761b42edea4c40ebe62862fcf8 100644 (file)
@@ -67,10 +67,6 @@ img.categoryIcon {
     line-height: 1.6em;
     }
     
-.narrowcolumn .postmetadata {
-    text-align: center;
-    }
-
 .graybox {
     background-color: #f8f8f8;
     border-top: 1px solid #ddd;
@@ -82,12 +78,6 @@ img.categoryIcon {
     background: url("{TEMPLATE_PATH}/images/kubrickfooter.jpg") no-repeat bottom; border: none;
     }
 
-small {
-    font-family: Arial, Helvetica, Sans-Serif;
-    font-size: 0.9em;
-    line-height: 1.5em;
-    }
-
 h1, h2, h3 {
     font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
     font-weight: bold;
@@ -170,7 +160,7 @@ h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar
     vertical-align: top;
     }
 
-small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {
+.small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {
     color: #777;
     }
     
@@ -266,6 +256,9 @@ body {
 
 .narrowcolumn .postmetadata {
     padding-top: 5px;
+    font-family: Arial, Helvetica, Sans-Serif;
+    font-size: 0.9em;
+    line-height: 1.5em;
     }
 
 .widecolumn .postmetadata {
index 065ce11cf3422ce4c47a8510d0cb9b95f0b4d53f..1585111d46a4a2c9420532fe7dc7eac1af4259e8 100644 (file)
@@ -2,13 +2,13 @@
     <li class="{if $smarty.foreach.comments.iteration is odd}graybox{/if}">
         <cite><a href="{$trackback.url|@strip_tags}" {'blank'|@xhtml_target}>{$trackback.title}</a></cite>
         <p>{$trackback.body|@strip_tags|@escape:all}</p>
-        <small class="commentmetadata">
+        <div class="commentmetadata">
             <b>Weblog:</b> {$trackback.author|@default:$CONST.ANONYMOUS}<br />
             <b>{$CONST.TRACKED}:</b> {$trackback.timestamp|@formatTime:'%b %d, %H:%M'}
         {if $entry.is_entry_owner}
             (<a href="{$serendipityBaseURL}comment.php?serendipity[delete]={$trackback.id}&amp;serendipity[entry]={$trackback.entry_id}&amp;serendipity[type]=trackbacks">{$CONST.DELETE}</a>)
         {/if}
-        </small>
+        </div>
     </li>
 {foreachelse}
     <p class="nocomments">{$CONST.NO_TRACKBACKS}</p>