summaryrefslogtreecommitdiffstats
path: root/themes
diff options
context:
space:
mode:
authorVikrant Chaudhary <nasa42@gmail.com>2016-02-15 20:13:09 +0530
committerVikrant Chaudhary <nasa42@gmail.com>2016-02-15 20:13:09 +0530
commiteb51970e4398f944745b3411b036b4bbaf8df8b5 (patch)
tree6cb145fed33e77498bbacd06ed33a4f1fe06f290 /themes
parent6de18340ea17bb7e036fa50cc9355c744d2618ef (diff)
Fix for - Refused to apply inline style because it violates the following Content Security Policy directive.
Diffstat (limited to 'themes')
-rw-r--r--themes/rusted/static/css/_layout.scss8
-rw-r--r--themes/rusted/templates/_subscribe-form.html3
2 files changed, 9 insertions, 2 deletions
diff --git a/themes/rusted/static/css/_layout.scss b/themes/rusted/static/css/_layout.scss
index 773c0ac..9604dda 100644
--- a/themes/rusted/static/css/_layout.scss
+++ b/themes/rusted/static/css/_layout.scss
@@ -140,3 +140,11 @@ blockquote {
vertical-align: middle;
border: 0px none;
}
+
+/**
+ * For honeypot
+ */
+.out-of-view-input {
+ position: absolute;
+ left: -5000px;
+} \ No newline at end of file
diff --git a/themes/rusted/templates/_subscribe-form.html b/themes/rusted/templates/_subscribe-form.html
index 39a2991..8a7f2cb 100644
--- a/themes/rusted/templates/_subscribe-form.html
+++ b/themes/rusted/templates/_subscribe-form.html
@@ -3,7 +3,7 @@
<div class="col-sm-10">
<form action="//this-week-in-rust.us11.list-manage.com/subscribe/post?u=fd84c1c757e02889a9b08d289&amp;id=0ed8b72485" method="post" novalidate>
<!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
- <div style="position: absolute; left: -5000px;"><input type="text" name="b_fd84c1c757e02889a9b08d289_0ed8b72485" tabindex="-1" value=""></div>
+ <div class="out-of-view-input"><input type="text" name="b_fd84c1c757e02889a9b08d289_0ed8b72485" tabindex="-1" value=""></div>
<div class="input-group input-group-lg">
<input type="email" name="EMAIL" class="form-control" placeholder="Enter your email" />
<span class="input-group-btn">
@@ -15,4 +15,3 @@
</div>
<div class="col-sm-1"></div>
</div>
-