From 8e06a607c887664ed5fc0f4e5d77d5cc50413e53 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Mon, 29 Dec 2014 01:03:58 +0100 Subject: 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 --- web/html/css/archnavbar/aurlogo.png | Bin 0 -> 5997 bytes web/html/css/aur.css | 4 ++++ web/html/css/cgit.css | 4 ++++ web/html/index.php | 1 + web/template/cgit/header.html | 2 +- web/template/header.php | 2 +- 6 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 web/html/css/archnavbar/aurlogo.png (limited to 'web') diff --git a/web/html/css/archnavbar/aurlogo.png b/web/html/css/archnavbar/aurlogo.png new file mode 100644 index 00000000..69110d8e Binary files /dev/null and b/web/html/css/archnavbar/aurlogo.png differ diff --git a/web/html/css/aur.css b/web/html/css/aur.css index 654116a3..dfa6717e 100644 --- a/web/html/css/aur.css +++ b/web/html/css/aur.css @@ -3,6 +3,10 @@ color: white !important; } +#archnavbarlogo { + background: url('archnavbar/aurlogo.png') !important; +} + #lang_sub { float: right; } diff --git a/web/html/css/cgit.css b/web/html/css/cgit.css index 865a0046..fde94c8d 100644 --- a/web/html/css/cgit.css +++ b/web/html/css/cgit.css @@ -28,6 +28,10 @@ color: white !important; } +#archnavbarlogo { + background: url('archnavbar/aurlogo.png') !important; +} + body { padding: 0; margin: 0; diff --git a/web/html/index.php b/web/html/index.php index cc6a84cf..9c321fa4 100644 --- a/web/html/index.php +++ b/web/html/index.php @@ -152,6 +152,7 @@ if (!empty($tokens[1]) && '/' . $tokens[1] == get_pkg_route()) { readfile("./$path"); break; case "/css/archnavbar/archlogo.png": + case "/css/archnavbar/aurlogo.png": case "/images/AUR-logo-80.png": case "/images/AUR-logo.png": case "/images/favicon.ico": diff --git a/web/template/cgit/header.html b/web/template/cgit/header.html index 0605ac26..0217f2fd 100644 --- a/web/template/cgit/header.html +++ b/web/template/cgit/header.html @@ -1,5 +1,5 @@
- +
  • Home
  • diff --git a/web/template/header.php b/web/template/header.php index a4958f5f..8a1494c1 100644 --- a/web/template/header.php +++ b/web/template/header.php @@ -16,7 +16,7 @@
    - +
    • Home
    • -- cgit v1.2.3-24-g4f1b