more compact front-page blog display

This commit is contained in:
Adrian Sampson 2012-08-22 14:09:06 -07:00
parent b8b8c45e7c
commit 235000e8ab
2 changed files with 2 additions and 5 deletions

View file

@ -130,7 +130,7 @@ or <a href="http://news.ycombinator.com/submitlink?u={{ site.url | cgi_escape }}
<ul id="blogSidebar" class="newslist">
{% for post in site.posts limit:3 %}
<li>
<span class="date">{{ post.date | date: '%B %e' }}</span>
<span class="date">{{ post.date | date: '%B %e' }}:</span>
<a href="{{ post.url }}">{{ post.title }}</a>
</li>
{% endfor %}

View file

@ -55,12 +55,9 @@ ul, ol {
list-style: none;
}
.newslist li {
margin-bottom: 0.5em;
margin-bottom: 0.1em;
}
.newslist .date {
font-weight: bold;
font-size: small;
display: block;
color: #999;
}