Link the IPFire logo to ipfire.org
Message ID | 557745DE.2050600@web.de |
---|---|
State | Accepted |
Commit | a2069a37b80a2f3f19ab0170d03a0ec35e9257aa |
Headers |
Return-Path: <development-bounces@lists.ipfire.org> Received: from mail01.ipfire.org (mail01.tremer.info [172.28.1.200]) by septima.ipfire.org (Postfix) with ESMTP id 6469060456 for <patchwork@ipfire.org>; Tue, 9 Jun 2015 22:00:41 +0200 (CEST) Received: from hedwig.ipfire.org (localhost [IPv6:::1]) by mail01.ipfire.org (Postfix) with ESMTP id 4312F23A7; Tue, 9 Jun 2015 22:00:41 +0200 (CEST) Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=212.227.15.3; helo=mout.web.de; envelope-from=larsen007@web.de; receiver=development@lists.ipfire.org Received: from mout.web.de (mout.web.de [212.227.15.3]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPS id 061CF235B for <development@lists.ipfire.org>; Tue, 9 Jun 2015 22:00:34 +0200 (CEST) Received: from [192.168.178.24] ([2.241.52.144]) by smtp.web.de (mrweb001) with ESMTPSA (Nemesis) id 0MOj14-1YwNYl3zDK-0069Ss for <development@lists.ipfire.org>; Tue, 09 Jun 2015 22:00:34 +0200 Message-ID: <557745DE.2050600@web.de> Date: Tue, 09 Jun 2015 22:00:30 +0200 From: Larsen <larsen007@web.de> User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: "development@lists.ipfire.org" <development@lists.ipfire.org> Subject: Re: [PATCH] Link the IPFire logo to ipfire.org Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:JDme9WmPh9sJWER0afU1FwXnI+H6IqI5UqsRCRM4pu6/Xr6hY/s giW6HAKWhY0Uj75AUUEltEA7nwhrgsJHTiOdzHZ75bfIvBsHJQlDmsPeISRExcIJ2yRCTo1 n904JUxWEaZ2h4l8mak7EcRQf1eSw3SUGkNoaNUy94qzjZ8YgdaOG6SJw/8Ak091jgZB7zB MnmbchamC4de2aEPnFEgQ== X-UI-Out-Filterresults: notjunk:1; X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: IPFire development talk <development.lists.ipfire.org> List-Unsubscribe: <http://lists.ipfire.org/mailman/options/development>, <mailto:development-request@lists.ipfire.org?subject=unsubscribe> List-Archive: <http://lists.ipfire.org/pipermail/development/> List-Post: <mailto:development@lists.ipfire.org> List-Help: <mailto:development-request@lists.ipfire.org?subject=help> List-Subscribe: <http://lists.ipfire.org/mailman/listinfo/development>, <mailto:development-request@lists.ipfire.org?subject=subscribe> Errors-To: development-bounces@lists.ipfire.org Sender: "Development" <development-bounces@lists.ipfire.org> |
Message
Lars Schuhmacher
June 10, 2015, 6 a.m. UTC
>> The final HTML code would look something like this: >> >> <div id="logo"> >> <a href="http://www.ipfire.org"> >> <img src="logo.png" ...> >> </a> >> </div> >> >> The CSS properties should be changed that the background image is >> removed and the content is centered. The final result should like the >> same in the end. Now using HTML instead of JavaScript. Had to use "margin-left: -3px; margin-top: -3px" to get it pixel-perfect. Also changed: Not linking the hostname if displayed, only "IPFire". Signed-off-by: Lars Schuhmacher <larsen007@web.de> --- html/html/themes/darkdos/include/functions.pl | 2 +- html/html/themes/ipfire-legacy/include/functions.pl | 2 +- html/html/themes/ipfire/include/css/style.css | 1 - html/html/themes/ipfire/include/functions.pl | 6 ++++-- html/html/themes/maniac/include/functions.pl | 2 +- 5 files changed, 7 insertions(+), 6 deletions(-)