diff --git a/app/assets/stylesheets/application.css.scss b/app/assets/stylesheets/application.css.scss index 1a7c9cd..831e721 100644 --- a/app/assets/stylesheets/application.css.scss +++ b/app/assets/stylesheets/application.css.scss @@ -8,6 +8,7 @@ *= require theme/logo *= require theme/layout *= require pages/domains +*= require pages/home *= require slides */ diff --git a/app/assets/stylesheets/pages/home.css.scss b/app/assets/stylesheets/pages/home.css.scss new file mode 100644 index 0000000..0caad43 --- /dev/null +++ b/app/assets/stylesheets/pages/home.css.scss @@ -0,0 +1,24 @@ +.call-to-action { + text-align: center; + margin-top: 3em; + small { + font-style: italic; + font-size: 80% + } +} + +.twitter-share-button { + font-size: 14px; + font-weight: normal; +} + +.incentives-unit li, +.incentives-unit p +{ + font-size: 14px; + line-height: 20px; +} + +blockquote { + font-style: italic; +} \ No newline at end of file diff --git a/app/assets/stylesheets/theme/layout.css.scss b/app/assets/stylesheets/theme/layout.css.scss index 631dc47..235fbf9 100644 --- a/app/assets/stylesheets/theme/layout.css.scss +++ b/app/assets/stylesheets/theme/layout.css.scss @@ -1,3 +1,7 @@ +body { + background: #f7fdff; +} + #main { margin-top: 40px; } diff --git a/app/assets/stylesheets/theme/logo.css.scss b/app/assets/stylesheets/theme/logo.css.scss index fef3ff5..d30c993 100644 --- a/app/assets/stylesheets/theme/logo.css.scss +++ b/app/assets/stylesheets/theme/logo.css.scss @@ -3,11 +3,10 @@ @import "compass/css3/text-shadow"; .navbar .brand { - color: #53d4ff; - border: 2px solid #53d4ff; - @include border-radius(10px); - @include text-shadow(0 1px 0 rgba(0, 0, 0, 0.6),0 0 6px rgba(143, 181, 200, 1),0 0 10px rgba(143, 181, 200, .7)); - @include box-shadow(0 1px 0 rgba(0, 0, 0, 0.6),0 0 6px rgba(143, 181, 200, 1),0 0 10px rgba(143, 181, 200, .7)); - padding: 2px 8px 2px 8px; - margin: 6px 18px 2px 6px; + color: #53d4ff; + @include text-shadow( + 0 1px 0 rgba(0, 0, 0, 0.6), + 0 0 6px rgba(143, 181, 200, 1), + 0 0 10px rgba(143, 181, 200, .7) + ); } diff --git a/app/views/pages/contact/_form.html.erb b/app/views/pages/contact/_form.html.erb index b521690..eb32d65 100644 --- a/app/views/pages/contact/_form.html.erb +++ b/app/views/pages/contact/_form.html.erb @@ -1,31 +1,23 @@ -<%= form_for @contact_form, :url => {:action => 'contact'}, :method => 'post' do |f| %> +<%= simple_form_for(@contact_form, + url: { action: 'contact' }, + html: { method: :post, class: 'form-horizontal' } + ) do |f| %> + <%= error_messages_for(@contact_form) %>
-- <%= f.label :name, 'Your name' %> - <%= f.text_field :name %> -
- -- <%= f.label :email, 'Your email' %> - <%= f.text_field :email %> -
- -- <%= f.label :file %> - <%= f.file_field :file %> - can be attached optionally -
- -- <%= f.label :message %> - <%= f.text_area :message, :rows => 10 %> -
+<%= f.submit 'Send', :class => 'btn-primary' %>
+- We are two geeks who built a free DNS service to fill a void in this space. - The service is free and we hope to support it on either a freemium model or some sort of affiliate sales. -+
We are two geeks who built a free DNS service to fill a void in this space.The service is free + and we hope to support it on either a freemium model or some sort of affiliate sales.
- Note that we just started it, and there are still things to be done, it's still a work in progress. - Nevertheless the service is at this point functional and there are people already using it. -+
Note that we just started it, and there are still things to be done, it's still a work in progress. + Nevertheless the service is at this point functional and there are people already using it.