Even better list

This commit is contained in:
Martin Mahner 2012-04-14 20:40:34 +02:00
parent b5800e0091
commit bb8d5f1c16
2 changed files with 8 additions and 1 deletions

View file

@ -10,7 +10,7 @@
{% block content %}
{% if snippet_list %}
{% for snippet in snippet_list %}
<h2>
<h2 class="divider">
<a title="{{ snippet.published|date:_("DATETIME_FORMAT") }}" href="{{ snippet.get_absolute_url }}">
{{ snippet.published|timesince }} ago
</a>

View file

@ -102,6 +102,13 @@ div.hint{
line-height: 1.6em;
}
#content h2.divider{
font-size: 1em;
padding: 5px 20px;
background-color: #f8f8f8;
margin: 40px 0 20px 0;
}
#content h2 span{
font-weight: normal;
}