89007a40aea4

Add real snippet support.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Wed, 23 Dec 2009 19:11:19 -0500
parents 62daa229e3e8
children 18c7a651e42e
branches/tags (none)
files content/blog/2008/04/shooting-girl-jam.html content/blog/2008/08/beauty-in-computer-science-recursion.html content/blog/2008/08/negative-space-dancing.html content/blog/2008/08/on-leading.html layout/skeleton/_innerlisting.html media/css/base.css

Changes

--- a/content/blog/2008/04/shooting-girl-jam.html	Wed Dec 23 18:56:13 2009 -0500
+++ b/content/blog/2008/04/shooting-girl-jam.html	Wed Dec 23 19:11:19 2009 -0500
@@ -2,6 +2,7 @@
 
 {% hyde
     title: "Shooting Girl Jam"
+    snip: "I’m finally getting the kind of dancing photos I want."
     created: 2008-04-29 18:31:16
 %}
 
--- a/content/blog/2008/08/beauty-in-computer-science-recursion.html	Wed Dec 23 18:56:13 2009 -0500
+++ b/content/blog/2008/08/beauty-in-computer-science-recursion.html	Wed Dec 23 19:11:19 2009 -0500
@@ -2,6 +2,7 @@
 
 {% hyde
     title: "Beauty in Computer Science"
+    snip: "Why I love what I do."
     created: 2008-08-29 15:30:38
 %}
 
--- a/content/blog/2008/08/negative-space-dancing.html	Wed Dec 23 18:56:13 2009 -0500
+++ b/content/blog/2008/08/negative-space-dancing.html	Wed Dec 23 19:11:19 2009 -0500
@@ -2,6 +2,7 @@
 
 {% hyde
     title: "Negative Space in Dancing"
+    snip: "It’s not just for artsy kids."
     created: 2008-08-31 15:33:57
 %}
 
--- a/content/blog/2008/08/on-leading.html	Wed Dec 23 18:56:13 2009 -0500
+++ b/content/blog/2008/08/on-leading.html	Wed Dec 23 19:11:19 2009 -0500
@@ -2,6 +2,7 @@
 
 {% hyde
     title: "On Leading"
+    snip: "Some of my thoughts on leading after five years of doing it."
     created: 2008-08-01 15:28:33
 %}
 
--- a/layout/skeleton/_innerlisting.html	Wed Dec 23 18:56:13 2009 -0500
+++ b/layout/skeleton/_innerlisting.html	Wed Dec 23 19:11:19 2009 -0500
@@ -12,7 +12,7 @@
                         {{ list_page.title|default_if_none:default_title }}
                     {%endwith%}
                 </a>
-                <span class="excerpt">{{ list_page.snip }}</span>
+                <span class="snip">{{ list_page.snip }}</span>
             </li>
         {%endif%}
     {% endifnotequal %}
--- a/media/css/base.css	Wed Dec 23 18:56:13 2009 -0500
+++ b/media/css/base.css	Wed Dec 23 19:11:19 2009 -0500
@@ -44,12 +44,11 @@
 #nav {
     float: right;
     width: 10em;
-    font-size: 1.5em;
+    font-size: 1.25em;
+    font-weight: bold;
     line-height: 2em;
-    font-weight: bold;
 }
 #nav ul li {
-    margin: 0;
     list-style: none;
     border-bottom: 1px solid #eee;
 }
@@ -67,7 +66,7 @@
 }
 
 #splash-info {
-    font-size: 1.5em;
+    font-size: 1.25em;
     line-height: 2em;
     text-align: right;
     color: #888;
@@ -83,11 +82,12 @@
 }
 
 #content {
-	width: 42em;
+	width: 45em;
 }
 
 div#section-listing {
-    font-size: 1.5em;
+    font-size: 1.25em;
+    font-weight: bold;
     line-height: 2em;
     color: #888;
 }
@@ -99,7 +99,6 @@
 }
 div#section-listing ol a {
     color: #111;
-    font-weight: bold;
 }
 div#section-listing ol a:hover {
     color: #e50053;
@@ -108,6 +107,12 @@
 div#section-listing ol li:last-child {
     border-bottom: none;
 }
+div#section-listing ol li span.snip {
+    font-size: 0.75em;
+    line-height: 1em;
+    margin-left: 0.5em;
+    font-weight: normal;
+}
 
 div.article {
     margin-top: 2em;