Adjust the tag structures and styles a bit.
author |
Steve Losh <steve@stevelosh.com> |
date |
Sun, 24 Jan 2010 09:37:56 -0500 |
parents |
7c5b03eaf0cd
|
children |
b8301b4e1d66
|
branches/tags |
(none) |
files |
layout/skeleton/_listing.html media/css/base.css |
Changes
--- a/layout/skeleton/_listing.html Sun Jan 24 09:13:49 2010 -0500
+++ b/layout/skeleton/_listing.html Sun Jan 24 09:37:56 2010 -0500
@@ -5,16 +5,16 @@
{% block after_header %}
{% if page.node.categories %}
<ul id="section-tags">
- <span class="section-tags-col">
+ <div class="section-tags-col">
{% for category in page.node.categories.keys %}
<li><a href="{{ page.url }}{{ category }}">{{ category }}</a></li>
{% if forloop.counter|divisibleby:2 %}
{% if not forloop.last %}
- </span><span class="section-tags-col">
+ </div><div class="section-tags-col">
{% endif %}
{% endif %}
{% endfor %}
- </span>
+ </div>
</ul>
{% endif %}
{% endblock %}
--- a/media/css/base.css Sun Jan 24 09:13:49 2010 -0500
+++ b/media/css/base.css Sun Jan 24 09:37:56 2010 -0500
@@ -293,7 +293,7 @@
font-family: "Helvetica Neue Light", HelveticaNeue-Light, "Helvetica Neue", HelveticaNeue, Arial, Helvetica, sans-serif;
}
ul#section-tags li {
- font-size: 1.2em;
+ font-size: 1.1em;
line-height: 1.05em;
margin: 0;
}
@@ -304,7 +304,7 @@
color: #e50053;
text-decoration: none;
}
-ul#section-tags span.section-tags-col {
+ul#section-tags div.section-tags-col {
display: inline-block;
margin-right: 1em;
}
\ No newline at end of file