From 423ec6c8284ad6da78bdcfc64e8bff75bddc3047 Mon Sep 17 00:00:00 2001 From: Tyler Copeland Date: Wed, 19 Sep 2018 15:28:48 -0400 Subject: [PATCH] Greenlight landing page layout adjustments, general cleanup and responsive styles (#271) --- app/assets/stylesheets/main.scss | 32 +++++++------------- app/views/main/index.html.erb | 29 +++++++++--------- app/views/shared/_error_banner.html.erb | 2 +- app/views/shared/_features.html.erb | 40 +++++++++++++------------ app/views/shared/_footer.html.erb | 3 +- app/views/shared/_header.html.erb | 0 config/locales/en.yml | 2 +- 7 files changed, 48 insertions(+), 60 deletions(-) mode change 100644 => 100755 app/assets/stylesheets/main.scss mode change 100644 => 100755 app/views/main/index.html.erb mode change 100644 => 100755 app/views/shared/_error_banner.html.erb mode change 100644 => 100755 app/views/shared/_features.html.erb mode change 100644 => 100755 app/views/shared/_footer.html.erb mode change 100644 => 100755 app/views/shared/_header.html.erb mode change 100644 => 100755 config/locales/en.yml diff --git a/app/assets/stylesheets/main.scss b/app/assets/stylesheets/main.scss old mode 100644 new mode 100755 index 3e5466ad..4d68414f --- a/app/assets/stylesheets/main.scss +++ b/app/assets/stylesheets/main.scss @@ -28,8 +28,15 @@ height: 40%; } +.lead { + font-size:18px; +} + .feature-stamp { - border-radius: 6px; + .stamp { + padding:1em 1.5em; + height:auto; + } } .or-line { @@ -47,25 +54,6 @@ } } -.img-cycle img { - display: none; - position: absolute; - top: 0; - left: 0; -} - -.img-cycle img:first-child { - display:block; -} - -.green-grad { - background: linear-gradient(to right, rgba(164,179,87,1) 0%, rgba(117,137,12,1) 100%); - -webkit-background-clip: text; - -webkit-text-fill-color: transparent; -} - -.blue-grad { - background: linear-gradient(to right, rgba(65,105,225,1) 0%, rgba(0,0,225,1) 100%); - -webkit-background-clip: text; - -webkit-text-fill-color: transparent; +.display-4 { + font-weight: normal; } diff --git a/app/views/main/index.html.erb b/app/views/main/index.html.erb old mode 100644 new mode 100755 index 4a748135..a812d4ee --- a/app/views/main/index.html.erb +++ b/app/views/main/index.html.erb @@ -21,25 +21,24 @@ <% end %> <% end %> -
-
-
-

<%= t("landing.welcome").html_safe %>

-

<%= t("landing.about", href: link_to(t("greenlight"), "https://bigbluebutton.org/2018/07/09/greenlight-2-0/", target: "_blank", class: "text-green")).html_safe %>

-
- <%= link_to "https://youtu.be/Hso8yLzkqj8", target: "_blank" do %> -

<%= t("landing.video") %>

- <% end %> -
-
- <%= image_tag("landing/world.png", class: "active") %> - <%= image_tag("landing/bbb.png") %> - <%= image_tag("landing/mobile.png") %> +
+
+
+
+

<%= t("landing.welcome").html_safe %>

+

<%= t("landing.about", href: link_to(t("greenlight"), "https://bigbluebutton.org/2018/07/09/greenlight-2-0/", target: "_blank")).html_safe %>

+ <%= link_to "https://youtu.be/Hso8yLzkqj8", target: "_blank" do %> +

<%= t("landing.video") %>

+ <% end %> +
+
- <%= render "shared/features" %>
+<%= render "shared/features" %> + +