Use a custom logo

Currently, the AUR sites are hard to distinguish from the official
website, especially when browsing Git repositories in cgit. Add "user
repository" to the logo to make it distinguishable from the official
site.

In order to avoid confusion, also change the link in the logo to the AUR
home page instead of the main Arch Linux website.

Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
Lukas Fleischer 2014-12-29 01:03:58 +01:00
parent 52432a3fc0
commit 8e06a607c8
6 changed files with 11 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

View file

@ -3,6 +3,10 @@
color: white !important; color: white !important;
} }
#archnavbarlogo {
background: url('archnavbar/aurlogo.png') !important;
}
#lang_sub { #lang_sub {
float: right; float: right;
} }

View file

@ -28,6 +28,10 @@
color: white !important; color: white !important;
} }
#archnavbarlogo {
background: url('archnavbar/aurlogo.png') !important;
}
body { body {
padding: 0; padding: 0;
margin: 0; margin: 0;

View file

@ -152,6 +152,7 @@ if (!empty($tokens[1]) && '/' . $tokens[1] == get_pkg_route()) {
readfile("./$path"); readfile("./$path");
break; break;
case "/css/archnavbar/archlogo.png": case "/css/archnavbar/archlogo.png":
case "/css/archnavbar/aurlogo.png":
case "/images/AUR-logo-80.png": case "/images/AUR-logo-80.png":
case "/images/AUR-logo.png": case "/images/AUR-logo.png":
case "/images/favicon.ico": case "/images/favicon.ico":

View file

@ -1,5 +1,5 @@
<div id="archnavbar" class="anb-aur"> <div id="archnavbar" class="anb-aur">
<div id="archnavbarlogo"><h1><a href="https://www.archlinux.org/" title="Return to the main page">Arch Linux</a></h1></div> <div id="archnavbarlogo"><h1><a href="/" title="Return to the main page">Arch Linux User Repository</a></h1></div>
<div id="archnavbarmenu"> <div id="archnavbarmenu">
<ul id="archnavbarlist"> <ul id="archnavbarlist">
<li id="anb-home"><a href="https://www.archlinux.org/" title="Arch news, packages, projects and more">Home</a></li> <li id="anb-home"><a href="https://www.archlinux.org/" title="Arch news, packages, projects and more">Home</a></li>

View file

@ -16,7 +16,7 @@
</head> </head>
<body> <body>
<div id="archnavbar" class="anb-aur"> <div id="archnavbar" class="anb-aur">
<div id="archnavbarlogo"><h1><a href="https://www.archlinux.org/" title="Return to the main page">Arch Linux</a></h1></div> <div id="archnavbarlogo"><h1><a href="/" title="Return to the main page">Arch Linux User Repository</a></h1></div>
<div id="archnavbarmenu"> <div id="archnavbarmenu">
<ul id="archnavbarlist"> <ul id="archnavbarlist">
<li id="anb-home"><a href="https://www.archlinux.org/" title="Arch news, packages, projects and more">Home</a></li> <li id="anb-home"><a href="https://www.archlinux.org/" title="Arch news, packages, projects and more">Home</a></li>