From e1e8c352c787f5677a3f8e501d82bb9877ab2da6 Mon Sep 17 00:00:00 2001 From: Vikrant Chaudhary Date: Mon, 12 Oct 2015 23:28:08 +0530 Subject: Move subscribe-form to bottom and remove post borders. Discussion at https://www.reddit.com/r/rust/comments/3no8cs/this_week_in_rust_99/ --- themes/rusted/static/css/_layout.scss | 4 ++-- themes/rusted/templates/article.html | 13 ++++++------- 2 files changed, 8 insertions(+), 9 deletions(-) (limited to 'themes') diff --git a/themes/rusted/static/css/_layout.scss b/themes/rusted/static/css/_layout.scss index c72f4e0..d5980c7 100644 --- a/themes/rusted/static/css/_layout.scss +++ b/themes/rusted/static/css/_layout.scss @@ -96,8 +96,8 @@ body > footer { */ .post { - margin-top: 32px; - border: 1px solid $grey-colour-light; + margin-bottom: 32px; + border-bottom: 1px solid $grey-colour-light; padding: 24px; border-radius: 8px; } diff --git a/themes/rusted/templates/article.html b/themes/rusted/templates/article.html index bd15a8f..4c94e8b 100644 --- a/themes/rusted/templates/article.html +++ b/themes/rusted/templates/article.html @@ -17,13 +17,6 @@ {% endblock meta_tags_in_head %} {% block content %} - -
-

Like what you see? Subscribe!

-
- -{% include "_subscribe-form.html" %} -
{% include "_post-title.html" %} @@ -34,4 +27,10 @@
+ +
+

Like what you see? Subscribe!

+
+ +{% include "_subscribe-form.html" %} {% endblock content %} -- cgit v1.2.3