Use the Guix logo instead of GuixSD.
authorRicardo Wurmus <rekado@elephly.net>
Mon, 28 Jan 2019 12:16:38 +0000 (13:16 +0100)
committerRicardo Wurmus <rekado@elephly.net>
Mon, 28 Jan 2019 12:16:38 +0000 (13:16 +0100)
* assets/css/screen.css (.logo): New rules.
* assets/img/logo.png: Replace file.
* mumi/web/view/html.scm (header): Remove IMG tag.

assets/css/screen.css
assets/img/logo.png
mumi/web/view/html.scm

index 6f92864628427388a45ee04a1a78bd055f904406..73dceae538d8497e86cea6625601d605740e1d2e 100644 (file)
@@ -22,6 +22,23 @@ h1 {
     color: #333;
 }
 
     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;
 .title {
     clear: both;
     font-size: 16px;
index 06425203d8b4912f50c7770ed42b30b776405b7a..49f39a2adb249e56106ec877ff42e62a5aea2ee4 100644 (file)
Binary files a/assets/img/logo.png and b/assets/img/logo.png differ
index ad2888c651c96dfa4f1ef33106098a4f2df3d1ae..ee660c61fffc172f82965e60281012604b3584a9 100644 (file)
      (div
       (@ (class "navbar-header"))
       (div (@ (class "navbar-brand"))
      (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))
            '()))))
      ,@(if search-bar?
            `(,(search-form))
            '()))))