Skip to content

Front page ad for SOTM 2013 #217

Closed
wants to merge 6 commits into from
View
BIN app/assets/images/sotm-us-ad.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
8 app/assets/stylesheets/common.css.scss
@@ -298,16 +298,20 @@ table {
#sotm {
width: 165px;
- margin: 10px;
- padding: 0px;
+ padding: 10px;
border: 0px;
background: #fff;
+ border-bottom: 1px solid #cccccc;
}
#sotm img {
width: 165px;
}
+#sotm:hover {
+ opacity: .9;
+}
+
/*
* Rules for "optional boxes" which appear in the left sidebar on
* certain pages. Current users are the seach box on the main page
View
5 app/views/layouts/site.html.erb
@@ -70,6 +70,11 @@
</li>
<%= yield :left_menu %>
</ul>
+ <div id="sotm">
+ <%= link_to(image_tag("sotm-us-ad.png",
+ :size => "165x100"),
+ "http://stateofthemap.us/") %>
+ </div>
<a title="<%= h(t('layouts.make_a_donation.title')) %>" href="http://donate.openstreetmap.org/" class="donate">
<span class='donate-icon'></span><p><%= h(t('layouts.make_a_donation.text')) %></p>
</a>
Something went wrong with that request. Please try again.