summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--assets/css/screen.css17
-rw-r--r--assets/img/logo.pngbin3836 -> 15749 bytes
-rw-r--r--mumi/web/view/html.scm4
3 files changed, 18 insertions, 3 deletions
diff --git a/assets/css/screen.css b/assets/css/screen.css
index 6f92864..73dceae 100644
--- a/assets/css/screen.css
+++ b/assets/css/screen.css
@@ -22,6 +22,23 @@ h1 {
color: #333;
}
+.logo:link,
+.logo:visited {
+ background-image: url("../img/logo.png");
+ background-position: bottom;
+ background-repeat: no-repeat;
+ border-style: none;
+ display: inline-block;
+ height: 55px;
+ width: 170px;
+}
+
+.logo:active,
+.logo:focus,
+.logo:hover {
+ background-position: top;
+}
+
.title {
clear: both;
font-size: 16px;
diff --git a/assets/img/logo.png b/assets/img/logo.png
index 0642520..49f39a2 100644
--- a/assets/img/logo.png
+++ b/assets/img/logo.png
Binary files differ
diff --git a/mumi/web/view/html.scm b/mumi/web/view/html.scm
index ad2888c..ee660c6 100644
--- a/mumi/web/view/html.scm
+++ b/mumi/web/view/html.scm
@@ -106,9 +106,7 @@
(div
(@ (class "navbar-header"))
(div (@ (class "navbar-brand"))
- (a (@ (href "/") (class "logo"))
- (img (@ (src "/img/logo.png")
- (alt "Guix patch tracker"))))))
+ (a (@ (href "/") (class "logo")))))
,@(if search-bar?
`(,(search-form))
'()))))