summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2012-12-18 20:21:18 +0000
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2012-12-18 20:21:18 +0000
commitdbed7d40a63cc109969fdce76f42279831c10a41 (patch)
treef061b4ee03cca9d5719b14ddbe40fc44d1a22f5b
parent32553bf7b1fc8c4af4e256705c95a3f66ca5f719 (diff)
Add Flattr button.
-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 @}