Removed permalink inline-style, updated to style from style.css

master
Sina Mashek 2018-02-08 15:03:09 +02:00
parent f70359b8e8
commit 02b214b790
2 changed files with 7 additions and 1 deletions

View File

@ -28,6 +28,12 @@ body {
padding: 1em; padding: 1em;
} }
.entry p.permalink {
font-size: .6em;
font-color: #808080;
text-align: right;
}
.entry h5 { .entry h5 {
text-align: right; text-align: right;
margin-top: .2em; margin-top: .2em;

View File

@ -221,7 +221,7 @@ def write_entry(filename):
# entry.append("</p>\n\t\t\t<p>") # entry.append("</p>\n\t\t\t<p>")
#entry.append("</p>\n") #entry.append("</p>\n")
entry.append("\t\t\t<p style=\"font-size:.6em; font-color:#808080; text-align: right;\"><a href=\""+"".join(date)+".html\">permalink</a></p>\n") entry.append("\t\t\t<p class=\"permalink\"><a href=\""+"".join(date)+".html\">permalink</a></p>\n")
entry.append("\n\t\t</div>\n") entry.append("\n\t\t</div>\n")
return entry return entry