summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--static-files/style/journal.css28
-rw-r--r--templates/journal_page.html7
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}
<h1 id="main-title"><a href="{root|html-attr-value}">{site-name|html}</a></h1>
+
<div id="main-subtitle">{site-subtitle|html}</div>
+ <div id="main-button-bar">
+ <a href="http://flattr.com/thing/93957/Kompottkins-Weisheiten" target="_blank">
+ <img src="/flattr-badge-large.png" alt="Flattr this" title="Flattr this" border="0" />
+ </a>
+ </div>
+
{.section info-messages}
<div id="info-messages">
{.repeated section @}