summaryrefslogtreecommitdiffstats
path: root/web/html
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2014-12-29 01:03:58 +0100
committerLukas Fleischer <archlinux@cryptocrack.de>2014-12-29 11:30:04 +0100
commit8e06a607c887664ed5fc0f4e5d77d5cc50413e53 (patch)
treedf0539eca38525773e8713af798de83274f500a4 /web/html
parent52432a3fc02e39848f848808524cb9dee055b117 (diff)
downloadaurweb-8e06a607c887664ed5fc0f4e5d77d5cc50413e53.tar.xz
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>
Diffstat (limited to 'web/html')
-rw-r--r--web/html/css/archnavbar/aurlogo.pngbin0 -> 5997 bytes
-rw-r--r--web/html/css/aur.css4
-rw-r--r--web/html/css/cgit.css4
-rw-r--r--web/html/index.php1
4 files changed, 9 insertions, 0 deletions
diff --git a/web/html/css/archnavbar/aurlogo.png b/web/html/css/archnavbar/aurlogo.png
new file mode 100644
index 0000000..69110d8
--- /dev/null
+++ b/web/html/css/archnavbar/aurlogo.png
Binary files differ
diff --git a/web/html/css/aur.css b/web/html/css/aur.css
index 654116a..dfa6717 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 865a004..fde94c8 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 cc6a84c..9c321fa 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":