html: Add footer.
authorRicardo Wurmus <rekado@elephly.net>
Tue, 5 Feb 2019 10:19:30 +0000 (11:19 +0100)
committerRicardo Wurmus <rekado@elephly.net>
Tue, 5 Feb 2019 10:19:30 +0000 (11:19 +0100)
* mumi/web/view/html.scm (layout): Add footer.
* assets/css/screen.css (footer): Add new rule.

assets/css/screen.css
mumi/web/view/html.scm

index 2e52ae4b96b75567bbaa8f210afcecdcc85a079a..046b9087a799695549a09d01d04634794e30c775 100644 (file)
@@ -129,6 +129,19 @@ tr.important td:nth-child(1) {
     width: 500px;
 }
 
+footer {
+    border-color: #1A1A1A1A;
+    border-style: dashed none none none;
+    border-width: 2px;
+    width: 100%;
+    align-items: center;
+    text-align: center;
+    margin-top: 3rem;
+    padding: 1rem;
+    color: #586069;
+    background: #fafafa;
+}
+
 table {
     width: 100%;
 }
index 1ba3c907fc07a43e2fa4d5686901119b9d599a0c..be739940193edd9dedeac1a3d70f8b73da56a5c7 100644 (file)
                   (media "screen")
                   (type "text/css")
                   (href "/css/code.css"))))
-             (body ,@body)))
+             (body ,@body
+                   (footer
+                    (p "Copyright © 2016—2019 by the GNU Guix community."
+                       (br)
+                       "Now with even more " (span (@ (class "lambda")) "λ") "! ")
+                    (p "This is free software.  Download the "
+                       (a (@ (href "https://git.elephly.net/projects/mumi.git"))
+                          "source code here") ".")))))
     #:extra-headers ,extra-headers))
 
 (define* (search-form #:key (standalone? #f))