diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 8ab10773b..8d3da8f7e 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -359,14 +359,6 @@ body.compact-nav { width: 100%; } - h2 { - font-size: 1.5rem; - } - - h3, h4 { - font-size: 1.25rem; - } - .close-wrap { cursor: pointer; position: absolute; @@ -1459,13 +1451,11 @@ dl.dl-inline { .richtext, .prose { code { - font-size: 13px; background: $lightgrey; padding: 2px 3px; } pre { - font-size: 13px; background: $lightgrey; padding: 2px 3px; white-space: pre-wrap; @@ -1508,19 +1498,10 @@ dl.dl-inline { /* Rules for the "Welcome" page */ .site-welcome, .site-fixthemap { - .center { - text-align: center; - .sprite { - float: none; - margin: auto; - } - } - .sprite { background-image: image-url("welcome-sprite.png"); background-size: 500px 250px; display: block; - float: left; } .icon-list { @@ -1570,15 +1551,6 @@ dl.dl-inline { /* no-r2 */ background-position: -350px 0; } - .start-mapping { - margin: auto; - cursor: pointer; - border: none; - padding: 20px 40px; - font-size: 30px; - text-decoration: none; - } - .icon.note { background-color: #333; border-radius: 4px; diff --git a/app/views/site/about.html.erb b/app/views/site/about.html.erb index 3753dcc8d..b4b21a567 100644 --- a/app/views/site/about.html.erb +++ b/app/views/site/about.html.erb @@ -8,14 +8,14 @@
<%= t ".lede_text", :locale => @locale %>
+<%= t ".lede_text", :locale => @locale %>
<%= t ".local_knowledge_html", :locale => @locale %>
<%= t "layouts.intro_text" %>
+<%= t "layouts.intro_text" %>
-<%= t ".how_to_help.join_the_community.explanation_html" %>
- -<%= t "site.welcome.add_a_note.paragraph_1_html" %>
-<%= t ".how_to_help.add_a_note.instructions_html", :map_url => root_path %>
-<%= t ".how_to_help.join_the_community.explanation_html" %>
+ +<%= t "site.welcome.add_a_note.paragraph_1_html" %>
+<%= t ".how_to_help.add_a_note.instructions_html", :map_url => root_path %>
<%= t ".other_concerns.explanation_html" %>
-<%= t "site.welcome.questions.paragraph_1_html", :help_url => help_path %>
diff --git a/app/views/site/welcome.html.erb b/app/views/site/welcome.html.erb index 4617935e7..7c1ee38ab 100644 --- a/app/views/site/welcome.html.erb +++ b/app/views/site/welcome.html.erb @@ -6,66 +6,66 @@<%= t ".introduction_html" %>
+<%= t ".introduction_html" %>
-<%= t ".whats_on_the_map.on_html" %>
<%= t ".whats_on_the_map.off_html" %>
<%= t ".basic_terms.paragraph_1_html" %>
-<%= t ".basic_terms.editor_html" %>
<%= t ".basic_terms.node_html" %>
<%= t ".basic_terms.way_html" %>
<%= t ".basic_terms.tag_html" %>
<%= t ".rules.paragraph_1_html" %>
<%= t ".questions.paragraph_1_html", :help_url => help_path %>
<%= t ".add_a_note.paragraph_1_html" %>
<%= t ".add_a_note.paragraph_2_html", :map_url => root_path %>
<%= t ".filename" %> | +<%= t ".filename" %> | <%= @trace.name %> (<%= link_to t(".download"), trace_data_path(@trace) %>) |
---|---|---|
<%= t ".uploaded" %> | +<%= t ".uploaded" %> | <%= l @trace.timestamp, :format => :friendly %> |
<%= t ".points" %> | +<%= t ".points" %> | <%= number_with_delimiter(@trace.size) %> |
<%= t ".start_coordinates" %> | +<%= t ".start_coordinates" %> |
<%= t ".coordinates_html",
@@ -35,15 +35,15 @@
|
<%= t ".owner" %> | +<%= t ".owner" %> | <%= link_to @trace.user.display_name, user_path(@trace.user) %> |
<%= t ".description" %> | +<%= t ".description" %> | <%= @trace.description %> |
<%= t ".tags" %> | +<%= t ".tags" %> | <% unless @trace.tags.empty? %> <%= safe_join(@trace.tags.collect { |tag| link_to tag.tag, :controller => "traces", :action => "index", :tag => tag.tag, :id => nil }, ", ") %> @@ -53,13 +53,11 @@ |
<%= t ".visibility" %> | +<%= t ".visibility" %> | <%= t "traces.visibility.#{@trace.visibility}" %> |