]> git.quilime.com - plog.git/commitdiff
Some minimalism
authorGabriel Dunne <gdunne@quilime.com>
Sun, 15 Sep 2013 19:43:59 +0000 (12:43 -0700)
committerGabriel Dunne <gdunne@quilime.com>
Sun, 15 Sep 2013 19:43:59 +0000 (12:43 -0700)
css/style.css
lib/config.ini
templates/entry.html.tpl
templates/nav.html.tpl
templates/projectlist.html.tpl

index 1f301bddb7e9779dad441ef6b3e6e35b57b8147f..2292f8bb688a73566475520ccabf9186bfb7aeb7 100644 (file)
@@ -32,7 +32,7 @@ h1, h2, h3, h4, h5, h6 {
   /*font-family: helvetica, arial, verdana, sans-serif;*/
   font-weight: normal;
   color: #000;
-  font-size:1em; }
+  font-size:1em; line-height:1em; }
 h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
   color:#000;
   text-decoration: none;
@@ -47,7 +47,6 @@ h4 {
   }
 h6 {
   margin:2em 0 0 0 ;
-  line-height:0;
   padding:0;
 }
 
@@ -65,6 +64,8 @@ input[type="text"], textarea {
 }
 
 p {
+  margin-top:0;
+  padding-top:0;
   max-width:760px; 
   }
 
@@ -100,11 +101,13 @@ table, td, tr {
 
 #content {
   /*display:none;*/
+  margin-left:200px;  
+  position:absolute;
+  top:7em;
   padding-bottom: 20px;
   padding-top:0;
 }
 #content.single {
-  /*margin-left:200px;  */
   max-width:800px;
 }
 
@@ -151,10 +154,10 @@ table, td, tr {
 
 
 #nav {
-  margin-bottom:4em; 
+  /*margin-bottom:4em; */
 }
 #nav a {
-  font-weight:bold;
+  
 }
 #nav a.mute {  font-weight: normal }
 #nav li, ul.nav {
@@ -391,8 +394,6 @@ ul.entries li a:hover {
 }
 
 
-
-
 .archive li {
   padding-bottom:5px;
   margin-bottom:5px;
@@ -411,6 +412,12 @@ ul.entries li a:hover {
   position:absolute;
   left:2em;
 }
+.navprojectlist {
+  position:absolute;
+  top:7em;
+  width:200px;
+  left:0;
+}
 .projectlist li {
   text-transform: lowercase !important;
 }
index 005e1bf327deb5b11a4821cc73685eef34f86b08..cd2b48dcddce096765c17a049e8b51513ed990ae 100644 (file)
@@ -1,5 +1,5 @@
 ; settings
-site_title  = GABRIEL DUNNE
+site_title  = Gabriel Dunne
 clean_urls  = 1
 limit       = 1000
 ; http://php.net/manual/en/function.date.php
index f2be0c93b78c2489d20aba25a9ad23b56e859995..1f98cf96dace996271dbc0c77527f8d8b905468b 100644 (file)
@@ -2,7 +2,7 @@
 
 <h2 class="title"><a href="<?=$entry->url?>"><?=$entry->title?></a></h2>
 
-<span class="date"><?=date('Y', $entry->timestamp)?></span>
+<!-- <span class="date"><?=date('Y', $entry->timestamp)?></span> -->
 
 <?
        if (!isset($entry->inline_gallery) && isset($entry->media_gallery)) {
@@ -18,6 +18,8 @@
 
        <div class="metadata">
 
+               <!--
+
                <? if ($entry->tags): ?>
                        &mdash;<br />
                        <ul class="tags">
@@ -26,6 +28,7 @@
                        <? endfor; ?>
                        </ul>
                <? endif; ?><br />
+               -->
 
                <? if ($entry->related): ?>
                        &mdash;<br />           
@@ -41,6 +44,7 @@
                        </ul>
                <? endif; ?>
 
+
        </div>
 
 <? endif; ?>
index 3a4b1024aba33a7043767e8f4dc06be0f96a6515..65c432ddc1498b9cf85c5e8a7dfbab2e33fbc772 100644 (file)
@@ -1,3 +1,7 @@
+<div class="navprojectlist">
+<? $this->include_template('projectlist.html.tpl') ?>
+</div>
+
 <div id="nav">
     <ul class="nav">
 
@@ -9,7 +13,10 @@
         'order' => SORT_ASC
         ) ); ?>
 <li><a href="/info">about</a></li>        
-<li><a href="/projects/">projects</a></li>
+
+<br />
+<!-- <li><a style="font-weight:normal" href="/projects/">projects</a></li> -->
+
 
 
 <!-- <li><a href="/tag">tag</a></li> -->
index e3ef42c2d934fa1f891f798fe3cc2a2ebc8e38bc..85e6c48ae3f4bd3eda29e7c352ec6c8419779955 100644 (file)
@@ -1,5 +1,5 @@
 <?
-$r =  $this->_tpl_vars['request']['dirname'] ? $this->_tpl_vars['request']['dirname'] : $this->_tpl_vars['request']['basename'] . '/';
+$r =  isset($this->_tpl_vars['request']['dirname']) ? $this->_tpl_vars['request']['dirname'] : $this->_tpl_vars['request']['basename'] . '/';
 $m = new Model(get_request($r), 0);
 $projects = $m->entries;
 ?>