diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0d20b64 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.pyc diff --git a/appconfig b/appconfig deleted file mode 100644 index 82d0579..0000000 --- a/appconfig +++ /dev/null @@ -1 +0,0 @@ -SERVER_NAME="NAME_HERE" diff --git a/styles/blog.min.css b/styles/blog.min.css index e69de29..0619e94 100644 --- a/styles/blog.min.css +++ b/styles/blog.min.css @@ -0,0 +1,51 @@ +.post-text, .blog-title, .post, .postnav { + text-align: center; } + +.post-content { + max-width: 50%; + text-align: justify; + font-size: 1.5em; } + @media (max-width: 700px) { + .post-content { + max-width: 70%; } } + @media (max-width: 500px) { + .post-content { + max-width: 90%; } } + +.comment-block, .comments, .maxwarn { + max-width: 30%; } + @media (max-width: 700px) { + .comment-block, .comments, .maxwarn { + max-width: 50%; } } + @media (max-width: 500px) { + .comment-block, .comments, .maxwarn { + max-width: 70%; } } + +.comments { + margin-top: 5%; } + +.comment { + margin-top: 2%; + max-width: 40%; } + @media (max-width: 700px) { + .comment { + max-width: 65%; } } + @media (max-width: 500px) { + .comment { + max-width: 85%; } } + +.comments-loader { + margin-top: 2%; } + +.comment-body { + margin-left: 10px; + margin-right: 10px; } + +.rounded-button { + border-radius: 13px; } + +.maxinput { + background-color: grey; } + +.maxwarn { + margin-top: 15px; } diff --git a/tags/post.tag b/tags/post.tag index a357017..477da1d 100644 --- a/tags/post.tag +++ b/tags/post.tag @@ -54,7 +54,6 @@ next() { } } - this.setPost = function(pid) { self.update(); self.loading = true;