mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-01-23 09:21:56 +01:00
Style changes for the blog
This commit is contained in:
parent
115feaa219
commit
a331d3e714
@ -1,17 +1,19 @@
|
|||||||
<h1>#{postTitle post}
|
<div #blog>
|
||||||
<p #author>
|
<h1>#{postTitle post}
|
||||||
By #{postAuthor post}, #
|
<p #author>
|
||||||
<abbr title=#{show $ postTime post}>#{dateDiff now (utctDay $ postTime post)}
|
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>
|
<ul>
|
||||||
$forall post' <- posts
|
$forall post' <- posts
|
||||||
<li>
|
<li>
|
||||||
<a href=@?{addPreview $ BlogPostR (postYear post') (postMonth post') (postSlug post')}>
|
<a href=@?{addPreview $ BlogPostR (postYear post') (postMonth post') (postSlug post')}>
|
||||||
#{postTitle post'}, #
|
#{postTitle post'}
|
||||||
|
—
|
||||||
<abbr title=#{show $ postTime post}>#{dateDiff now (utctDay $ postTime post')}
|
<abbr title=#{show $ postTime post}>#{dateDiff now (utctDay $ postTime post')}
|
||||||
|
|||||||
@ -11,3 +11,9 @@
|
|||||||
margin-top: 1em;
|
margin-top: 1em;
|
||||||
padding-top: 1em;
|
padding-top: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#blog {
|
||||||
|
font-size: 120%;
|
||||||
|
max-width: 640px;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user