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,17 +1,19 @@
<h1>#{postTitle post}
<p #author>
By #{postAuthor post}, #
<abbr title=#{show $ postTime post}>#{dateDiff now (utctDay $ postTime post)}
<div #blog>
<h1>#{postTitle post}
<p #author>
By #{postAuthor post}, #
<abbr title=#{show $ postTime post}>#{dateDiff now (utctDay $ postTime post)}
<article>#{postBody post}
<article>#{postBody post}
<section #archive>
<section #archive>
<h2>Archive
<h2>Archive
<ul>
$forall post' <- posts
<li>
<a href=@?{addPreview $ BlogPostR (postYear post') (postMonth post') (postSlug post')}>
#{postTitle post'}, #
<ul>
$forall post' <- posts
<li>
<a href=@?{addPreview $ BlogPostR (postYear post') (postMonth post') (postSlug 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;
}