From ef07279434cb3899956bab87b5c34d801f140174 Mon Sep 17 00:00:00 2001 From: echarp Date: Thu, 26 Jun 2014 01:13:39 +0200 Subject: [PATCH] Petites corrections sur les images de soutien april ou logo baby gnu --- app/assets/stylesheets/all.css.sass | 6 +++++- app/views/layouts/application.html.haml | 11 ++++++----- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/app/assets/stylesheets/all.css.sass b/app/assets/stylesheets/all.css.sass index cfc169d3..76917d4f 100644 --- a/app/assets/stylesheets/all.css.sass +++ b/app/assets/stylesheets/all.css.sass @@ -25,7 +25,7 @@ body margin: 5px 5px 0 padding: 10px text-align: center - background: url("baby_gnu_adl.png") no-repeat scroll 30px 10px #FFFFFF + background: white border-bottom: 0px a:link, a:visited @@ -40,6 +40,10 @@ a:hover, a:active, a:focus header.top position: relative + img.logo + top: -10px + left: 20px + position: absolute h1 margin: 10px 5px 5px padding: 0 diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index b3245053..4263b153 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -18,8 +18,8 @@ %link(rel='shortcut icon' href='/favicon.ico') = auto_discovery_link_tag :atom, { format: :atom } - = stylesheet_link_tag 'application', media: "all", "data-turbolinks-track" => true - = javascript_include_tag 'application', "data-turbolinks-track" => true + = stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true + = javascript_include_tag 'application', 'data-turbolinks-track' => true /[if lt IE 9] %script(src='http://html5shiv.googlecode.com/svn/trunk/html5.js') = csrf_meta_tags @@ -32,12 +32,13 @@ = render 'layouts/flash', flash: flash if flash.present? %header.top + = image_tag 'baby_gnu_adl.png', alt: 'baby gnu logo', class: :logo %h1= link_to t('.title'), root_url %h2=t '.subtitle' - %a#banner(href="http://april.org/campagne") - %img(src="http://april.org/campagne/images/priorite-logiciel-libre-je-soutiens-april.png" - width="580" height="76" alt="Priorité au Logiciel Libre! Je soutiens l'April.") + %a#banner(href='http://april.org/campagne') + %img(src='http://www.april.org/campagne/images/priorite-logiciel-libre-je-soutiens-april.png' + width='580' height='76' alt='Priorité au Logiciel Libre! Je soutiens l\'April.') %ul.countries %li