summaryrefslogtreecommitdiffstats
path: root/themes
diff options
context:
space:
mode:
authorVikrant Chaudhary <nasa42@gmail.com>2015-10-12 23:28:08 +0530
committerVikrant Chaudhary <nasa42@gmail.com>2015-10-12 23:28:08 +0530
commite1e8c352c787f5677a3f8e501d82bb9877ab2da6 (patch)
tree95dde133eff563bf1b754ff75c30c716c49bac0d /themes
parentc5c5e85c8adb35aa82abe42cd8c664c08d47c0c8 (diff)
Move subscribe-form to bottom and remove post borders.
Discussion at https://www.reddit.com/r/rust/comments/3no8cs/this_week_in_rust_99/
Diffstat (limited to 'themes')
-rw-r--r--themes/rusted/static/css/_layout.scss4
-rw-r--r--themes/rusted/templates/article.html13
2 files changed, 8 insertions, 9 deletions
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 %}
-
-<div class="row text-center">
- <h3> Like what you see? Subscribe! </h3>
-</div>
-
-{% include "_subscribe-form.html" %}
-
<div class="post">
<header class="post-header">
{% include "_post-title.html" %}
@@ -34,4 +27,10 @@
</article>
</div>
+
+<div class="row text-center">
+ <h3> Like what you see? Subscribe! </h3>
+</div>
+
+{% include "_subscribe-form.html" %}
{% endblock content %}