Content style adjustments

This commit is contained in:
John Firebaugh 2013-10-02 13:32:17 -07:00
parent 5493723237
commit af227e5aeb
4 changed files with 71 additions and 94 deletions

View file

@ -5,11 +5,15 @@
<%= render :partial => "layouts/flash", :locals => { :flash => flash } %>
<% if content_for? :heading %>
<div class="content-heading">
<%= yield :heading %>
<div class="content-inner">
<%= yield :heading %>
</div>
</div>
<% end %>
<div class="content-body">
<%= yield %>
<div class="content-inner">
<%= yield %>
</div>
</div>
<% end %>
</div>

View file

@ -2,35 +2,33 @@
<%= javascript_include_tag "about" %>
<% end %>
<div id='content-body'>
<div class='attr'>
<div class='byosm'>
<%= t "about_page.copyright_html" %>
</div>
<div class='user-image'></div>
<strong>
<%= raw t "about_page.used_by", :name => "<span class='user-name'>OpenStreetMap</span>" %>
</strong>
<div class='attr'>
<div class='byosm'>
<%= t "about_page.copyright_html" %>
</div>
<div class='text'>
<div class='section'>
<p><strong><%= t "about_page.lede_text" %></strong></p>
<h2><div class='icon local'></div><%= t "about_page.local_knowledge_title" %></h2>
<p><%= t "about_page.local_knowledge_html" %></p>
</div>
<div class='user-image'></div>
<div class='section'>
<h2><div class='icon community'></div><%= t "about_page.community_driven_title" %></h2>
<p><%= t "about_page.community_driven_html", :diary_path => diary_path %></p>
</div>
<strong>
<%= raw t "about_page.used_by", :name => "<span class='user-name'>OpenStreetMap</span>" %>
</strong>
</div>
<div class='section' id='open-data'>
<h2><div class='icon open'></div><%= t "about_page.open_data_title" %></h2>
<p><%= t "about_page.open_data_html", :copyright_path => copyright_path %></p>
</div>
<div class='text'>
<div class='section'>
<p><strong><%= t "about_page.lede_text" %></strong></p>
<h2><div class='icon local'></div><%= t "about_page.local_knowledge_title" %></h2>
<p><%= t "about_page.local_knowledge_html" %></p>
</div>
<div class='section'>
<h2><div class='icon community'></div><%= t "about_page.community_driven_title" %></h2>
<p><%= t "about_page.community_driven_html", :diary_path => diary_path %></p>
</div>
<div class='section' id='open-data'>
<h2><div class='icon open'></div><%= t "about_page.open_data_title" %></h2>
<p><%= t "about_page.open_data_html", :copyright_path => copyright_path %></p>
</div>
</div>