From: Anton Khorev Date: Mon, 8 Apr 2024 23:15:33 +0000 (+0300) Subject: Adapt About page backgrounds to dark mode X-Git-Tag: live~593^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/57899f8851e56fc8deb1d70d97611554922a989d Adapt About page backgrounds to dark mode --- diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index eac3f7417..f88e75f2e 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -984,8 +984,6 @@ div.secondary-actions { } .site-about #content { - background-color: $lightgrey; - .content-inner { max-width: 760px; } diff --git a/app/views/site/about.html.erb b/app/views/site/about.html.erb index 619094e56..7dbed1514 100644 --- a/app/views/site/about.html.erb +++ b/app/views/site/about.html.erb @@ -1,3 +1,4 @@ +<% content_for(:content_class) { "bg-body-secondary" } %> <% I18n.with_locale @locale do %> <%= tag.div :lang => @locale, :dir => t("html.dir") do %>
@@ -11,13 +12,13 @@
-
+

<%= t ".used_by_html", :name => tag.span("OpenStreetMap", :class => "user-name") %>

-
+

<%= t ".lede_text" %>

<%= render :layout => "about_section", :locals => { :icon => "local", :title => "local_knowledge" } do %>