Style changes for the blog

This commit is contained in:
Michael Snoyman 2018-01-29 13:36:21 +02:00
parent 115feaa219
commit a331d3e714
No known key found for this signature in database
GPG Key ID: A048E8C057E86876
2 changed files with 20 additions and 12 deletions

View File

@ -1,3 +1,4 @@
<div #blog>
<h1>#{postTitle post}
<p #author>
By #{postAuthor post}, #
@ -13,5 +14,6 @@
$forall post' <- posts
<li>
<a href=@?{addPreview $ BlogPostR (postYear post') (postMonth post') (postSlug post')}>
#{postTitle post'}, #
#{postTitle post'}
&mdash;
<abbr title=#{show $ postTime post}>#{dateDiff now (utctDay $ postTime post')}

View File

@ -11,3 +11,9 @@
margin-top: 1em;
padding-top: 1em;
}
#blog {
font-size: 120%;
max-width: 640px;
margin: 0 auto;
}