]> git.quilime.com - plog.git/commitdiff
A different intex style.
authorGabriel Dunne <gdunne@quilime.com>
Mon, 30 Sep 2013 23:22:10 +0000 (16:22 -0700)
committerGabriel Dunne <gdunne@quilime.com>
Mon, 30 Sep 2013 23:22:10 +0000 (16:22 -0700)
css/style.css
templates/projects.html.tpl

index f091882afccfdc06eec359a73b4c85028171cbef..2b4121d9829a6f0f387eddbf8ab7ab44b01d419b 100644 (file)
@@ -233,6 +233,15 @@ margin-bottom:0.2em;
   width:200px;
   margin:0 2em 2em 0;
 }
+.entries.projects.index li {
+  float:left;
+  height:250px;
+  width:200px;
+  margin:0 2em 2em 0;  
+}
+.entries.projects.index li .tags {
+  display:none !important;
+}
 .entries.projects li .thumb {
   max-width:200px;
   max-height:200px;
index 115a3bfac5e8b8fc045720c91608850d0349b1d3..d916c45741af0aeedb4aa38a1ca6f20198b67a3d 100644 (file)
@@ -34,9 +34,9 @@
     <br />
     </div>
  -->
-    <ul class="entries projects">    
+    <ul class="entries projects <? if ($entry->basename == 'projects') : ?>index<? endif; ?>">    
     <? foreach($entries as $e): ?>
-        <li class="entry <?=$e->cat->name?>">
+        <li class="entry">
             <a href="<?=$e->url;?>">
                 <img src="<?=$e->thumb?>" class="thumb" />
                 <br />
                 
                 </a>   
 
-                <? //if ($entry->basename != 'projects') : ?>
-                 <br />
-                &mdash;
-                <br />
+                
+
                 <ul class="tags">
+                <br />
+                &mdash;
+                <br />                    
                     <? for($i = 0; $i < sizeof($e->tags); $i++) : $tag = $e->tags[$i]; ?>
                         <li class="tag"><a href="<?=WEB_ROOT.'tag/'.$tag?>"><?=$tag?></a></li>
                     <? endfor; ?>
                 </ul>     
-            <? //endif; ?>
+                 
 
         </li>
     <? endforeach; ?>