From: Tom Hughes Date: Wed, 19 Sep 2012 11:12:45 +0000 (+0100) Subject: Suppress any border on the logo X-Git-Tag: live~5386 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/ebcb038c1c27695790f81900204d4c8589b2dfbb?hp=1a0728ec7b46efdaf3cf9455f288f08ecd465d2b Suppress any border on the logo --- diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index b1f494b7f..0f7100481 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -64,6 +64,10 @@ h2 { margin: 25px 0 5px 0; } +#logo img { + border: 0px; +} + #logo h1 { font-size: 18px; line-height: 20px; @@ -83,6 +87,10 @@ h2 { display: none; } +#small-title img { + border: 0px; +} + /* Rules for the introductory text displayed in the left sidebar to new users */ .sidebar-copy { diff --git a/app/views/layouts/site.html.erb b/app/views/layouts/site.html.erb index 15eb1d631..064fbed0a 100644 --- a/app/views/layouts/site.html.erb +++ b/app/views/layouts/site.html.erb @@ -3,7 +3,7 @@ <%= render :partial => "layouts/head" %>
- <%= link_to(image_tag("osm_logo.png", :size => "16x16", :border => 0, :alt => t('layouts.logo.alt_text')), root_path) %> + <%= link_to(image_tag("osm_logo.png", :size => "16x16", :alt => t('layouts.logo.alt_text')), root_path) %>

<%= t 'layouts.project_name.h1' %>