Adapt About page backgrounds to dark mode

This commit is contained in:
Anton Khorev 2024-04-09 02:15:33 +03:00
parent 5dc9fb3dc5
commit 57899f8851
2 changed files with 3 additions and 4 deletions

View file

@ -984,8 +984,6 @@ div.secondary-actions {
}
.site-about #content {
background-color: $lightgrey;
.content-inner {
max-width: 760px;
}

View file

@ -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 %>
<div class="container-lg attr">
@ -11,13 +12,13 @@
</div>
</div>
<div class='row'>
<div class="px-5 py-4 bg-dark">
<div class="px-5 py-4 bg-black bg-opacity-75">
<h1 class="text-white fw-light"><%= t ".used_by_html", :name => tag.span("OpenStreetMap", :class => "user-name") %></h1>
</div>
</div>
</div>
<div class='bg-white px-5 py-4'>
<div class='bg-body px-5 py-4'>
<p class="lead"><%= t ".lede_text" %></p>
<%= render :layout => "about_section", :locals => { :icon => "local", :title => "local_knowledge" } do %>