From 5d15d064cee4a4c44b921d67faf287559add4d27 Mon Sep 17 00:00:00 2001 From: tekkub Date: Thu, 25 Jun 2009 14:10:11 -0600 Subject: make index categories style a bit less painful to work with --- css/style.css | 1 + index.textile | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/css/style.css b/css/style.css index 39e3010..29c3f69 100755 --- a/css/style.css +++ b/css/style.css @@ -17,6 +17,7 @@ h2 { background: #ddd; text-align: center; padding: 4px; } #footer { background: #ddd;} #footer a { color: #444; } +.category_index { float: left; margin: 4px; width:255px; } .info, .fork { padding: 10px; } .content { font-size: 1.2em; } .content h3 { background: #fdd; font-size: 1.7em; padding: 6px 2px; margin-top: 1.5em; } diff --git a/index.textile b/index.textile index ae66ec7..68a535a 100644 --- a/index.textile +++ b/index.textile @@ -6,8 +6,6 @@ index_cats: - mac - windows - collaborating -last_cats: -- windows ---
@@ -19,7 +17,7 @@ p. This site is a work in progress.
{% for cat in (page.index_cats) %} -
+

{{ cat | capitalize }}

{% for post in site.posts %}{% if post.categories contains cat %} {{ post.title }} @@ -27,4 +25,3 @@ p. This site is a work in progress. {% endif %}{% endfor %}
{% endfor %} - -- cgit v1.3.1