diff options
| author | tekkub <tekkub@gmail.com> | 2009-06-25 14:10:11 -0600 |
|---|---|---|
| committer | tekkub <tekkub@gmail.com> | 2009-06-25 14:10:31 -0600 |
| commit | 5d15d064cee4a4c44b921d67faf287559add4d27 (patch) | |
| tree | 110dd5de8e63e380bc7c081d0858715e5b68c3be | |
| parent | f9baeeee746ea7d76d81d9941561b09eff54ec16 (diff) | |
make index categories style a bit less painful to work with
| -rwxr-xr-x | css/style.css | 1 | ||||
| -rw-r--r-- | 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 --- <div class="span-21" id="welcome"> @@ -19,7 +17,7 @@ p. This site is a work in progress. </div> {% for cat in (page.index_cats) %} - <div class="span-7 {% if page.last_cats contains cat %}last{% endif %}"> + <div class="category_index"> <h2>{{ cat | capitalize }}</h2> {% for post in site.posts %}{% if post.categories contains cat %} <b><a href="{{ post.url }}">{{ post.title }}</a></b> @@ -27,4 +25,3 @@ p. This site is a work in progress. {% endif %}{% endfor %} </div> {% endfor %} - |
