Add a SOTM advert to the sidebar
This commit is contained in:
parent
f436a5cd2b
commit
3445f447cd
4 changed files with 11 additions and 4 deletions
Binary file not shown.
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 10 KiB |
|
@ -179,14 +179,17 @@ h2 {
|
|||
/* Rules for SOTM advert */
|
||||
|
||||
#sotm {
|
||||
width: 180px;
|
||||
min-width: 180px;
|
||||
margin: 5px;
|
||||
width: 165px;
|
||||
margin: 10px;
|
||||
padding: 0px;
|
||||
border: 0px;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
#sotm img {
|
||||
width: 165px;
|
||||
}
|
||||
|
||||
/*
|
||||
* Rules for "optional boxes" which appear in the left sidebar on
|
||||
* certain pages. Current users are the seach box on the main page
|
||||
|
|
|
@ -126,6 +126,10 @@
|
|||
</ul>
|
||||
</div>
|
||||
|
||||
<div id="sotm">
|
||||
<%= link_to image_tag("sotm.png", :alt => t('layouts.sotm2012'), :title => t('layouts.sotm2012'), :border => "0"), "http://stateofthemap.org/register-now/" %>
|
||||
</div>
|
||||
|
||||
<div class="donate">
|
||||
<a href="http://donate.openstreetmap.org/" title="<%= h(t('layouts.make_a_donation.title')) %>"><%= h(t('layouts.make_a_donation.text')) %></a>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue