From 2bc0a2042d8046ce5d1eedcfdb0e9b3c03fda0fb Mon Sep 17 00:00:00 2001 From: jlukic Date: Thu, 9 Oct 2014 00:42:44 -0400 Subject: [PATCH] Fixes some layout issues with homepage --- server/documents/index.html.eco | 14 ++++++++------ server/files/javascript/home.js | 18 ++++++++++++++++++ server/files/stylesheets/semantic.css | 2 +- server/layouts/default.html.eco | 3 ++- 4 files changed, 29 insertions(+), 8 deletions(-) diff --git a/server/documents/index.html.eco b/server/documents/index.html.eco index e44340a90..5b2e25dd7 100755 --- a/server/documents/index.html.eco +++ b/server/documents/index.html.eco @@ -108,13 +108,15 @@ type : 'Semantic'

Semantic is growing fast. Want to see just how much? Sign up and we'll let you know

-
-
- + +
+
+ +
+
-
diff --git a/server/files/javascript/home.js b/server/files/javascript/home.js index 709fdb149..c5ee9f416 100755 --- a/server/files/javascript/home.js +++ b/server/files/javascript/home.js @@ -47,6 +47,24 @@ semantic.home.ready = function() { } }; + $('.email.stripe form') + .form({ + email: { + identifier : 'email', + rules: [ + { + type : 'empty', + prompt : 'Please enter an e-mail' + }, + { + type : 'email', + prompt : 'Please enter a valid e-mail address' + } + ] + } + }) + ; + $('.masthead') .visibility({ diff --git a/server/files/stylesheets/semantic.css b/server/files/stylesheets/semantic.css index e20296397..0d7ba1e77 100755 --- a/server/files/stylesheets/semantic.css +++ b/server/files/stylesheets/semantic.css @@ -204,7 +204,7 @@ a:hover { position: relative; z-index: 2; margin: 0em; - min-height: 210px; + min-height: 180px; padding-top: 70px; padding-bottom: 30px; background-color: #FFFFFF; diff --git a/server/layouts/default.html.eco b/server/layouts/default.html.eco index 63118016e..e9d33b77b 100755 --- a/server/layouts/default.html.eco +++ b/server/layouts/default.html.eco @@ -126,8 +126,9 @@ <% if 'development' in @getEnvironments(): %> - + +