From 02b214b7905643cac55c7ae635ec07139feb5f98 Mon Sep 17 00:00:00 2001 From: Sina Mashek Date: Thu, 8 Feb 2018 15:03:09 +0200 Subject: [PATCH] Removed permalink inline-style, updated to style from style.css --- ttbp/config/defaults/style.css | 6 ++++++ ttbp/core.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ttbp/config/defaults/style.css b/ttbp/config/defaults/style.css index c14edc6..204eec7 100644 --- a/ttbp/config/defaults/style.css +++ b/ttbp/config/defaults/style.css @@ -28,6 +28,12 @@ body { padding: 1em; } +.entry p.permalink { + font-size: .6em; + font-color: #808080; + text-align: right; +} + .entry h5 { text-align: right; margin-top: .2em; diff --git a/ttbp/core.py b/ttbp/core.py index 381d726..6464acc 100644 --- a/ttbp/core.py +++ b/ttbp/core.py @@ -221,7 +221,7 @@ def write_entry(filename): # entry.append("

\n\t\t\t

") #entry.append("

\n") - entry.append("\t\t\t

permalink

\n") + entry.append("\t\t\t

permalink

\n") entry.append("\n\t\t\n") return entry