From dbed7d40a63cc109969fdce76f42279831c10a41 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Tue, 18 Dec 2012 20:21:18 +0000 Subject: Add Flattr button. --- static-files/style/journal.css | 28 +++++++++++++++++++++++----- templates/journal_page.html | 7 +++++++ 2 files changed, 30 insertions(+), 5 deletions(-) diff --git a/static-files/style/journal.css b/static-files/style/journal.css index 0bbf778..673268d 100644 --- a/static-files/style/journal.css +++ b/static-files/style/journal.css @@ -48,6 +48,11 @@ html { text-align: center; } +#main-button-bar { + text-align: right; + align: right; +} + #main-title-box { } @@ -89,9 +94,22 @@ html { text-align: justify; } +/* .article-body p { text-indent: 1em; } +*/ + +.article-body p { + margin-bottom: 0.2em; +} +.article-body p + p { + text-indent: 1.5em; + margin-top: 0; +} +.article-body { + margin-bottom: 1em; +} .article-body pre { overflow: auto; @@ -115,26 +133,26 @@ img.article-portrait { clear: both; } -.journal-comments h2 { +.comments h2 { width: 80%; } -.journal-comment { +.comment { margin-top: 1em; border: 1px solid #aaa; padding: 0.5em 0.5em 0.5em 0.5em; } -.journal-comment-header { +.comment-header { margin-bottom: 1em; } -.journal-comment-body { +.comment-body { text-align: justify; text-indent: 1em; } -.journal-comment-body blockquote { +.comment-body blockquote { font-style: oblique; } diff --git a/templates/journal_page.html b/templates/journal_page.html index dd3c8c7..a6e3ef6 100644 --- a/templates/journal_page.html +++ b/templates/journal_page.html @@ -17,8 +17,15 @@ {.section body}

{site-name|html}

+
{site-subtitle|html}
+
+ + Flattr this + +
+ {.section info-messages}
{.repeated section @} -- cgit v1.2.3